Secondary fix for #270 (addresses same issue with CHECK)

This commit is contained in:
Phil Nash
2014-04-12 19:20:46 +01:00
parent a176b93738
commit 1bccc03213
6 changed files with 63 additions and 11 deletions
@@ -332,7 +332,8 @@ due to unexpected exception with message:
expected exception
-------------------------------------------------------------------------------
When unchecked exceptions are thrown during a require the test should fail
When unchecked exceptions are thrown during a REQUIRE the test should abort
fail
-------------------------------------------------------------------------------
ExceptionTests.cpp:<line number>
...............................................................................
@@ -342,6 +343,18 @@ ExceptionTests.cpp:<line number>: FAILED:
due to unexpected exception with message:
expected exception
-------------------------------------------------------------------------------
When unchecked exceptions are thrown during a CHECK the test should abort and
fail
-------------------------------------------------------------------------------
ExceptionTests.cpp:<line number>
...............................................................................
ExceptionTests.cpp:<line number>: FAILED:
CHECK( thisThrows() == 0 )
due to unexpected exception with message:
expected exception
-------------------------------------------------------------------------------
Unexpected custom exceptions can be translated
-------------------------------------------------------------------------------
@@ -761,5 +774,5 @@ with expansion:
"first" == "second"
===============================================================================
123 test cases - 37 failed (659 assertions - 92 failed)
124 test cases - 38 failed (660 assertions - 93 failed)