Java 类org.junit.runners.AllTests 实例源码

项目:sosiefier    文件:OldTests.java   
static public Test suite() {
    return junit.tests.AllTests.suite();
}
项目:sosiefier    文件:AllTestsTest.java   
@org.junit.Test
public void correctTestCount() throws Throwable {
    AllTests tests = new AllTests(All.class);
    assertEquals(1, tests.testCount());
}
项目:sosiefier    文件:AllTestsTest.java   
@org.junit.Test
public void someUsefulDescription() throws Throwable {
    AllTests tests = new AllTests(All.class);
    assertThat(tests.getDescription().toString(), containsString("OneTest"));
}
项目:sosiefier    文件:AllTestsTest.java   
@org.junit.Test
public void correctTestCountAdapted() throws Throwable {
    AllTests tests = new AllTests(AllJUnit4.class);
    assertEquals(1, tests.testCount());
}
项目:sosiefier    文件:AllTestsTest.java   
@org.junit.Test(expected = RuntimeException.class)
public void exceptionThrownWhenSuiteIsBad() throws Throwable {
    new AllTests(BadSuiteMethod.class);
}
项目:junit    文件:OldTests.java   
static public Test suite() {
    return junit.tests.AllTests.suite();
}
项目:junit    文件:AllTestsTest.java   
@org.junit.Test
public void correctTestCount() throws Throwable {
    AllTests tests = new AllTests(All.class);
    assertEquals(1, tests.testCount());
}
项目:junit    文件:AllTestsTest.java   
@org.junit.Test
public void someUsefulDescription() throws Throwable {
    AllTests tests = new AllTests(All.class);
    assertThat(tests.getDescription().toString(), containsString("OneTest"));
}
项目:junit    文件:AllTestsTest.java   
@org.junit.Test
public void correctTestCountAdapted() throws Throwable {
    AllTests tests = new AllTests(AllJUnit4.class);
    assertEquals(1, tests.testCount());
}
项目:junit    文件:AllTestsTest.java   
@org.junit.Test(expected = RuntimeException.class)
public void exceptionThrownWhenSuiteIsBad() throws Throwable {
    new AllTests(BadSuiteMethod.class);
}
项目:health-and-care-developer-network    文件:OldTests.java   
static public Test suite() {
    return junit.tests.AllTests.suite();
}
项目:health-and-care-developer-network    文件:AllTestsTest.java   
@org.junit.Test
public void correctTestCount() throws Throwable {
    AllTests tests = new AllTests(All.class);
    assertEquals(1, tests.testCount());
}
项目:health-and-care-developer-network    文件:AllTestsTest.java   
@org.junit.Test
public void someUsefulDescription() throws Throwable {
    AllTests tests = new AllTests(All.class);
    assertThat(tests.getDescription().toString(), containsString("OneTest"));
}
项目:health-and-care-developer-network    文件:AllTestsTest.java   
@org.junit.Test
public void correctTestCountAdapted() throws Throwable {
    AllTests tests = new AllTests(AllJUnit4.class);
    assertEquals(1, tests.testCount());
}
项目:health-and-care-developer-network    文件:AllTestsTest.java   
@org.junit.Test(expected = RuntimeException.class)
public void exceptionThrownWhenSuiteIsBad() throws Throwable {
    new AllTests(BadSuiteMethod.class);
}