Index

A C E F G H I M O T V 
All Classes and Interfaces|All Packages|Serialized Form

A

AssertionFailedError - Error in org.opentest4j
AssertionFailedError is a common base class for test-related AssertionErrors.
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 supplied value.
create(Object, String) - Static method in class org.opentest4j.ValueWrapper
Factory for creating a new ValueWrapper for the supplied value using the supplied custom stringRepresentation.

E

equals(Object) - Method in class org.opentest4j.FileInfo
Determines if the supplied object is an instance of FileInfo with the same path and contents as this FileInfo.

F

FileInfo - Class in org.opentest4j
FileInfo is a pair of a file path and the contents of the file.
FileInfo(String, byte[]) - Constructor for class org.opentest4j.FileInfo
Constructs a FileInfo with a path to a file and the contents of the file.

G

getActual() - Method in error org.opentest4j.AssertionFailedError
Returns the wrapped actual value if it is defined; otherwise null.
getContents() - Method in class org.opentest4j.FileInfo
Returns the contents of the file.
getContentsAsString(Charset) - Method in class org.opentest4j.FileInfo
Returns the contents of the file as a String.
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
 
getPath() - Method in class org.opentest4j.FileInfo
Returns the path to the file.
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 is null.
getValue() - Method in class org.opentest4j.ValueWrapper
Returns the value supplied to create(Object) if the value implements Serializable; otherwise, null.

H

hasFailures() - Method in error org.opentest4j.MultipleFailuresError
Returns whether this error contains any failures.
hashCode() - Method in class org.opentest4j.FileInfo
Generates a unique hash code for this FileInfo based on its path.

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 an AssertionError 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 and RuntimeExceptions 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.FileInfo
Generates a string representation of this FileInfo based on the path and contents.
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.
A C E F G H I M O T V 
All Classes and Interfaces|All Packages|Serialized Form