| Package | org.flexunit.internals |
| Class | public class AssumptionViolatedException |
| Inheritance | AssumptionViolatedException Error |
| Implements | org.hamcrest.SelfDescribing |
AssumptionViolatedException is thrown when an assumption in a test
evalutes to false. It contains information about the incorrect value that was
encountered that caused the assumption to fail as well as the values that the
assumption was expecting. The AssumptionViolatedException is currently
thrown when an assumption fails in the Assume class.
See also
| Method | Defined By | ||
|---|---|---|---|
AssumptionViolatedException(value:Object, matcher:Matcher = null)
Constructor. | AssumptionViolatedException | ||
describeTo(description:Description):void
Appends description based on the master
| AssumptionViolatedException | ||
getMessage():String | AssumptionViolatedException | ||
| AssumptionViolatedException | () | Constructor |
public function AssumptionViolatedException(value:Object, matcher:Matcher = null)Constructor.
Parametersvalue:Object — The value that was obtained when the assumption was evaluated.
| |
matcher:Matcher (default = null) — The matcher used to evaluate the assumption.
|
| describeTo | () | method |
public function describeTo(description:Description):voidAppends description based on the master
Parameters
description:Description |
| getMessage | () | method |
public function getMessage():StringReturns
String — a message (String) which is a parsed string description of this class
|