Definition at line 50 of file Exception_T.cpp.
Public Member Functions | |
int | testErrorSeverity () |
int | testMacros () |
int | testThrowTypes () |
Private Member Functions | |
void | rethrowSomething (gnsstk::TestUtil &testFramework) |
Throw an exception for testMacros. More... | |
void | throwSomething (gnsstk::TestUtil &testFramework) |
Throw an exception for testMacros. More... | |
template<class EXC > | |
int | throwType () |
Template function used by throwTypes() More... | |
Private Attributes | |
int | cowLine1 |
int | cowLine2 |
|
private |
Throw an exception for testMacros.
Definition at line 316 of file Exception_T.cpp.
int Exception_T::testErrorSeverity | ( | ) |
Check error id and severity preservation. Tests the following methods: getErrorId() isRecoverable() getLocationCount() getTextCount() addText() addLocation() getLocation() ExceptionLocation::getLineNumber() ExceptionLocation::getFileName() ExceptionLocation::getFunctionName() setErrorId() setSeverity()
Macros: GNSSTK_THROW()
Definition at line 121 of file Exception_T.cpp.
int Exception_T::testMacros | ( | ) |
Test macro function: GNSSTK_RETHROW() GNSSTK_ASSERT() NEW_EXCEPTION_CLASS()
Definition at line 212 of file Exception_T.cpp.
int Exception_T::testThrowTypes | ( | ) |
Test instantiation and throwing of the globally-defined exception classes
Definition at line 97 of file Exception_T.cpp.
|
private |
Throw an exception for testMacros.
Definition at line 308 of file Exception_T.cpp.
|
private |
Template function used by throwTypes()
Definition at line 279 of file Exception_T.cpp.
|
private |
Definition at line 92 of file Exception_T.cpp.
|
private |
Definition at line 92 of file Exception_T.cpp.