Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/CxxTest/cxxtest
Browse files Browse the repository at this point in the history
  • Loading branch information
whart222 committed Jun 4, 2014
2 parents 48327cf + d1a4857 commit 4464237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cxxtest/TestSuite.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,14 @@ void doAssertSameFiles(const char* file, int line,
# define _TS_CATCH_ABORT(b) _TS_CATCH_TYPE( (const CxxTest::AbortTest &), b )
# define _TS_CATCH_SKIPPED(b) _TS_CATCH_TYPE( (const CxxTest::SkipTest &), b )
# define _TS_LAST_CATCH(b) _TS_CATCH_TYPE( (...), b )
# define _TSM_LAST_CATCH(f,l,m) _TS_LAST_CATCH( { (CxxTest::tracker()).failedTest(f,l,m); TS_ABORT(); } )
# define _TSM_LAST_CATCH(f,l,m) _TS_LAST_CATCH( { (CxxTest::tracker()).failedTest(f,l,m); } )
# ifdef _CXXTEST_HAVE_STD
# define _TS_CATCH_STD(e,b) _TS_CATCH_TYPE( (const std::exception& e), b )
# else // !_CXXTEST_HAVE_STD
# define _TS_CATCH_STD(e,b)
# endif // _CXXTEST_HAVE_STD
# define ___TSM_CATCH(f,l,m) \
_TS_CATCH_STD(e, { (CxxTest::tracker()).failedTest(f,l,e.what()); TS_ABORT(); }) \
_TS_CATCH_STD(e, { (CxxTest::tracker()).failedTest(f,l,e.what()); }) \
_TSM_LAST_CATCH(f,l,m)
# define __TSM_CATCH(f,l,m) \
_TS_CATCH_ABORT( { throw; } ) \
Expand Down

0 comments on commit 4464237

Please sign in to comment.