Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 050c474

Browse files
Update README.md
1 parent 920499c commit 050c474

File tree

1 file changed

+54
-1
lines changed

1 file changed

+54
-1
lines changed

‎rmi-client-server/README.md‎

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,57 @@ Discussion: This simply demonstrates that the server runs properly. All testing
5252
side documentation.
5353

5454
Client 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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /