Package org.junit
Class TestCouldNotBeSkippedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.TestCouldNotBeSkippedException
- All Implemented Interfaces:
Serializable
Indicates that a test that indicated that it should be skipped could not be skipped.
This can be thrown if a test uses the methods in
Assume
to indicate that
it should be skipped, but before processing of the test was completed, other failures
occured.- Since:
- 4.13
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTestCouldNotBeSkippedException
(org.junit.internal.AssumptionViolatedException cause) Creates an instance using the given assumption failure. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TestCouldNotBeSkippedException
public TestCouldNotBeSkippedException(org.junit.internal.AssumptionViolatedException cause) Creates an instance using the given assumption failure.
-