Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsls::AssertTestHandlerGuard Class Reference

#include <bsls_asserttest.h>

List of all members.

Public Member Functions

 AssertTestHandlerGuard ()
 ~AssertTestHandlerGuard ()

Detailed Description

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.

See Component bsls_asserttest


Constructor & Destructor Documentation

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.


The documentation for this class was generated from the following file: