38
38
import org .reflections .scanners .ResourcesScanner ;
39
39
40
40
@ RunWith (Parameterized .class )
41
- public class IntegrationTest {
41
+ public class TestSuiteTest {
42
42
43
43
private static Server server ;
44
44
@@ -57,7 +57,7 @@ public static List<Object[]> params() {
57
57
continue ;
58
58
}
59
59
String fileName = path .substring (path .lastIndexOf ('/' ) + 1 );
60
- JSONArray arr = loadTests (IntegrationTest .class .getResourceAsStream ("/" + path ));
60
+ JSONArray arr = loadTests (TestSuiteTest .class .getResourceAsStream ("/" + path ));
61
61
for (int i = 0 ; i < arr .length (); ++i ) {
62
62
JSONObject schemaTest = arr .getJSONObject (i );
63
63
JSONArray testcaseInputs = schemaTest .getJSONArray ("tests" );
@@ -81,7 +81,7 @@ public static void startJetty() throws Exception {
81
81
server = new Server (1234 );
82
82
ServletHandler handler = new ServletHandler ();
83
83
server .setHandler (handler );
84
- handler .addServletWithMapping (TestServlet .class , "/*" );
84
+ handler .addServletWithMapping (TestSuiteTestServlet .class , "/*" );
85
85
server .start ();
86
86
}
87
87
@@ -102,7 +102,7 @@ public static void stopJetty() throws Exception {
102
102
103
103
private final boolean expectedToBeValid ;
104
104
105
- public IntegrationTest (final String schemaDescription , final JSONObject schemaJson ,
105
+ public TestSuiteTest (final String schemaDescription , final JSONObject schemaJson ,
106
106
final String inputDescription ,
107
107
final Object input , final Boolean expectedToBeValid ) {
108
108
this .schemaDescription = schemaDescription ;
0 commit comments