Outline throwing of TestSkipException

This commit is contained in:
Martin Hořeňovský committed 2023-03-12 00:45:31 +01:00
1 parent ba94278bdd
commit 1dfaa8abe7
3 files changed
+17 -7

No files matched your search

@@ -12,6 +12,8 @@ namespace Catch {
//! Used to signal that an assertion macro failed
struct TestFailureException{};
//! Used to signal that the remainder of a test should be skipped
struct TestSkipException {};
/**
* Outlines throwing of `TestFailureException` into a single TU
@@ -20,8 +22,12 @@ namespace Catch {
*/
[[noreturn]] void throw_test_failure_exception();
//! Used to signal that the remainder of a test should be skipped
struct TestSkipException{};
/**
* Outlines throwing of `TestSkipException` into a single TU
*
* Also handles `CATCH_CONFIG_DISABLE_EXCEPTIONS` for callers.
*/
[[noreturn]] void throw_test_skip_exception();
} // namespace Catch