<T> T |
AbstractSoftAssertions.fail() |
Fails with an empty message to be used in code like:
|
<T> T |
AbstractSoftAssertions.fail(java.lang.String failureMessage) |
Fails with the given message.
|
<T> T |
AbstractSoftAssertions.fail(java.lang.String failureMessage,
java.lang.Object... args) |
Fails with the given message built like String.format(String, Object...).
|
<T> T |
AbstractSoftAssertions.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Fails with the given message and with the Throwable that caused the failure.
|
<T> T |
AbstractSoftAssertions.fail(java.lang.Throwable realCause) |
Fails with the Throwable that caused the failure and an empty message.
|
static <T> T |
Assertions.fail() |
Throws an AssertionError with an empty message to be used in code like:
|
static <T> T |
Assertions.fail(java.lang.String failureMessage) |
Throws an AssertionError with the given message.
|
static <T> T |
Assertions.fail(java.lang.String failureMessage,
java.lang.Object... args) |
Throws an AssertionError with the given message built as String.format(String, Object...).
|
static <T> T |
Assertions.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Throws an AssertionError with the given message and with the Throwable that caused the failure.
|
static <T> T |
Assertions.fail(java.lang.Throwable realCause) |
Throws an AssertionError with the Throwable that caused the failure and an empty message.
|
static void |
AssertionsForClassTypes.fail() |
Only delegate to Fail.fail() so that Assertions offers a full feature entry point to all Assertj
features (but you can use Fail if you prefer).
|
static void |
AssertionsForClassTypes.fail(java.lang.String failureMessage) |
Only delegate to Fail.fail(String) so that Assertions offers a full feature entry point to all Assertj
Assert features (but you can use Fail if you prefer).
|
static void |
AssertionsForClassTypes.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Only delegate to Fail.fail(String, Throwable) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Fail if you prefer).
|
static void |
AssertionsForClassTypes.fail(java.lang.Throwable realCause) |
Only delegate to Fail.fail(Throwable) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Fail if you prefer).
|
static <T> T |
BDDAssertions.fail() |
Throws an AssertionError with an empty message to be used in code like:
|
static <T> T |
BDDAssertions.fail(java.lang.String failureMessage) |
Throws an AssertionError with the given message.
|
static <T> T |
BDDAssertions.fail(java.lang.String failureMessage,
java.lang.Object... args) |
Throws an AssertionError with the given message built as String.format(String, Object...).
|
static <T> T |
BDDAssertions.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Throws an AssertionError with the given message and with the Throwable that caused the failure.
|
static <T> T |
BDDAssertions.fail(java.lang.Throwable realCause) |
Throws an AssertionError with the Throwable that caused the failure.
|
static <T> T |
Fail.fail() |
Throws an AssertionError with an empty message to be used in code like:
|
static <T> T |
Fail.fail(java.lang.String failureMessage) |
Throws an AssertionError with the given message.
|
static <T> T |
Fail.fail(java.lang.String failureMessage,
java.lang.Object... args) |
Throws an AssertionError with the given message built as String.format(String, Object...).
|
static <T> T |
Fail.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Throws an AssertionError with the given message and with the Throwable that caused the failure.
|
static <T> T |
Fail.fail(java.lang.Throwable realCause) |
Throws an AssertionError with the Throwable that caused the failure.
|
static void |
Java6Assertions.fail(java.lang.String failureMessage) |
Deprecated.
Throws an AssertionError with the given message.
|
static void |
Java6Assertions.fail(java.lang.String failureMessage,
java.lang.Object... args) |
Deprecated.
Throws an AssertionError with the given message built as String.format(String, Object...).
|
static void |
Java6Assertions.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Deprecated.
Throws an AssertionError with the given message and with the Throwable that caused the failure.
|
default <T> T |
WithAssertions.fail() |
Throws an AssertionError with an empty message to be used in code like:
|
default <T> T |
WithAssertions.fail(java.lang.String failureMessage) |
Throws an AssertionError with the given message.
|
default <T> T |
WithAssertions.fail(java.lang.String failureMessage,
java.lang.Object... args) |
Throws an AssertionError with the given message built as String.format(String, Object...).
|
default <T> T |
WithAssertions.fail(java.lang.String failureMessage,
java.lang.Throwable realCause) |
Throws an AssertionError with the given message and with the Throwable that caused the failure.
|
default <T> T |
WithAssertions.fail(java.lang.Throwable realCause) |
Throws an AssertionError with the Throwable that caused the failure.
|
void |
AbstractSoftAssertions.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Fails with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static <T> T |
Assertions.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static void |
AssertionsForClassTypes.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
|
static <T> T |
Fail.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static void |
Java6Assertions.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Deprecated.
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
default <T> T |
WithAssertions.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
protected void |
AbstractAssert.failWithActualExpectedAndMessage(java.lang.Object actual,
java.lang.Object expected,
java.lang.String errorMessageFormat,
java.lang.Object... arguments) |
Throw an assertion error based on information in this assertion.
|
protected void |
AbstractAssert.failWithMessage(java.lang.String errorMessage,
java.lang.Object... arguments) |
Throw an assertion error based on information in this assertion.
|
void |
AbstractSoftAssertions.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Fails with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static <T> T |
Assertions.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static void |
AssertionsForClassTypes.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Only delegate to Fail.shouldHaveThrown(Class) so that Assertions offers a full feature
entry point to all AssertJ features (but you can use Fail if you prefer).
|
static <T> T |
BDDAssertions.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static <T> T |
Fail.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
static void |
Java6Assertions.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Deprecated.
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|
default <T> T |
WithAssertions.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable> throwableClass) |
Throws an AssertionError with a message explaining that a Throwable of given class was expected to be thrown
but had not been.
|