#include <TestComponent.hh>
Public Methods | |
| ErrorReport (const char *type_name, const string &lbl, const char *fname, const char *fnt_name, long lineno) | |
| Construct the error report. More... | |
| const string & | getObject () const |
| Test Object ID. More... | |
| const string & | getLabel () const |
| Get the test label. More... | |
| const string & | getFileName () const |
| Get the name of the file where the test failed. More... | |
| const string & | getLineNumber () const |
| Get the line number of the failed test. More... | |
| const string & | getTestFunctionName () const |
| Get the function name where the test failed. More... | |
Private Attributes | |
| string | m_to_name |
| The rtti (i.e., typeid) name of the test object. More... | |
| string | m_lbl |
| The test label. More... | |
| string | m_fname |
| The test filename. More... | |
| string | m_fnt_name |
| The test function name (if supported with use class::method). More... | |
| long | m_lineno |
| The test line number. More... | |
Friends | |
| ostream & | operator<< (ostream &ostr, const TestComponent::ErrorReport &my_error_report) |
| Output the error report on the output stream. More... | |
Definition at line 37 of file TestComponent.hh.
|
||||||||||||||||||||||||
|
Construct the error report.
Definition at line 32 of file TestComponent.cc. |
|
|
Get the name of the file where the test failed.
Definition at line 55 of file TestComponent.hh. References m_to_name. |
|
|
Get the test label.
Definition at line 52 of file TestComponent.hh. References m_lbl. |
|
|
Get the line number of the failed test.
Definition at line 58 of file TestComponent.hh. References m_to_name. |
|
|
Test Object ID.
Definition at line 49 of file TestComponent.hh. References m_to_name. |
|
|
Get the function name where the test failed.
Definition at line 61 of file TestComponent.hh. References m_to_name. |
|
||||||||||||
|
Output the error report on the output stream.
Definition at line 6 of file TestComponent.cc. |
|
|
The test filename.
Definition at line 71 of file TestComponent.hh. |
|
|
The test function name (if supported with use class::method).
Definition at line 74 of file TestComponent.hh. |
|
|
The test label.
Definition at line 68 of file TestComponent.hh. Referenced by getLabel. |
|
|
The test line number.
Definition at line 77 of file TestComponent.hh. |
|
|
The rtti (i.e., typeid) name of the test object.
Definition at line 65 of file TestComponent.hh. Referenced by getFileName, getLineNumber, getObject, and getTestFunctionName. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002