Functions | |
| void | fail (vrj::test::Test *test, vrj::test::Message message, std::string filename, int linenum) |
| Throw failure exception with given message and line number info. More... | |
| void | failIf (bool shouldFail, vrj::test::Test *test, vrj::test::Message message, std::string filename, int linenum) |
| Throws an exception with given message and line information if shouldFail == true. More... | |
|
||||||||||||||||||||
|
Throw failure exception with given message and line number info.
Definition at line 48 of file Asserter.h.
00049 {
00050 throw vrj::test::TestFailure(test, message, filename, linenum);
00051 }
|
|
||||||||||||||||||||||||
|
Throws an exception with given message and line information if shouldFail == true.
Definition at line 56 of file Asserter.h.
00057 {
00058 if( shouldFail )
00059 fail(test,message,filename,linenum);
00060 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002