unittest::AssertionException Class Reference

#include <Assertion.hpp>

List of all members.


Detailed Description

ut4cpp raises a AssertionException exception when an assertion fails.
Examples:

TestAssertion.cpp.

Definition at line 102 of file Assertion.hpp.

Public Member Functions

 AssertionException (string msg)
 Constructs a AssertionException object.
 AssertionException (const AssertionException &other)
 Constructs a AssertionException object as a copy from another.

Public Attributes

string msg
 message describing the cause of the assertion failure


Constructor & Destructor Documentation

unittest::AssertionException::AssertionException string  msg  ) 
 

Constructs a AssertionException object.

Parameters:
msg exception description

Definition at line 181 of file Assertion.cpp.

unittest::AssertionException::AssertionException const AssertionException other  ) 
 

Constructs a AssertionException object as a copy from another.

Parameters:
other the AssertionException object to copy

Definition at line 185 of file Assertion.cpp.

References msg.


The documentation for this class was generated from the following files:
Generated on Mon Jun 5 22:05:27 2006 for ut4cpp by  doxygen 1.4.6-NO