[#BloombergLP-bsls-AssertTestHandlerGuard]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::AssertTestHandlerGuard
:relfileprefix: ../../
:mrdocs:

Guard that installs the negative&hyphen;testing assertion and review handlers&period;

== Synopsis

Declared in `&lt;bsls&lowbar;asserttest&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class AssertTestHandlerGuard;
----

== Description

This class provides a guard that will install and uninstall the negative testing assertion handler, `AssertTest&colon;&colon;failTestDriver`, within the protected scope, as well as a corresponding review handler, `AssertTest&colon;&colon;failTestDriverByReview`&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/AssertTestHandlerGuard/2constructor.adoc[`AssertTestHandlerGuard`]         [.small]#[constructor]#
| Create a `AssertTestHandlerGuard` object, installing the `AssertTest&colon;&colon;failTestDriver` assertion handler&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
