public class AssertTrueException extends AssertException
assertTrue fails.| Modifier and Type | Field and Description |
|---|---|
static String |
ASSERTION_TYPE |
protected Object |
cmp
Objects which should have be equal
|
protected Object |
ref
Objects which should have be equal
|
ENTRY_KEY_ASSERTION_TYPEerrorCode| Constructor and Description |
|---|
AssertTrueException() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
String |
getAssertionType()
Returns the type of assertion which failed.
|
getTestReportaddStackTraceDescriptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ASSERTION_TYPE
protected Object ref
protected Object cmp
public void addDescription(TestReport report)
addDescription in class AssertExceptionpublic String getAssertionType()
AssertExceptiongetAssertionType in class AssertExceptionCopyright © 2000–2021 Apache Software Foundation. All rights reserved.