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 |
Typedefs | |
| template<size_t LazyContractsCount, typename LazyFactory , typename LazyOperation > | |
| using | EnableIfTestable = typename absl::enable_if_t< LazyContractsCount !=0 &&!std::is_same< LazyFactory, UninitializedT >::value &&!std::is_same< LazyOperation, UninitializedT >::value > |
| template<typename Factory > | |
| using | FactoryElementType = typename FactoryPtrType< Factory >::element_type |
| template<typename Factory > | |
| using | FactoryPtrType = typename FactoryPtrTypeHelper< Factory >::type |
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 |
| using testing::exceptions_internal::EnableIfTestable = typedef typename absl::enable_if_t< LazyContractsCount != 0 && !std::is_same<LazyFactory, UninitializedT>::value && !std::is_same<LazyOperation, UninitializedT>::value> |
Definition at line 837 of file exception_safety_testing.h.
| using testing::exceptions_internal::FactoryElementType = typedef typename FactoryPtrType<Factory>::element_type |
Definition at line 874 of file exception_safety_testing.h.
| using testing::exceptions_internal::FactoryPtrType = typedef typename FactoryPtrTypeHelper<Factory>::type |
Definition at line 871 of file exception_safety_testing.h.
|
noexcept |
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.
|
inline |
Definition at line 98 of file exception_safety_testing.h.
|
inline |
Definition at line 100 of file exception_safety_testing.h.
| int testing::exceptions_internal::countdown = -1 |
Definition at line 32 of file exception_safety_testing.cc.