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.

Synopsis

Declared in <bsls_fuzztest_testutil.h>

struct FuzzTest_TestUtil;

Static Member Functions

Name

Description

triggerAssert

Trigger an AssertViolation by calling BSLS_ASSERT_INVOKE.

triggerReview

Trigger a ReviewViolation by calling BSLS_REVIEW_INVOKE.

Created with MrDocs