org.spincast.testing.junitrunner.ExpectingBeforeClassException Maven / Gradle / Ivy
package org.spincast.testing.junitrunner;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* When this annotation is added on a Test Class,
* the 'beforeClass()' method is expected to fail.
*
* To use with {@link org.spincast.testing.junitrunner.SpincastJUnitRunner SpincastJUnitRunner}
* and {@link org.spincast.testing.junitrunner.BeforeAfterClassMethodsProvider BeforeAfterClassMethodsProvider}
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExpectingBeforeClassException {
}