|
BDE 4.39.x Production Release
|
Provide utilities for bsls_fuzztest component.
Provide utilities for bsls_fuzztest component.
The bsls_fuzztest_testutil component provides utilities to facilitate testing the bsls_fuzztest component.
This section illustrates intended use of this component.
First, we install an AssertTestHandlerGuard to catch the violation.
Then, we trigger an AssertViolation by calling triggerAssert inside ASSERT_FAIL and verify that a violation occurs as expected.
Next, we trigger a ReviewViolation by calling triggerReview inside ASSERT_FAIL and verify that a violation occurs as expected.