Skip to content

Commit ec5e623

Browse files
committed
minor changes.
1 parent 600cb89 commit ec5e623

File tree

5 files changed

+75
-42
lines changed

5 files changed

+75
-42
lines changed

ProgramTesterUser.jar

0 Bytes
Binary file not shown.

config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ local_logger_dir :- resources\temp\log\
55
network_logger_ip :- 127.0.0.1
66
network_logger_port :- 8686
77
#parallel_execution :- false
8-
parallel_thread :- 2
8+
parallel_thread :- 4

gmon.out

0 Bytes
Binary file not shown.

resources/SampleRun.txt

Lines changed: 73 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,67 @@ run:
22
Working Directory = C:\My folder\Fun\Data\Program Tester
33
Data Directory = C:\My folder\Fun\Data\Program Tester\resources\Data
44
Program Directory = C:\My folder\Fun\Data\Program Tester\resources\ProbDef
5+
56
Menu..
67
1.Test
78
2.Display
89
0.Exit
910

10-
2
11-
index ProblemId State Title
11+
1
12+
Enter Program ID..
13+
170215054616
14+
Enter command
15+
resources\prop.exe
16+
test case code message time
17+
test 2 :- 0, Executing
18+
test 6 :- 0, Executing
19+
test 3 :- 0, Executing
20+
test 2 :- 1, Presentation Error, 126
21+
test 1 :- 0, Executing
22+
test 1 :- 1, Presentation Error, 148
23+
test 4 :- 0, Executing
24+
test 3 :- 1, Presentation Error, 295
25+
test 8 :- 0, Executing
26+
test 6 :- 1, Presentation Error, 746
27+
test 5 :- 0, Executing
28+
test 4 :- 1, Presentation Error, 643
29+
test 7 :- 0, Executing
30+
test 8 :- 1, Presentation Error, 482
31+
test 5 :- 1, Presentation Error, 813
32+
test 7 :- 1, Presentation Error, 731
33+
34+
Menu..
35+
1.Test
36+
2.Display
37+
0.Exit
1238

13-
0 170215054539 0 Write a program to add the entered numbers but repeated numbers should be ignored.
14-
1 170215054616 0 Write a program to sort the entered numbers in proper order.
15-
2 170215054628 0 Write a program to check whether the entered strings are palindrome or not.
16-
3 170215054640 0 Write a program to check whether the entered numbers are palindrome or not.
17-
4 170215054654 0 Write a program to check whether the entered e-mail addresses are valid or not.
18-
5 170215054711 0 Write a program to check whether the entered numbers are armstrong or not.
39+
#PID :- 170215054616
40+
#Title :- Write a program to sort the entered numbers in proper order.
41+
#State :- 1
1942

20-
enter index :-
21-
2
22-
Program Id : 170215054628
23-
Title : Write a program to check whether the entered strings are palindrome or not.
24-
Description : [Palindrome strings are the ones that are read same if reversed (By example, rar is rar if reversed)., make a program to determine that the string is palindrome or not.]
25-
Input : First line showing the number of inputs as N. Following N lines containing test strings.length of each test string is ranging from 1 to 60.
26-
Output : for every test string print 'true' if it is palindrome or 'false' if is not palindrome.
27-
Sample Input : [5, werew, rush, lol, pqksl, q]
28-
Sample Output : [true, false, true, false, true]
29-
Credit : 5
43+
1
44+
Enter Program ID..
45+
170215054616
46+
Enter command
47+
resources\prop.exe
48+
test case code message time
49+
test 2 :- 0, Executing
50+
test 6 :- 0, Executing
51+
test 3 :- 0, Executing
52+
test 2 :- 1, Presentation Error, 90
53+
test 1 :- 0, Executing
54+
test 1 :- 1, Presentation Error, 107
55+
test 8 :- 0, Executing
56+
test 3 :- 1, Presentation Error, 749
57+
test 4 :- 0, Executing
58+
test 6 :- 1, Presentation Error, 799
59+
test 5 :- 0, Executing
60+
test 8 :- 1, Presentation Error, 739
61+
test 7 :- 0, Executing
62+
test 4 :- 1, Presentation Error, 216
63+
test 5 :- 1, Presentation Error, 405
64+
test 7 :- 1, Presentation Error, 748
3065

31-
enter index :-
32-
-1
3366
Menu..
3467
1.Test
3568
2.Display
@@ -39,31 +72,31 @@ Menu..
3972
Enter Program ID..
4073
170215054616
4174
Enter command
42-
resources\prop.exe
43-
test case code message time
44-
test 1 :- 1, Perfect, 39
45-
test 2 :- 0, Executing
46-
test 2 :- 1, Perfect, 59
47-
test 3 :- 0, Executing
48-
test 3 :- 1, Perfect, 151
49-
test 4 :- 0, Executing
50-
test 4 :- 1, Perfect, 176
51-
test 5 :- 0, Executing
52-
test 5 :- 1, Perfect, 232
53-
test 6 :- 0, Executing
54-
test 6 :- 1, Perfect, 316
55-
test 7 :- 0, Executing
56-
test 7 :- 1, Perfect, 329
57-
test 8 :- 0, Executing
58-
test 8 :- 1, Perfect, 320
75+
resources\pro.exe
76+
test case code message time
77+
test 3 :- 0, Executing
78+
test 8 :- 0, Executing
79+
test 6 :- 0, Executing
80+
test 3 :- 2, Pass, 173
81+
test 4 :- 0, Executing
82+
test 6 :- 2, Pass, 250
83+
test 5 :- 0, Executing
84+
test 8 :- 2, Pass, 338
85+
test 7 :- 0, Executing
86+
test 4 :- 2, Pass, 727
87+
test 2 :- 0, Executing
88+
test 5 :- 2, Pass, 315
89+
test 1 :- 0, Executing
90+
test 7 :- 2, Pass, 450
91+
test 1 :- 2, Pass, 344
92+
test 2 :- 2, Pass, 621
93+
5994
Menu..
6095
1.Test
6196
2.Display
6297
0.Exit
6398

6499
#PID :- 170215054616
65100
#Title :- Write a program to sort the entered numbers in proper order.
66-
#State :- 1
101+
#State :- 2
67102

68-
0
69-
BUILD SUCCESSFUL (total time: 33 seconds)

src/lib/userModule/test/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class Test {
3131
//static Part
3232
public static final int TEST_PASS=2,TEST_PRESENT_ERROR=1,TEST_FAIL=-2,
3333
TEST_TIME_ERROR=-1,TEST_FILE_ERROR=-3;
34-
public static long minMem=20000000;
34+
public static long minMem=1000000;
3535
/*
3636
* defDir is default path veriable which is used by construtor if no path
3737
provided explicitly.

0 commit comments

Comments
 (0)