Skip to content

Commit

Permalink
Updates experimental test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Oct 17, 2023
1 parent 4d4f686 commit 2295890
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ public void getTestList_experimental_on() {

List<AbstractTest> tests = Arrays.asList(suite.getTestList(pm));

assertEquals(2, tests.size());
assertEquals(3, tests.size());
assertEquals(Experimental.class, tests.get(0).getClass());
assertEquals(Experimental.class, tests.get(1).getClass());
assertEquals(Experimental.class, tests.get(2).getClass());
assertEquals("stunreachability", tests.get(0).getName());
assertEquals("dnscheck", tests.get(1).getName());
assertEquals("echcheck", tests.get(2).getName());
}

@Test
Expand All @@ -48,15 +50,17 @@ public void getTestList_experimental_on_autorun_on() {

List<AbstractTest> tests = Arrays.asList(autoRunSuite.getTestList(pm));

assertEquals(4, tests.size());
assertEquals(5, tests.size());
assertEquals(Experimental.class, tests.get(0).getClass());
assertEquals(Experimental.class, tests.get(1).getClass());
assertEquals(Experimental.class, tests.get(2).getClass());
assertEquals(Experimental.class, tests.get(3).getClass());
assertEquals(Experimental.class, tests.get(4).getClass());

assertEquals("torsf", tests.get(0).getName());
assertEquals("vanilla_tor", tests.get(1).getName());
assertEquals("stunreachability", tests.get(2).getName());
assertEquals("dnscheck", tests.get(3).getName());
assertEquals("stunreachability", tests.get(0).getName());
assertEquals("dnscheck", tests.get(1).getName());
assertEquals("echcheck", tests.get(2).getName());
assertEquals("torsf", tests.get(3).getName());
assertEquals("vanilla_tor", tests.get(4).getName());
}
}

0 comments on commit 2295890

Please sign in to comment.