All Packages Class Hierarchy This Package Previous Next Index
Class org.ajug.jsl.jester.cases.AssertFailureException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----org.ajug.jsl.jester.cases.AssertFailureException
- public class AssertFailureException
- extends RuntimeException
This class represents an assert failure, which means a
specific single line of code in a test has detected a condition
that is incorrect. After the defect is fixed the same assert
should no longer cause this exception.
-
AssertFailureException(String,
Test)
- Creates the needed exception with the test originating the
assert.
-
getTest()
- Returns the test that originated the exception.
AssertFailureException
public AssertFailureException(String message,
Test test)
- Creates the needed exception with the test originating the
assert. The message may be the "assert info" that the test
has supplied, or the message may be a standard one.
getTest
public Test getTest()
- Returns the test that originated the exception.
All Packages Class Hierarchy This Package Previous Next Index