Guard that installs and restores fuzz‐test assertion and precondition handlers.
Synopsis
Declared in <bsls_fuzztest.h>
class FuzzTestHandlerGuard;
Description
This class provides a guard that will install and uninstall four handlers, one for assertion failure, one for review failure, one for BSLS_PRECONDITIONS_BEGIN, and one for BSLS_PRECONDITIONS_END, within its protected scope.
Member Functions
Name |
Description |
|
Create a guard that installs the fuzz‐test assertion and precondition handlers. |
|
Destroy this guard and restore the previous assertion and precondition handlers. |
Return the original assertion handler. |
|
Return the original review handler. |