Package org.apache.batik.test
Class AssertNullException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.batik.test.TestErrorConditionException
org.apache.batik.test.AssertException
org.apache.batik.test.AssertNullException
- All Implemented Interfaces:
Serializable
Exception which Tests can throw when a specific
assertNull
fails.- Version:
- $Id: AssertNullException.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected Object
Objects which should have be equalprotected Object
Objects which should have be equalFields inherited from class org.apache.batik.test.AssertException
ENTRY_KEY_ASSERTION_TYPE
Fields inherited from class org.apache.batik.test.TestErrorConditionException
errorCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDescription
(TestReport report) Requests that the exception populates the TestReport with the relevant information.Returns the type of assertion which failed.Methods inherited from class org.apache.batik.test.AssertException
getTestReport
Methods inherited from class org.apache.batik.test.TestErrorConditionException
addStackTraceDescription
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ASSERTION_TYPE
- See Also:
-
ref
Objects which should have be equal -
cmp
Objects which should have be equal
-
-
Constructor Details
-
AssertNullException
public AssertNullException()
-
-
Method Details
-
addDescription
Requests that the exception populates the TestReport with the relevant information.- Specified by:
addDescription
in classAssertException
-
getAssertionType
Description copied from class:AssertException
Returns the type of assertion which failed. e.g., "assertEquals"- Specified by:
getAssertionType
in classAssertException
-