Classes | |
class | ConstructorTracker |
class | DefaultFactory |
class | ExceptionSafetyTest |
class | ExceptionSafetyTestBuilder |
struct | FactoryPtrTypeHelper |
struct | IsUniquePtr |
struct | IsUniquePtr< std::unique_ptr< T, D > > |
struct | NoThrowTag |
struct | StrongGuaranteeTagType |
class | TestBadAllocException |
class | TestException |
struct | TrackedAddress |
class | TrackedObject |
struct | UninitializedT |
Functions | |
testing::AssertionResult | FailureMessage (const TestException &e, int countdown) noexcept |
std::string | GetSpecString (TypeSpec spec) |
std::string | GetSpecString (AllocSpec spec) |
void | MaybeThrow (absl::string_view msg, bool throw_bad_alloc) |
void | SetCountdown (int i=0) |
void | UnsetCountdown () |
Variables | |
int | countdown = -1 |
testing::AssertionResult testing::exceptions_internal::FailureMessage | ( | const TestException & | e, |
int | countdown | ||
) |
Definition at line 43 of file exception_safety_testing.cc.
std::string testing::exceptions_internal::GetSpecString | ( | TypeSpec | spec | ) |
Definition at line 48 of file exception_safety_testing.cc.
std::string testing::exceptions_internal::GetSpecString | ( | AllocSpec | spec | ) |
Definition at line 67 of file exception_safety_testing.cc.
void testing::exceptions_internal::MaybeThrow | ( | absl::string_view | msg, |
bool | throw_bad_alloc | ||
) |
Definition at line 36 of file exception_safety_testing.cc.
void testing::exceptions_internal::SetCountdown | ( | int | i = 0 | ) | [inline] |
Definition at line 98 of file exception_safety_testing.h.
void testing::exceptions_internal::UnsetCountdown | ( | ) | [inline] |
Definition at line 100 of file exception_safety_testing.h.
Definition at line 32 of file exception_safety_testing.cc.