#include <testException.h>
Public Member Functions | |
| TestException () throw () | |
| Default constructor. | |
| TestException (const char *message) throw () | |
| This constructor sets the internal "what()" message. | |
| TestException (const char *message, const char *fileName, int lineNumber) throw () | |
| This constructor builds the internal "what()" message using detailed information about the failure. | |
| TestException (const char *message, const char *functionName, const char *fileName, int lineNumber) throw () | |
| This constructor builds the internal "what()" message using detailed information about the failure. | |
| TestException (const TestException &source) throw () | |
| The copy constructor deep copies its argument. | |
| virtual | ~TestException () throw () |
| Destructor. | |
It is mostly thrown by the DLR_TEST_ASSERT() macro, or it can be thrown explicitly by the test code.
Definition at line 34 of file testException.h.
| dlr::test::TestException::TestException | ( | ) | throw () [inline] |
| dlr::test::TestException::TestException | ( | const char * | message | ) | throw () [inline] |
This constructor sets the internal "what()" message.
This message should generally provide information about the test failure.
| message | This argument specifies the text of the message. |
Definition at line 49 of file testException.h.
| dlr::test::TestException::TestException | ( | const char * | message, | |
| const char * | fileName, | |||
| int | lineNumber | |||
| ) | throw () [inline] |
This constructor builds the internal "what()" message using detailed information about the failure.
| message | This argument specifies a description of the failure. | |
| fileName | This argument specifies the name of the file in which the failure occurred. | |
| lineNumber | This argument specifies the line number at which the failure occurred. |
Definition at line 65 of file testException.h.
| dlr::test::TestException::TestException | ( | const char * | message, | |
| const char * | functionName, | |||
| const char * | fileName, | |||
| int | lineNumber | |||
| ) | throw () [inline] |
This constructor builds the internal "what()" message using detailed information about the failure.
| message | This argument specifies a description of the failure. | |
| functionName | This argument specifies the name of the function in which the failure occurred. | |
| fileName | This argument specifies the name of the file in which the failure occurred. | |
| lineNumber | This argument specifies the line number at which the failure occurred. |
Definition at line 85 of file testException.h.
| dlr::test::TestException::TestException | ( | const TestException & | source | ) | throw () [inline] |
The copy constructor deep copies its argument.
| source | This argument is the class instance to be copied. |
Definition at line 96 of file testException.h.
| virtual dlr::test::TestException::~TestException | ( | ) | throw () [inline, virtual] |
1.5.8