@@ -43,8 +43,8 @@ public class AutobahnServerResults {
4343
4444 @ BeforeClass
4545 public static void getJSONObject () throws FileNotFoundException {
46- File file = new File ( "reports/servers/index.json" );
47- // File file = new File( "C:\\Python27\\Scripts\\reports\\servers\\index.json" );
46+ // File file = new File( "reports/servers/index.json" );
47+ File file = new File ( "C:\\ Python27\\ Scripts\\ reports\\ servers\\ index.json" );
4848 if ( file .exists () ) {
4949 String content = new Scanner ( file ).useDelimiter ( "\\ Z" ).next ();
5050 jsonObject = new JSONObject ( content );
@@ -146,7 +146,7 @@ public void test1_2_4() {
146146 JSONObject testResult = jsonObject .getJSONObject ( "1.2.4" );
147147 assertEquals ( "OK" , testResult .get ( "behavior" ) );
148148 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
149- assertTrue ( testResult .getInt ( "duration" ) < 10 );
149+ assertTrue ( testResult .getInt ( "duration" ) < 20 );
150150 }
151151
152152 @ Test
@@ -359,7 +359,7 @@ public void test4_1_4() {
359359 @ Test
360360 public void test4_1_5 () {
361361 JSONObject testResult = jsonObject .getJSONObject ( "4.1.5" );
362- assertEquals ( "NON-STRICT " , testResult .get ( "behavior" ) );
362+ assertEquals ( "OK " , testResult .get ( "behavior" ) );
363363 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
364364 assertTrue ( testResult .getInt ( "duration" ) < 10 );
365365 }
@@ -1769,7 +1769,7 @@ public void test7_1_6() {
17691769 JSONObject testResult = jsonObject .getJSONObject ( "7.1.6" );
17701770 assertEquals ( "INFORMATIONAL" , testResult .get ( "behavior" ) );
17711771 assertEquals ( "INFORMATIONAL" , testResult .get ( "behaviorClose" ) );
1772- assertTrue ( testResult .getInt ( "duration" ) < 35 );
1772+ assertTrue ( testResult .getInt ( "duration" ) < 50 );
17731773 }
17741774
17751775 @ Test
@@ -2281,7 +2281,7 @@ public void test9_5_1() {
22812281 JSONObject testResult = jsonObject .getJSONObject ( "9.5.1" );
22822282 assertEquals ( "OK" , testResult .get ( "behavior" ) );
22832283 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2284- assertTrue ( testResult .getInt ( "duration" ) < 2700 );
2284+ assertTrue ( testResult .getInt ( "duration" ) < 3200 );
22852285 }
22862286
22872287 @ Test
@@ -2297,23 +2297,23 @@ public void test9_5_3() {
22972297 JSONObject testResult = jsonObject .getJSONObject ( "9.5.3" );
22982298 assertEquals ( "OK" , testResult .get ( "behavior" ) );
22992299 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2300- assertTrue ( testResult .getInt ( "duration" ) < 625 );
2300+ assertTrue ( testResult .getInt ( "duration" ) < 700 );
23012301 }
23022302
23032303 @ Test
23042304 public void test9_5_4 () {
23052305 JSONObject testResult = jsonObject .getJSONObject ( "9.5.4" );
23062306 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23072307 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2308- assertTrue ( testResult .getInt ( "duration" ) < 400 );
2308+ assertTrue ( testResult .getInt ( "duration" ) < 450 );
23092309 }
23102310
23112311 @ Test
23122312 public void test9_5_5 () {
23132313 JSONObject testResult = jsonObject .getJSONObject ( "9.5.5" );
23142314 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23152315 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2316- assertTrue ( testResult .getInt ( "duration" ) < 200 );
2316+ assertTrue ( testResult .getInt ( "duration" ) < 250 );
23172317 }
23182318
23192319 @ Test
@@ -2329,31 +2329,31 @@ public void test9_6_1() {
23292329 JSONObject testResult = jsonObject .getJSONObject ( "9.6.1" );
23302330 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23312331 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2332- assertTrue ( testResult .getInt ( "duration" ) < 2500 );
2332+ assertTrue ( testResult .getInt ( "duration" ) < 3000 );
23332333 }
23342334
23352335 @ Test
23362336 public void test9_6_2 () {
23372337 JSONObject testResult = jsonObject .getJSONObject ( "9.6.2" );
23382338 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23392339 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2340- assertTrue ( testResult .getInt ( "duration" ) < 1250 );
2340+ assertTrue ( testResult .getInt ( "duration" ) < 1500 );
23412341 }
23422342
23432343 @ Test
23442344 public void test9_6_3 () {
23452345 JSONObject testResult = jsonObject .getJSONObject ( "9.6.3" );
23462346 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23472347 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2348- assertTrue ( testResult .getInt ( "duration" ) < 600 );
2348+ assertTrue ( testResult .getInt ( "duration" ) < 750 );
23492349 }
23502350
23512351 @ Test
23522352 public void test9_6_4 () {
23532353 JSONObject testResult = jsonObject .getJSONObject ( "9.6.4" );
23542354 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23552355 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2356- assertTrue ( testResult .getInt ( "duration" ) < 400 );
2356+ assertTrue ( testResult .getInt ( "duration" ) < 450 );
23572357 }
23582358
23592359 @ Test
@@ -2369,15 +2369,15 @@ public void test9_6_6() {
23692369 JSONObject testResult = jsonObject .getJSONObject ( "9.6.6" );
23702370 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23712371 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2372- assertTrue ( testResult .getInt ( "duration" ) < 125 );
2372+ assertTrue ( testResult .getInt ( "duration" ) < 200 );
23732373 }
23742374
23752375 @ Test
23762376 public void test9_7_1 () {
23772377 JSONObject testResult = jsonObject .getJSONObject ( "9.7.1" );
23782378 assertEquals ( "OK" , testResult .get ( "behavior" ) );
23792379 assertEquals ( "OK" , testResult .get ( "behaviorClose" ) );
2380- assertTrue ( testResult .getInt ( "duration" ) < 400 );
2380+ assertTrue ( testResult .getInt ( "duration" ) < 500 );
23812381 }
23822382
23832383 @ Test
0 commit comments