-
Notifications
You must be signed in to change notification settings - Fork 28
/
JCuteGuiExecLog2.java
128 lines (108 loc) · 3.57 KB
/
JCuteGuiExecLog2.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
class JCuteGuiExecLog2 {
private static void addResults(cute.gui.JCuteTextUI tui,int sz){
for(int i=0;i<sz-1;i++){
tui.addExitValue(new Integer(0));
}
tui.addExitValue(new Integer(2));
}
private static void addResults2(cute.gui.JCuteTextUI tui,int sz){
for(int i=0;i<sz;i++){
tui.addExitValue(new Integer(0));
}
}
public static void main(String args[]){
cute.gui.JCuteTextUI tui = new cute.gui.JCuteTextUI(false);
tui.updateSoftCompleted();
tui.setSrcDirName(System.getProperty("user.dir")+"/src");
tui.setSrcFileName(System.getProperty("user.dir")+"/src/tests/Regression.java");
tui.setCompilableExt();
tui.setOptionExtraOptions("");
tui.setOptionSequential(true);
tui.setOptionPrintOutput(true);
tui.setOptionGenerateJUnit(false);
tui.setOptionLogPath(false);
tui.setOptionLogTraceAndInput(false);
tui.setOptionLogLevel(2);
tui.setOptionNumberOfPaths(10000);
tui.setOptionDepthForDFS(0);
tui.setOptionQuickSearchThreshold(100);
tui.setOptionSearchStrategy(0);
tui.setOptionJUnitOutputFolderName(".");
tui.setOptionJUnitPkgName("");
tui.updateSoftCompleted();
tui.setMainClassNamePlusFun("tests.Regression.test1");
tui.compileAction();
tui.deleteAction();
addResults2(tui,5);
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test2");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test3");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test4");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test5");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test6");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test7");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test8");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test9");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test10");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test11");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test12");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test13");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test14");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test15");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test16");
addResults(tui,2);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test17");
addResults(tui,3);
tui.deleteAction();
tui.continueAction("");
tui.setMainClassNamePlusFun("tests.Regression.test18");
addResults(tui,6);
tui.deleteAction();
tui.continueAction("");
tui.quitAction();
}
}