catch2/tests/SelfTest/UsageTests
rosstang cd60a0301c
Assert Info reset need to also reset result disposition to normal to handle uncaught exception correctly (#2723)
* AssertionEnd does not reset the assertion info yet. That is done after populateReaction. And reset assertion info would also reset the result disposition to normal, so that any uncaught exception would be reported as failure

* Approving test output changes due to added unit tests

* Unit tests to throw std::runtime_error instead of std::exception

* Add a unit test to test incomplete assertion handler

---------

Co-authored-by: Ross <ross.tang@gfo-x.com>
2023-08-07 22:07:31 +02:00
..
Approx.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
BDD.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Benchmark.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Class.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Compilation.tests.cpp Move SFINAE in decomposer into return type 2022-12-09 00:40:01 +01:00
Condition.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Decomposition.tests.cpp Add test for comparing pointers to NULL with != 2022-11-04 19:24:39 +01:00
EnumToString.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Exception.tests.cpp Fix unreachable-code-return warnings 2023-04-20 14:53:03 +02:00
Generators.tests.cpp Test & document SKIP in generator constructor 2023-05-31 15:12:43 +02:00
Matchers.tests.cpp Static analysis cleanup in tests 2023-05-29 21:45:30 +02:00
MatchersRanges.tests.cpp Fix spelling 2023-04-29 12:55:51 +02:00
Message.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Misc.tests.cpp Assert Info reset need to also reset result disposition to normal to handle uncaught exception correctly (#2723) 2023-08-07 22:07:31 +02:00
Skip.tests.cpp Test & document SKIP in generator constructor 2023-05-31 15:12:43 +02:00
ToStringByte.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringChrono.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringGeneral.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringOptional.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringPair.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringTuple.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringVariant.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringVector.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToStringWhich.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Tricky.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
VariadicMacros.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00