@@ -52,4 +52,57 @@ Discussion: This simply demonstrates that the server runs properly. All testing
5252 side documentation.
5353
5454Client Test Plan
55- -
55+ - Normal Case 1:
56+ ***Server must be running before client starts***
57+ ***all necessary jars and classes must be in network accessible folder***
58+ Runs program as constituted, without any alterations.
59+ Should display output as required in program specification.
60+ Server command prompt: java -cp c:users\dan\mingw\comp_348\assignment3;c:\app\Dan
61+ \product12円.1.0\dbhome_1\rda\da\public_html\classes\ -Djava.rmi.server.codebase=f
62+ ile:/c:/app/Dan/product/12.1.0/dbhome_1/rda/da/public_html/classes/ -Djava.securi
63+ ty.policy=client.policy LargestPrimeNumberRMIClient DanSamsung 5789
64+ > 5783
65+ **Output correct**
66+ 67+ Normal Case 2:
68+ *** Server must be running before client starts***
69+ *** all necessary jars and classes must be in network accessible folder***
70+ Runs program as constituted, without any alterations.
71+ Should display output as required in program specification.
72+ Server command prompt: java -cp c: users \dan\mingw\comp_348\assignment3;c:\app\Dan
73+ \product12円.1.0\dbhome_1\rda\da\public_html\classes\ -Djava.rmi.server.codebase=f
74+ ile:/c:/app/Dan/product/12.1.0/dbhome_1/rda/da/public_html/classes/ -Djava.securi
75+ ty.policy=client.policy LargestPrimeNumberRMIClient DanSamsung 487
76+ > 479
77+ ** Output correct**
78+ 79+ Normal Case 3:
80+ *** Server must be running before client starts***
81+ *** all necessary jars and classes must be in network accessible folder***
82+ Runs program as constituted, without any alterations.
83+ Should display output as required in program specification.
84+ Server command prompt: java -cp c: users \dan\mingw\comp_348\assignment3;c:\app\Dan
85+ \product12円.1.0\dbhome_1\rda\da\public_html\classes\ -Djava.rmi.server.codebase=f
86+ ile:/c:/app/Dan/product/12.1.0/dbhome_1/rda/da/public_html/classes/ -Djava.securi
87+ ty.policy=client.policy LargestPrimeNumberRMIClient DanSamsung 9999
88+ > 9973
89+ ** Output correct**
90+ 91+ Exception Case 1:
92+ *** Server must be running before client starts***
93+ *** all necessary jars and classes must be in network accessible folder***
94+ Runs program as constituted, without any alterations.
95+ Should display output as required in program specification.
96+ Server command prompt: java -cp c: users \dan\mingw\comp_348\assignment3;c:\app\Dan
97+ \product12円.1.0\dbhome_1\rda\da\public_html\classes\ -Djava.rmi.server.codebase=f
98+ ile:/c:/app/Dan/product/12.1.0/dbhome_1/rda/da/public_html/classes/ -Djava.securi
99+ ty.policy=client.policy LargestPrimeNumberRMIClient DanSamsung -56
100+ > 0
101+ ** Output correct**
102+ 103+ The first three test cases demonstrate that the program is working correctly by
104+ displaying the correct result given the specified range.
105+ The results displayed were tested against manual inspection performed outside the
106+ program on the ranges. All manual inspections matched up with the program results.
107+ The fourth case shows the result when a negative number is provided.
108+ ***Argument provided at command line must be a valid number, no strings***
0 commit comments