mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-20 12:19:33 +01:00
exception translators considered even for types deriving from std::exception, now
- also added docs for exception translators - updated approvals
This commit is contained in:
@@ -1545,12 +1545,18 @@
|
||||
<TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test">
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Unexpected custom exceptions can be translated">
|
||||
<TestCase name="Non-std exceptions can be translated">
|
||||
<Exception filename="projects/SelfTest/ExceptionTests.cpp" >
|
||||
custom exception
|
||||
</Exception>
|
||||
<OverallResult success="false"/>
|
||||
</TestCase>
|
||||
<TestCase name="Custom std-exceptions can be custom translated">
|
||||
<Exception filename="projects/SelfTest/ExceptionTests.cpp" >
|
||||
custom std exception
|
||||
</Exception>
|
||||
<OverallResult success="false"/>
|
||||
</TestCase>
|
||||
<TestCase name="Custom exceptions can be translated when testing for nothrow">
|
||||
<Expression success="false" type="REQUIRE_NOTHROW" filename="projects/SelfTest/ExceptionTests.cpp" >
|
||||
<Original>
|
||||
@@ -9496,7 +9502,7 @@ there"
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="817" failures="84" expectedFailures="13"/>
|
||||
<OverallResults successes="817" failures="85" expectedFailures="13"/>
|
||||
</Group>
|
||||
<OverallResults successes="817" failures="84" expectedFailures="13"/>
|
||||
<OverallResults successes="817" failures="85" expectedFailures="13"/>
|
||||
</Catch>
|
||||
|
||||
Reference in New Issue
Block a user