JsUnit 1.3
Project Developer Home doxygen

AssertionFailedError Class Reference

Inheritance diagram for AssertionFailedError:

Inheritance graph
[legend]
Collaboration diagram for AssertionFailedError:

Collaboration graph
[legend]
List of all members.

Detailed Description

Thrown when a test assertion fails.


Public Member Functions

void AssertionFailedError (String msg, CallStack stack)
 Constructor.

Public Attributes

int mCallStack
 The call stack for the message.

Static Public Attributes

static String name
 The name of the AssertionFailedError class as String.


Constructor & Destructor Documentation

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

Constructor.

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

Parameters:
msg Failure message.
stack The call stack of the assertion.


Member Data Documentation

String AssertionFailedError::name [static]

The name of the AssertionFailedError class as String.

Reimplemented from JsUnitError.

Reimplemented in ComparisonFailure.

int AssertionFailedError::mCallStack

The call stack for the message.


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 Fri Oct 19 23:10:45 2007 for JsUnit by doxygen 1.5.2