catch2/tests/SelfTest/UsageTests
Alan Jowett 98a6c69e1e Switch from AddVectoredExceptionHandler to SetUnhandledExceptionFilter
This avoids issues with Catch2's handler firing too early, on
structured exceptions that would be handled later. This issue
meant that the old attempts at structured exception handling
were incompatible with Windows's ASan, because it throws
continuable `C0000005` exception, which it then handles.

With the new handling, Catch2 is only notified if nothing else,
including the debugger, has handled the exception.

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Closes #2332
Closes #2286
Closes #898
2022-01-03 22:50:32 +01:00
..
Approx.tests.cpp Make Approx::operator() const 2021-08-26 21:27:43 +02:00
BDD.tests.cpp Remove the ill-conceived compilation perf tests using real tests 2021-06-20 19:15:02 +02:00
Benchmark.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Class.tests.cpp Remove the ill-conceived compilation perf tests using real tests 2021-06-20 19:15:02 +02:00
Compilation.tests.cpp Add STATIC_CHECK and STATIC_CHECK_FALSE (#2318) 2021-11-15 00:28:27 +01:00
Condition.tests.cpp Mark !mayfail tests as skipped in the JUnit reporter 2021-10-10 22:21:39 +02:00
Decomposition.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
EnumToString.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Exception.tests.cpp Rename Contains string matcher builder to ContainsSubstring 2021-09-27 21:28:33 +02:00
Generators.tests.cpp Fix compiling with C++17 + Clang 5 + libstdc++ v5 2021-05-26 00:34:23 +02:00
Matchers.tests.cpp Rename Contains string matcher builder to ContainsSubstring 2021-09-27 21:28:33 +02:00
MatchersRanges.tests.cpp Add more comprehensive tests for the quantifier matchers 2020-12-27 20:20:55 +01:00
Message.tests.cpp Apply PR #2297 to devel branch (#2300) 2021-10-21 15:47:21 +02:00
Misc.tests.cpp Switch from AddVectoredExceptionHandler to SetUnhandledExceptionFilter 2022-01-03 22:50:32 +01:00
ToStringByte.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringChrono.tests.cpp Unconditionally provide <chrono> StringMakers 2020-02-03 20:53:36 +01:00
ToStringGeneral.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringOptional.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringPair.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringTuple.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVariant.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVector.tests.cpp Remove catch.hpp 2020-03-29 21:32:13 +02:00
ToStringWhich.tests.cpp Remove testing of CATCH_CONFIG_FALLBACK_STRINGIFIER from SelfTest 2020-01-21 15:14:24 +01:00
Tricky.tests.cpp Remove some obsolete tests 2021-12-31 15:12:53 +01:00
VariadicMacros.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00