Class InternalAssumptionViolatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.internal.AssumptionViolatedException
com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
- All Implemented Interfaces:
Serializable
,org.hamcrest.SelfDescribing
class InternalAssumptionViolatedException
extends org.junit.internal.AssumptionViolatedException
We have our own "custom" assumption class because of JUnit's internal closed-up architecture.
We currently subclass and substitute JUnit's internal AVE, but we could as well have our
own exception and handle it properly in RandomizedRunner
.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
message
-
-
Constructor Details
-
InternalAssumptionViolatedException
-
InternalAssumptionViolatedException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classorg.junit.internal.AssumptionViolatedException
-
describeTo
public void describeTo(org.hamcrest.Description description) - Specified by:
describeTo
in interfaceorg.hamcrest.SelfDescribing
- Overrides:
describeTo
in classorg.junit.internal.AssumptionViolatedException
-