static StandardSubjectBuilder |
Truth.assert_() |
Begins a call chain with the fluent Truth API.
|
static StandardSubjectBuilder |
Truth.assertWithMessage(@Nullable java.lang.String messageToPrepend) |
Begins an assertion that, if it fails, will prepend the given message to the failure message.
|
static StandardSubjectBuilder |
Truth.assertWithMessage(java.lang.String format,
@Nullable java.lang.Object... args) |
Begins an assertion that, if it fails, will prepend the given message to the failure message.
|
static StandardSubjectBuilder |
TruthJUnit.assume() |
Begins a call chain with the fluent Truth API.
|
protected StandardSubjectBuilder |
Subject.check(java.lang.String format,
@Nullable java.lang.Object... args) |
Returns a builder for creating a derived subject.
|
static StandardSubjectBuilder |
StandardSubjectBuilder.forCustomFailureStrategy(FailureStrategy failureStrategy) |
Returns a new instance that invokes the given FailureStrategy when a check fails.
|
protected StandardSubjectBuilder |
Subject.ignoreCheck() |
Begins a new call chain that ignores any failures.
|
StandardSubjectBuilder |
ExpectFailure.whenTesting() |
|
StandardSubjectBuilder |
StandardSubjectBuilder.withMessage(@Nullable java.lang.String messageToPrepend) |
Returns a new instance that will output the given message before the main failure message.
|
StandardSubjectBuilder |
StandardSubjectBuilder.withMessage(java.lang.String format,
@Nullable java.lang.Object... args) |
Returns a new instance that will output the given message before the main failure message.
|