AssertionFailedError
is an initial draft for a common
base class for test-related AssertionErrors
.AssertionFailedError
with no message, no cause,
and no expected/actual values.AssertionFailedError
with a message, no cause,
and no expected/actual values.AssertionFailedError
with a message and
expected/actual values but without a cause.AssertionFailedError
with a message and a cause
but without expected/actual values.AssertionFailedError
with a message,
expected/actual values, and a cause.ValueWrapper
for the supplied value
.null
.null
.null
;
otherwise, null
.Serializable
; otherwise, null
.RuntimeException
used to indicate that the execution of a test
was incomplete — for example, that the execution was entirely
skipped or aborted mid-stream.true
if the actual value is defined, i.e.true
if the expected value is defined, i.e.MultipleFailuresError
is an AssertionError
which
aggregates multiple AssertionErrors
thrown in a given context
(i.e., typically within the invocation of a single test).AssertionErrors
and
RuntimeExceptions
for testing
frameworks on the JVM.IncompleteExecutionException
used to indicate
that a test was aborted during execution (e.g., due to a failed
assumption).IncompleteExecutionException
used to indicate
that a test was skipped prior to execution (e.g., disabled
or ignored).