|
@@ -23,7 +23,7 @@ import test.servlet.user.post.TestUpdateUser;
|
23
|
23
|
|
24
|
24
|
/**This is the started from tests*/
|
25
|
25
|
public class Start {
|
26
|
|
-
|
|
26
|
+
|
27
|
27
|
private static List<ServletTest> generateList()
|
28
|
28
|
{
|
29
|
29
|
List<ServletTest> tests = new ArrayList<ServletTest>();
|
|
@@ -34,11 +34,11 @@ public class Start {
|
34
|
34
|
tests.add(new TestGetCategories());
|
35
|
35
|
tests.add(new TestSearch());
|
36
|
36
|
|
37
|
|
-
|
38
|
37
|
tests.add(new TestCreateCategory());
|
39
|
38
|
tests.add(new TestSetCategory());
|
40
|
39
|
tests.add(new TestDeleteCategory());
|
41
|
40
|
tests.add(new TestDeleteItem());
|
|
41
|
+ tests.add(new TestCreateItem());
|
42
|
42
|
tests.add(new TestUpdateCategory());
|
43
|
43
|
tests.add(new TestUpdateItem());
|
44
|
44
|
|
|
@@ -46,17 +46,16 @@ public class Start {
|
46
|
46
|
tests.add(new TestCreateUser());
|
47
|
47
|
tests.add(new TestLogin());
|
48
|
48
|
tests.add(new TestUpdateUser());
|
49
|
|
- tests.add(new TestCreateItem());
|
|
49
|
+
|
50
|
50
|
|
51
|
51
|
|
52
|
52
|
return tests;
|
53
|
53
|
}
|
54
|
54
|
|
55
|
55
|
|
|
56
|
+
|
56
|
57
|
public static void main (String [] args){
|
57
|
58
|
|
58
|
|
-
|
59
|
|
-
|
60
|
59
|
List<ServletTest> tests = generateList();
|
61
|
60
|
|
62
|
61
|
for(ServletTest test : tests)
|
|
@@ -68,19 +67,14 @@ public class Start {
|
68
|
67
|
{
|
69
|
68
|
System.out.println(test);
|
70
|
69
|
}
|
71
|
|
-
|
72
|
|
-
|
|
70
|
+
|
73
|
71
|
for(ServletTest test:tests)
|
74
|
72
|
{
|
75
|
73
|
System.out.println(test.getUrl());
|
76
|
74
|
}
|
77
|
75
|
|
78
|
76
|
|
79
|
|
-
|
80
|
|
-
|
81
|
77
|
}
|
82
|
78
|
|
83
|
79
|
|
84
|
|
-
|
85
|
|
-
|
86
|
80
|
}
|