BloombergLP::bsls::FuzzTestPreconditionTracker::handleAssertViolation

Handle an assertion violation for fuzz-test precondition tracking.

Synopsis

Declared in <bsls_fuzztest.h>

static
void
handleAssertViolation(AssertViolation const& violation);

Description

Throw a FuzzTestPreconditionException constructed from the specified violation if the assertion violation occurred after the first invocation of handlePreconditionsBegin but before the first invocation of handlePreconditionsEnd, and invoke the assertion handler returned by FuzzTestHandlerGuard::getOriginalAssertionHandler otherwise.

Parameters

NameDescription
violationdetails of the failed assertion