JsUnit
Project Developer Home doxygen

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AssertionFailedError Class Reference

Thrown when a test assertion fails. More...

Inheritance diagram for AssertionFailedError:
Inheritance graph
Collaboration diagram for AssertionFailedError:
Collaboration graph

Public Member Functions

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 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 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...
 

Detailed Description

Thrown when a test assertion fails.

Constructor & Destructor Documentation

void AssertionFailedError::AssertionFailedError ( String  msg,
CallStack  stack 
)

Constructor.

An AssertionFailedMessage needs a message and a call stack for construction.

Parameters
msgFailure message.
stackThe call stack of the assertion.

Member Data Documentation

int AssertionFailedError::mCallStack

The call stack for the message.

String AssertionFailedError::name
static

The name of the AssertionFailedError class as String.


The documentation for this class was generated from the following file:

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