Skip to content

Commit

Permalink
minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeelPatel21 committed Feb 19, 2017
1 parent 600cb89 commit ec5e623
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 42 deletions.
Binary file modified ProgramTesterUser.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ local_logger_dir :- resources\temp\log\
network_logger_ip :- 127.0.0.1
network_logger_port :- 8686
#parallel_execution :- false
parallel_thread :- 2
parallel_thread :- 4
Binary file modified gmon.out
Binary file not shown.
113 changes: 73 additions & 40 deletions resources/SampleRun.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,67 @@ run:
Working Directory = C:\My folder\Fun\Data\Program Tester
Data Directory = C:\My folder\Fun\Data\Program Tester\resources\Data
Program Directory = C:\My folder\Fun\Data\Program Tester\resources\ProbDef

Menu..
1.Test
2.Display
0.Exit

2
index ProblemId State Title
1
Enter Program ID..
170215054616
Enter command
resources\prop.exe
test case code message time
test 2 :- 0, Executing
test 6 :- 0, Executing
test 3 :- 0, Executing
test 2 :- 1, Presentation Error, 126
test 1 :- 0, Executing
test 1 :- 1, Presentation Error, 148
test 4 :- 0, Executing
test 3 :- 1, Presentation Error, 295
test 8 :- 0, Executing
test 6 :- 1, Presentation Error, 746
test 5 :- 0, Executing
test 4 :- 1, Presentation Error, 643
test 7 :- 0, Executing
test 8 :- 1, Presentation Error, 482
test 5 :- 1, Presentation Error, 813
test 7 :- 1, Presentation Error, 731

Menu..
1.Test
2.Display
0.Exit

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

enter index :-
2
Program Id : 170215054628
Title : Write a program to check whether the entered strings are palindrome or not.
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.]
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.
Output : for every test string print 'true' if it is palindrome or 'false' if is not palindrome.
Sample Input : [5, werew, rush, lol, pqksl, q]
Sample Output : [true, false, true, false, true]
Credit : 5
1
Enter Program ID..
170215054616
Enter command
resources\prop.exe
test case code message time
test 2 :- 0, Executing
test 6 :- 0, Executing
test 3 :- 0, Executing
test 2 :- 1, Presentation Error, 90
test 1 :- 0, Executing
test 1 :- 1, Presentation Error, 107
test 8 :- 0, Executing
test 3 :- 1, Presentation Error, 749
test 4 :- 0, Executing
test 6 :- 1, Presentation Error, 799
test 5 :- 0, Executing
test 8 :- 1, Presentation Error, 739
test 7 :- 0, Executing
test 4 :- 1, Presentation Error, 216
test 5 :- 1, Presentation Error, 405
test 7 :- 1, Presentation Error, 748

enter index :-
-1
Menu..
1.Test
2.Display
Expand All @@ -39,31 +72,31 @@ Menu..
Enter Program ID..
170215054616
Enter command
resources\prop.exe
test case code message time
test 1 :- 1, Perfect, 39
test 2 :- 0, Executing
test 2 :- 1, Perfect, 59
test 3 :- 0, Executing
test 3 :- 1, Perfect, 151
test 4 :- 0, Executing
test 4 :- 1, Perfect, 176
test 5 :- 0, Executing
test 5 :- 1, Perfect, 232
test 6 :- 0, Executing
test 6 :- 1, Perfect, 316
test 7 :- 0, Executing
test 7 :- 1, Perfect, 329
test 8 :- 0, Executing
test 8 :- 1, Perfect, 320
resources\pro.exe
test case code message time
test 3 :- 0, Executing
test 8 :- 0, Executing
test 6 :- 0, Executing
test 3 :- 2, Pass, 173
test 4 :- 0, Executing
test 6 :- 2, Pass, 250
test 5 :- 0, Executing
test 8 :- 2, Pass, 338
test 7 :- 0, Executing
test 4 :- 2, Pass, 727
test 2 :- 0, Executing
test 5 :- 2, Pass, 315
test 1 :- 0, Executing
test 7 :- 2, Pass, 450
test 1 :- 2, Pass, 344
test 2 :- 2, Pass, 621

Menu..
1.Test
2.Display
0.Exit

#PID :- 170215054616
#Title :- Write a program to sort the entered numbers in proper order.
#State :- 1
#State :- 2

0
BUILD SUCCESSFUL (total time: 33 seconds)
2 changes: 1 addition & 1 deletion src/lib/userModule/test/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Test {
//static Part
public static final int TEST_PASS=2,TEST_PRESENT_ERROR=1,TEST_FAIL=-2,
TEST_TIME_ERROR=-1,TEST_FILE_ERROR=-3;
public static long minMem=20000000;
public static long minMem=1000000;
/*
* defDir is default path veriable which is used by construtor if no path
provided explicitly.
Expand Down

0 comments on commit ec5e623

Please sign in to comment.