JsUnit |
![]() |
![]() |
Thrown when a test assert comparing equal strings fail. More...


Public Member Functions | |
| void | ComparisonFailure (String msg, String expected, String actual, CallStack stack) |
| Constructor. More... | |
Public Member Functions inherited from AssertionFailedError | |
| void | AssertionFailedError (String msg, CallStack stack) |
| Constructor. More... | |
Public Member Functions inherited from JsUnitError | |
| void | JsUnitError (String msg) |
| Constructor. More... | |
| String | toString () |
| String representation of the error. More... | |
Public Member Functions inherited from Error | |
| void | Error (String msg) |
| Constructor. More... | |
| String | toString () |
| String representation of the error. More... | |
Public Attributes | |
| int | mActual |
| int | mExpected |
Public Attributes inherited from AssertionFailedError | |
| int | mCallStack |
| The call stack for the message. More... | |
Public Attributes inherited from JsUnitError | |
| int | message |
Public Attributes inherited from Error | |
| String | message |
| The error message. More... | |
Static Public Attributes | |
| static String | name |
| The name of the ComparisonFailure class as String. More... | |
Static Public Attributes inherited from AssertionFailedError | |
| static String | name |
| The name of the AssertionFailedError class as String. More... | |
Static Public Attributes inherited from JsUnitError | |
| static String | name |
| The name of the Error class as String. More... | |
Static Public Attributes inherited from Error | |
| static int | testable |
| static String | name |
| The name of the Error class as String. More... | |
Thrown when a test assert comparing equal strings fail.
| void ComparisonFailure::ComparisonFailure | ( | String | msg, |
| String | expected, | ||
| String | actual, | ||
| CallStack | stack | ||
| ) |
Constructor.
An AssertionFailedMessage needs a message and a call stack for construction.
| msg | Failure message (optional). |
| expected | The expected string value. |
| actual | The actual string value. |
| stack | The call stack of the assertion. |
| int ComparisonFailure::mActual |
| int ComparisonFailure::mExpected |
|
static |
The name of the ComparisonFailure class as String.
|
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
|
Generated on Wed Apr 15 2015 02:33:06 for JsUnit by doxygen 1.8.5
|