Go to the source code of this file.
|
| template<typename ErrorType , std::enable_if_t<!std::is_same< ErrorType, legacy::er::FatalKind >::value &&!std::is_same< ErrorType, legacy::er::EnforceViolationKind >::value &&!std::is_same< ErrorType, legacy::er::AssertViolationKind >::value, bool > = true> |
| auto | iox2::bb::testing::expect_fatal_failure (const bb::StaticFunction< void()> &test_function, const ErrorType expected_error) -> bool |
| | This function is used in cases a fatal failure is expected. The function only works in combination with the iceoryx error handler. It is not recommended to use this function directly but the IOX2_TESTING_EXPECT_FATAL_FAILURE macro instead.
|
| |
| auto | iox2::bb::testing::expect_no_fatal_failure (const bb::StaticFunction< void()> &test_function) -> bool |
| | This function is used in cases no fatal failure is expected but could potentially occur. The function only works in combination with the iceoryx error handler. It is not recommended to use this function directly but the IOX2_TESTING_EXPECT_NO_FATAL_FAILURE macro instead.
|
| |
◆ IOX2_TESTING_EXPECT_FATAL_FAILURE
◆ IOX2_TESTING_EXPECT_NO_FATAL_FAILURE