org.apache.maven.surefire.assertion
Class SurefireComparisonFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.surefire.util.NestedRuntimeException
org.apache.maven.surefire.assertion.SurefireAssertionFailedException
org.apache.maven.surefire.assertion.SurefireComparisonFailureException
- All Implemented Interfaces:
- Serializable
public class SurefireComparisonFailureException
- extends SurefireAssertionFailedException
Thrown when an assertion equals for Strings failed.
- See Also:
- Serialized Form
SurefireComparisonFailureException
public SurefireComparisonFailureException(String message,
String expected,
String actual)
- Constructs a comparison failure.
- Parameters:
message
- the identifying message or nullexpected
- the expected string valueactual
- the actual string value
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.