Guard that installs and restores fuzz-test assertion and precondition handlers.
Declared in <bsls_fuzztest.h>
class FuzzTestHandlerGuard;
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.
| Name | Description |
|---|---|
FuzzTestHandlerGuard [constructor] | Create a guard that installs the fuzz-test assertion and precondition handlers. |
~FuzzTestHandlerGuard [destructor] | Destroy this guard and restore the previous assertion and precondition handlers. |
getOriginalAssertionHandler | Return the original assertion handler. |
getOriginalReviewHandler | Return the original review handler. |
| Name | Description |
|---|---|
instance | Return the current fuzz test handler guard. |