Package org.junit
Class AssumptionViolatedException
- java.lang.Object
-
- org.junit.internal.AssumptionViolatedException
-
- org.junit.AssumptionViolatedException
-
public class AssumptionViolatedException extends org.junit.internal.AssumptionViolatedExceptionAn exception class used to implement assumptions (state in which a given test is meaningful and should or should not be executed). A test for which an assumption fails should not generate a test case failure.
-
-
Constructor Summary
Constructors Constructor Description AssumptionViolatedException()An assumption exception with the given message only.AssumptionViolatedException(String message)An assumption exception with a message with the given actual value and a matcher describing the expectation that failed.AssumptionViolatedException(String message, Throwable cause)An assumption exception with the given message and a cause.AssumptionViolatedException(Throwable cause)An assumption exception with the given actual value and a matcher describing the expectation that failed.
-
-
-
Constructor Detail
-
AssumptionViolatedException
public AssumptionViolatedException()
An assumption exception with the given message only.
-
AssumptionViolatedException
public AssumptionViolatedException(String message, Throwable cause)
An assumption exception with the given message and a cause.
-
AssumptionViolatedException
public AssumptionViolatedException(String message)
An assumption exception with a message with the given actual value and a matcher describing the expectation that failed.
-
AssumptionViolatedException
public AssumptionViolatedException(Throwable cause)
An assumption exception with the given actual value and a matcher describing the expectation that failed.
-
-