|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Description in org.fest.assertions |
|---|
| Classes in org.fest.assertions that implement Description | |
|---|---|
class |
BasicDescription
Default implementation of . |
| Methods in org.fest.assertions that return Description | |
|---|---|
protected Description |
Assert.rawDescription()
Returns the description of the actual value in this assertion. |
| Methods in org.fest.assertions with parameters of type Description | |
|---|---|
ThrowableAssert |
ThrowableAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
S |
GenericAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
protected static AssertionError |
Fail.comparisonFailed(Description description,
Object actual,
Object expected)
Returns a describing a comparison failure. |
ThrowableAssert |
ThrowableAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
S |
GenericAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
protected void |
Assert.description(Description d)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
protected static void |
Fail.failIfActualIsNull(String customErrorMessage,
Description description,
Object actual)
Throws an if the actual value is null. |
protected static void |
Fail.failIfEqual(String customErrorMessage,
Description descriptionOfActual,
Object actual,
Object other)
Throws an if the given objects are equal. |
protected static void |
Fail.failIfNotEqual(String customErrorMessage,
Description descriptionOfActual,
Object actual,
Object expected)
Throws an if 'actual' is not equal to 'expected'. |
protected static void |
Fail.failIfNotNull(String customErrorMessage,
Description description,
Object o)
Throws an if the given object is not null. |
protected static void |
Fail.failIfNotSame(String customErrorMessage,
Description descriptionOfActual,
Object actual,
Object other)
Throws an if the given objects are not the same. |
protected static void |
Fail.failIfNull(String customErrorMessage,
Description description,
Object o)
Throws an if the given object is null. |
protected static void |
Fail.failIfSame(String customErrorMessage,
Description descriptionOfActual,
Object actual,
Object other)
Throws an if the given objects are the same. |
static String |
Formatting.format(Description description,
String message)
Returns the given message formatted as follows: [description] message. |
static String |
Formatting.valueOf(Description description)
Returns the value of the given . |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||