static public Test suite() { return junit.tests.AllTests.suite(); }
@org.junit.Test public void correctTestCount() throws Throwable { AllTests tests = new AllTests(All.class); assertEquals(1, tests.testCount()); }
@org.junit.Test public void someUsefulDescription() throws Throwable { AllTests tests = new AllTests(All.class); assertThat(tests.getDescription().toString(), containsString("OneTest")); }
@org.junit.Test public void correctTestCountAdapted() throws Throwable { AllTests tests = new AllTests(AllJUnit4.class); assertEquals(1, tests.testCount()); }
@org.junit.Test(expected = RuntimeException.class) public void exceptionThrownWhenSuiteIsBad() throws Throwable { new AllTests(BadSuiteMethod.class); }