use of org.junit.runners.AllTests in project junit4 by junit-team.
the class AllTestsTest method correctTestCountAdapted.
@org.junit.Test
public void correctTestCountAdapted() throws Throwable {
AllTests tests = new AllTests(AllJUnit4.class);
assertEquals(1, tests.testCount());
}
use of org.junit.runners.AllTests in project junit4 by junit-team.
the class AllTestsTest method correctTestCount.
@org.junit.Test
public void correctTestCount() throws Throwable {
AllTests tests = new AllTests(All.class);
assertEquals(1, tests.testCount());
}
use of org.junit.runners.AllTests in project junit4 by junit-team.
the class AllTestsTest method someUsefulDescription.
@org.junit.Test
public void someUsefulDescription() throws Throwable {
AllTests tests = new AllTests(All.class);
assertThat(tests.getDescription().toString(), containsString("OneTest"));
}
Aggregations