BloombergLP::bsls::FuzzTest_TestUtil

Provide sample functions that trigger assert and review violations.

Synopsis

Declared in <bsls_fuzztest_testutil.h>

struct FuzzTest_TestUtil;

Description

This utility class provides sample functions to demonstrate an AssertViolation or a ReviewViolation originating from a different component to facilitate testing of bsls_fuzztest component.

Static Member Functions

NameDescription
triggerAssert Trigger an AssertViolation by calling BSLS_ASSERT_INVOKE.
triggerReview Trigger a ReviewViolation by calling BSLS_REVIEW_INVOKE.