Phoenix
Object-oriented orthogonally persistent operating system
|
Exceptions during a test (e.g. More...
#include <phoenix_ut.h>
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. |
Exceptions during a test (e.g.
failed assertion) are represented by this class.
ut::TestException::TestException | ( | const char * | op, |
const TestValueBase & | value1, | ||
const TestValueBase & | value2 | ||
) | [inline] |
Failed assertion with two values.
op | String representation of binary operator. |
value1 | First value of failed assertion. |
value2 | Second value of failed assertion. |
ut::TestException::TestException | ( | const char * | op, |
const TestValueBase & | value | ||
) | [inline] |
Failed assertion with one value (unary operator).
op | String representation of unary operator. |
value | Failed assertion operator argument. |
ut::TestException::TestException | ( | const char * | desc, |
const char * | file, | ||
int | line | ||
) | [inline] |
User requested failure.
desc | Description of the failure. |
file | Source file name where the exception occurred. |
line | Line number in the source file specified in file argument. |