|
|||||||||
| Home >> All >> org >> apache >> batik >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.test
Class AssertNullException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.batik.test.TestErrorConditionException
org.apache.batik.test.AssertException
org.apache.batik.test.AssertNullException
- All Implemented Interfaces:
- java.io.Serializable
- public class AssertNullException
- extends AssertException
Exception which Tests can throw when a specific assertNull fails.
- Version:
- $Id: AssertNullException.java,v 1.3 2004/08/18 07:16:56 vhardy Exp $
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
static java.lang.String |
ASSERTION_TYPE
|
protected java.lang.Object |
cmp
Objects which should have be equal |
protected java.lang.Object |
ref
Objects which should have be equal |
| Fields inherited from class org.apache.batik.test.AssertException |
ENTRY_KEY_ASSERTION_TYPE |
| Fields inherited from class org.apache.batik.test.TestErrorConditionException |
errorCode |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
AssertNullException()
|
|
| Method Summary | |
void |
addDescription(TestReport report)
Requests that the exception populates the TestReport with the relevant information. |
java.lang.String |
getAssertionType()
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 |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
ASSERTION_TYPE
public static final java.lang.String ASSERTION_TYPE
- See Also:
- Constant Field Values
ref
protected java.lang.Object ref
- Objects which should have be equal
cmp
protected java.lang.Object cmp
- Objects which should have be equal
| Constructor Detail |
AssertNullException
public AssertNullException()
| Method Detail |
addDescription
public void addDescription(TestReport report)
- Requests that the exception populates the TestReport with the
relevant information.
- Specified by:
addDescriptionin classAssertException
getAssertionType
public java.lang.String getAssertionType()
- Description copied from class:
AssertException - Returns the type of assertion which failed. e.g., "assertEquals"
- Specified by:
getAssertionTypein classAssertException
|
|||||||||
| Home >> All >> org >> apache >> batik >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC