Quick Links: |
#include <bsls_fuzztestpreconditionexception.h>
Public Member Functions | |
BSLS_KEYWORD_CONSTEXPR | FuzzTestPreconditionException (const AssertViolation &assertViolation) |
const AssertViolation & | assertViolation () const |
This class is an implementation detail of the bsls
fuzz testing framework and should not be used directly in user code. It implements an immutable mechanism to communicate to a test-case handler information about the context of a precondition that fails.
See Component bsls_fuzztestpreconditionexception
BSLS_KEYWORD_CONSTEXPR bsls::FuzzTestPreconditionException::FuzzTestPreconditionException | ( | const AssertViolation & | assertViolation | ) | [explicit] |
Create a FuzzTestPreconditionException
object with the specified assertViolation
.
const AssertViolation& bsls::FuzzTestPreconditionException::assertViolation | ( | ) | const |
Return an AssertViolation
containing the details of the precondition that has failed.