Package org.junit.internal
Class ArrayComparisonFailure
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.junit.internal.ArrayComparisonFailure
- All Implemented Interfaces:
Serializable
Thrown when two array elements differ
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AssertionError
private final String
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionArrayComparisonFailure
(String message, AssertionError cause, int index) Construct a newArrayComparisonFailure
with an error text and the array's dimension that was not equal -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
fIndices
-
fMessage
-
fCause
-
-
Constructor Details
-
ArrayComparisonFailure
Construct a newArrayComparisonFailure
with an error text and the array's dimension that was not equal- Parameters:
cause
- the exception that caused the array's content to fail the assertion testindex
- the array position of the objects that are not equal.- See Also:
-
-
Method Details