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

View File

@@ -1111,7 +1111,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>
...............................................................................
@@ -1121,6 +1122,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
-------------------------------------------------------------------------------
When unchecked exceptions are thrown, but caught, they do not affect the test
-------------------------------------------------------------------------------
@@ -6969,5 +6982,5 @@ with expansion:
true
===============================================================================
123 test cases - 52 failed (678 assertions - 111 failed)
124 test cases - 53 failed (679 assertions - 112 failed)