Package org.spockframework.runtime
Class SpockComparisonFailure
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.junit.ComparisonFailure
org.spockframework.runtime.SpockComparisonFailure
- All Implemented Interfaces:
Serializable
public class SpockComparisonFailure
extends org.junit.ComparisonFailure
Thrown when a condition of the form 'expr1 == expr2' fails.
Inherits from JUnit's ComparisonFailure (rather than
ConditionNotSatisfiedError) to enable IDE support for
diff'ing actual and expected values.
- Author:
- Peter Niederwieser
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.junit.ComparisonFailure
getActual, getExpected
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace