|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ThrowableAssert in org.fest.assertions |
---|
Methods in org.fest.assertions that return ThrowableAssert | |
---|---|
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. |
ThrowableAssert |
ThrowableAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static ThrowableAssert |
Assertions.assertThat(Throwable actual)
Creates a new instance of . |
ThrowableAssert |
ThrowableAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
ThrowableAssert |
ThrowableAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
ThrowableAssert |
ThrowableAssert.doesNotSatisfy(Condition<Throwable> condition)
Verifies that the actual Throwable does not satisfy the given condition. |
ThrowableAssert |
ThrowableAssert.hasMessage(String message)
Verifies that the message of the actual Throwable is equal to the given one. |
ThrowableAssert |
ThrowableAssert.hasNoCause()
Verifies that the actual Throwable does not have a cause. |
ThrowableAssert |
ThrowableAssert.is(Condition<Throwable> condition)
Alias for . |
ThrowableAssert |
ThrowableAssert.isEqualTo(Throwable expected)
Verifies that the actual Throwable is equal to the given one. |
ThrowableAssert |
ThrowableAssert.isExactlyInstanceOf(Class<?> type)
Verifies that the actual Throwable is an instance of the given type. |
ThrowableAssert |
ThrowableAssert.isInstanceOf(Class<? extends Throwable> type)
Verifies that the actual Throwable is an instance of the given type. |
ThrowableAssert |
ThrowableAssert.isNot(Condition<Throwable> condition)
Alias for . |
ThrowableAssert |
ThrowableAssert.isNotEqualTo(Throwable other)
Verifies that the actual Throwable is not equal to the given one. |
ThrowableAssert |
ThrowableAssert.isNotNull()
Verifies that the actual Throwable is not null . |
ThrowableAssert |
ThrowableAssert.isNotSameAs(Throwable other)
Verifies that the actual Throwable is not the same as the given one. |
ThrowableAssert |
ThrowableAssert.isSameAs(Throwable expected)
Verifies that the actual Throwable is the same as the given one. |
ThrowableAssert |
ThrowableAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
ThrowableAssert |
ThrowableAssert.satisfies(Condition<Throwable> condition)
Verifies that the actual Throwable satisfies the given condition. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |