Quick Links: |
#include <bsls_asserttest.h>
Public Member Functions | |
AssertTestHandlerGuard () | |
~AssertTestHandlerGuard () |
This class provides a guard that will install and uninstall the negative testing assertion handler, AssertTest::failTestDriver
, within the protected scope, as well as a corresponding review handler, AssertTest::failTestDriverByReview
.
bsls::AssertTestHandlerGuard::AssertTestHandlerGuard | ( | ) |
Create a AssertTestHandlerGuard
object, installing the AssertTest::failTestDriver
assertion handler.
bsls::AssertTestHandlerGuard::~AssertTestHandlerGuard | ( | ) |
Destroy this object and uninstall AssertTest::failTestDriver
as the current assertion handler.