A C G H I M O T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AssertionFailedError - Error in org.opentest4j
-
AssertionFailedError
is a common base class for test-relatedAssertionErrors
. - AssertionFailedError() - Constructor for error org.opentest4j.AssertionFailedError
-
Constructs an
AssertionFailedError
with an empty message, no cause, and no expected/actual values. - AssertionFailedError(String) - Constructor for error org.opentest4j.AssertionFailedError
-
Constructs an
AssertionFailedError
with a message, no cause, and no expected/actual values. - AssertionFailedError(String, Object, Object) - Constructor for error org.opentest4j.AssertionFailedError
-
Constructs an
AssertionFailedError
with a message and expected/actual values but without a cause. - AssertionFailedError(String, Object, Object, Throwable) - Constructor for error org.opentest4j.AssertionFailedError
-
Constructs an
AssertionFailedError
with a message, expected/actual values, and a cause. - AssertionFailedError(String, Throwable) - Constructor for error org.opentest4j.AssertionFailedError
-
Constructs an
AssertionFailedError
with a message and a cause but without expected/actual values.
C
- create(Object) - Static method in class org.opentest4j.ValueWrapper
-
Factory for creating a new
ValueWrapper
for the suppliedvalue
. - create(Object, String) - Static method in class org.opentest4j.ValueWrapper
-
Factory for creating a new
ValueWrapper
for the suppliedvalue
using the supplied customstringRepresentation
.
G
- getActual() - Method in error org.opentest4j.AssertionFailedError
-
Returns the wrapped actual value if it is defined; otherwise
null
. - getEphemeralValue() - Method in class org.opentest4j.ValueWrapper
-
Returns the original value supplied to
create()
. - getExpected() - Method in error org.opentest4j.AssertionFailedError
-
Returns the wrapped expected value if it is defined; otherwise
null
. - getFailures() - Method in error org.opentest4j.MultipleFailuresError
-
Returns the list of failures contained in this error.
- getIdentityHashCode() - Method in class org.opentest4j.ValueWrapper
-
Returns the value's identity hash code.
- getMessage() - Method in error org.opentest4j.MultipleFailuresError
- getStringRepresentation() - Method in class org.opentest4j.ValueWrapper
-
Returns the value's string representation.
- getType() - Method in class org.opentest4j.ValueWrapper
-
Returns the value's runtime type or
null
if the value isnull
. - getValue() - Method in class org.opentest4j.ValueWrapper
H
- hasFailures() - Method in error org.opentest4j.MultipleFailuresError
-
Returns whether this error contains any failures.
I
- IncompleteExecutionException - Exception in org.opentest4j
-
RuntimeException
used to indicate that the execution of a test was incomplete — for example, that the execution was entirely skipped or aborted mid-stream. - IncompleteExecutionException() - Constructor for exception org.opentest4j.IncompleteExecutionException
- IncompleteExecutionException(String) - Constructor for exception org.opentest4j.IncompleteExecutionException
- IncompleteExecutionException(String, Throwable) - Constructor for exception org.opentest4j.IncompleteExecutionException
- isActualDefined() - Method in error org.opentest4j.AssertionFailedError
-
Returns
true
if an actual value was supplied via an appropriate constructor. - isExpectedDefined() - Method in error org.opentest4j.AssertionFailedError
-
Returns
true
if an expected value was supplied via an appropriate constructor.
M
- MultipleFailuresError - Error in org.opentest4j
-
MultipleFailuresError
is anAssertionError
that aggregates multiple failures thrown in a given context (i.e., typically within the invocation of a single test). - MultipleFailuresError(String, List<? extends Throwable>) - Constructor for error org.opentest4j.MultipleFailuresError
-
Constructs an
MultipleFailuresError
with the supplied heading and failures.
O
- org.opentest4j - package org.opentest4j
-
Common
AssertionErrors
andRuntimeExceptions
for testing frameworks on the JVM.
T
- TestAbortedException - Exception in org.opentest4j
-
Specialization of
IncompleteExecutionException
used to indicate that a test was aborted during execution (e.g., due to a failed assumption). - TestAbortedException() - Constructor for exception org.opentest4j.TestAbortedException
- TestAbortedException(String) - Constructor for exception org.opentest4j.TestAbortedException
- TestAbortedException(String, Throwable) - Constructor for exception org.opentest4j.TestAbortedException
- TestSkippedException - Exception in org.opentest4j
-
Specialization of
IncompleteExecutionException
used to indicate that a test was skipped prior to execution (e.g., disabled or ignored). - TestSkippedException() - Constructor for exception org.opentest4j.TestSkippedException
- TestSkippedException(String) - Constructor for exception org.opentest4j.TestSkippedException
- TestSkippedException(String, Throwable) - Constructor for exception org.opentest4j.TestSkippedException
- toString() - Method in error org.opentest4j.AssertionFailedError
-
Returns a short description of this assertion error using the same format as
Throwable.toString()
. - toString() - Method in class org.opentest4j.ValueWrapper
-
Returns the value's string representation along with its type and identity hash code.
V
- ValueWrapper - Class in org.opentest4j
-
Serializable representation of a value that was used in an assertion.
All Classes All Packages