Search in sources :

Example 1 with AllTests

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());
}
Also used : AllTests(org.junit.runners.AllTests)

Example 2 with AllTests

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());
}
Also used : AllTests(org.junit.runners.AllTests)

Example 3 with AllTests

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"));
}
Also used : AllTests(org.junit.runners.AllTests)

Aggregations

AllTests (org.junit.runners.AllTests)3