assertEquals(0, result.getIgnoreCount());
}
@Test public void prerequsitesRunnerInternalFailCompatibility() {
TestResult result = new TestResult();
JUnit4TestAdapter adapter = new AnnotationHandlingJUnit4TestAdapter(APrereqInternalFailTest.class);
adapter.run(result);
assertEquals(0, result.runCount());
assertEquals(6, result.errorCount());
// internal errors are reported as failures
assertEquals(0, result.failureCount());
}