#include <exception_safety_testing.h>
Public Member Functions | |
ConstructorTracker (int count) | |
~ConstructorTracker () | |
Static Public Member Functions | |
static void | ObjectConstructed (void *address, std::string description) |
static void | ObjectDestructed (void *address) |
Static Private Member Functions | |
static bool | CurrentlyTracking () |
static std::string | ErrorMessage (void *address, const std::string &address_description, int countdown, const std::string &error_description) |
Private Attributes | |
std::unordered_map< void *, TrackedAddress > | address_map_ |
int | countdown_ |
Static Private Attributes | |
static ConstructorTracker * | current_tracker_instance_ = nullptr |
Definition at line 115 of file exception_safety_testing.h.
testing::exceptions_internal::ConstructorTracker::ConstructorTracker | ( | int | count | ) | [inline, explicit] |
Definition at line 117 of file exception_safety_testing.h.
Definition at line 122 of file exception_safety_testing.h.
static bool testing::exceptions_internal::ConstructorTracker::CurrentlyTracking | ( | ) | [inline, static, private] |
Definition at line 168 of file exception_safety_testing.h.
static std::string testing::exceptions_internal::ConstructorTracker::ErrorMessage | ( | void * | address, |
const std::string & | address_description, | ||
int | countdown, | ||
const std::string & | error_description | ||
) | [inline, static, private] |
Definition at line 172 of file exception_safety_testing.h.
static void testing::exceptions_internal::ConstructorTracker::ObjectConstructed | ( | void * | address, |
std::string | description | ||
) | [inline, static] |
Definition at line 136 of file exception_safety_testing.h.
static void testing::exceptions_internal::ConstructorTracker::ObjectDestructed | ( | void * | address | ) | [inline, static] |
Definition at line 151 of file exception_safety_testing.h.
std::unordered_map<void*, TrackedAddress> testing::exceptions_internal::ConstructorTracker::address_map_ [private] |
Definition at line 184 of file exception_safety_testing.h.
Definition at line 185 of file exception_safety_testing.h.
ConstructorTracker * testing::exceptions_internal::ConstructorTracker::current_tracker_instance_ = nullptr [static, private] |
Definition at line 187 of file exception_safety_testing.h.