Java 类org.junit.experimental.max.MaxCore 实例源码

项目:sosiefier    文件:MaxStarterTest.java   
@Before
public void createMax() {
    fMaxFile = new File("MaxCore.ser");
    if (fMaxFile.exists()) {
        fMaxFile.delete();
    }
    fMax = MaxCore.storedLocally(fMaxFile);
}
项目:sosiefier    文件:MaxStarterTest.java   
@Test
public void rememberOldRuns() {
    fMax.run(TwoUnEqualTests.class);

    MaxCore reincarnation = MaxCore.storedLocally(fMaxFile);
    List<Failure> failures = reincarnation.run(TwoUnEqualTests.class)
            .getFailures();
    assertEquals("fast", failures.get(0).getDescription().getMethodName());
    assertEquals("slow", failures.get(1).getDescription().getMethodName());
}
项目:sosiefier    文件:JUnit38SortingTest.java   
@Before
public void createMax() {
    fMaxFile = new File("MaxCore.ser");
    if (fMaxFile.exists()) {
        fMaxFile.delete();
    }
    fMax = MaxCore.storedLocally(fMaxFile);
}
项目:junit    文件:MaxStarterTest.java   
@Before
public void createMax() {
    fMaxFile = new File("MaxCore.ser");
    if (fMaxFile.exists()) {
        fMaxFile.delete();
    }
    fMax = MaxCore.storedLocally(fMaxFile);
}
项目:junit    文件:MaxStarterTest.java   
@Test
public void rememberOldRuns() {
    fMax.run(TwoUnEqualTests.class);

    MaxCore reincarnation = MaxCore.storedLocally(fMaxFile);
    List<Failure> failures = reincarnation.run(TwoUnEqualTests.class)
            .getFailures();
    assertEquals("fast", failures.get(0).getDescription().getMethodName());
    assertEquals("slow", failures.get(1).getDescription().getMethodName());
}
项目:junit    文件:JUnit38SortingTest.java   
@Before
public void createMax() {
    fMaxFile = new File("MaxCore.ser");
    if (fMaxFile.exists()) {
        fMaxFile.delete();
    }
    fMax = MaxCore.storedLocally(fMaxFile);
}
项目:health-and-care-developer-network    文件:MaxStarterTest.java   
@Before
public void createMax() {
    fMaxFile = new File("MaxCore.ser");
    if (fMaxFile.exists()) {
        fMaxFile.delete();
    }
    fMax = MaxCore.storedLocally(fMaxFile);
}
项目:health-and-care-developer-network    文件:MaxStarterTest.java   
@Test
public void rememberOldRuns() {
    fMax.run(TwoUnEqualTests.class);

    MaxCore reincarnation = MaxCore.storedLocally(fMaxFile);
    List<Failure> failures = reincarnation.run(TwoUnEqualTests.class)
            .getFailures();
    assertEquals("fast", failures.get(0).getDescription().getMethodName());
    assertEquals("slow", failures.get(1).getDescription().getMethodName());
}
项目:health-and-care-developer-network    文件:JUnit38SortingTest.java   
@Before
public void createMax() {
    fMaxFile = new File("MaxCore.ser");
    if (fMaxFile.exists()) {
        fMaxFile.delete();
    }
    fMax = MaxCore.storedLocally(fMaxFile);
}