Package org.junit
Class AssumptionViolatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.j2cl.junit.runtime.InternalAssumptionViolatedException
org.junit.AssumptionViolatedException
- All Implemented Interfaces:
Serializable
public class AssumptionViolatedException
extends com.google.j2cl.junit.runtime.InternalAssumptionViolatedException
An 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.
- Since:
- 4.12
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssumptionViolatedException(String message) An assumption exception with the given message only.AssumptionViolatedException(String message, Throwable t) An assumption exception with the given message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssumptionViolatedException
An assumption exception with the given message only. -
AssumptionViolatedException
An assumption exception with the given message and a cause.
-