Phoenix
Object-oriented orthogonally persistent operating system
Public Member Functions
ut::TestException Class Reference

Exceptions during a test (e.g. More...

#include <phoenix_ut.h>

Collaboration diagram for ut::TestException:

List of all members.

Public Member Functions

 TestException (const char *op, const TestValueBase &value1, const TestValueBase &value2)
 Failed assertion with two values.
 TestException (const char *op, const TestValueBase &value)
 Failed assertion with one value (unary operator).
 TestException (const char *desc, const char *file, int line)
 User requested failure.

Detailed Description

Exceptions during a test (e.g.

failed assertion) are represented by this class.


Constructor & Destructor Documentation

ut::TestException::TestException ( const char *  op,
const TestValueBase value1,
const TestValueBase value2 
) [inline]

Failed assertion with two values.

Parameters:
opString representation of binary operator.
value1First value of failed assertion.
value2Second value of failed assertion.
ut::TestException::TestException ( const char *  op,
const TestValueBase value 
) [inline]

Failed assertion with one value (unary operator).

Parameters:
opString representation of unary operator.
valueFailed assertion operator argument.
ut::TestException::TestException ( const char *  desc,
const char *  file,
int  line 
) [inline]

User requested failure.

Parameters:
descDescription of the failure.
fileSource file name where the exception occurred.
lineLine number in the source file specified in file argument.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines