Boost.Test > Tests > test_exec_fail4
Boost Test logo

The Test Execution Monitor test 4

Rationale: intended to check an ability of the Test Execution Monitor to catch and report exceptions in tests
Type: run-time-failure
Component needed: the Test Execution Monitor
Need Test Pattern: no
Expected Output: .../test_exec_fail4.cpp(23): error in "call_test_main": Msg
Exception in "call_test_main": C string: Test error by throwing C-style string exception

*** 1 failure detected in test case "call_test_main"
Test case "call_test_main" was aborted due to uncaught exception, user assert or system error
Result Code: 201
Source: test_exec_fail4.cpp