com.carrotsearch.examples.randomizedrunner.reports.Test002SuiteFailure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of randomizedtesting-examples Show documentation
Show all versions of randomizedtesting-examples Show documentation
Simple use-case examples meant to be included in some
end-user documentation if it's ever going to be written...
package com.carrotsearch.examples.randomizedrunner.reports;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
/**
* Suite-level failures.
*/
public class Test002SuiteFailure {
@BeforeClass
public static void beforeClass() {
throw new RuntimeException("beforeClass");
}
@Test
public void testCase() {}
@AfterClass
public static void afterClass() {
throw new RuntimeException("afterClass");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy