#include <exception_safety_testing.h>
Public Member Functions | |
| template<typename NewOperation , typename = EnableIfTestable<sizeof...(Contracts), Factory, NewOperation>> | |
| testing::AssertionResult | Test (const NewOperation &new_operation) const |
| template<typename LazyOperation = Operation, typename = EnableIfTestable<sizeof...(Contracts), Factory, LazyOperation>> | |
| testing::AssertionResult | Test () const |
| template<typename... MoreContracts> | |
| ExceptionSafetyTestBuilder < Factory, Operation, Contracts..., absl::decay_t < MoreContracts >...> | WithContracts (const MoreContracts &...more_contracts) const |
| template<typename NewFactory > | |
| ExceptionSafetyTestBuilder < absl::decay_t< NewFactory > , Operation, Contracts...> | WithFactory (const NewFactory &new_factory) const |
| template<typename T > | |
| ExceptionSafetyTestBuilder < DefaultFactory< T > , Operation, Contracts...> | WithInitialValue (const T &t) const |
| template<typename NewOperation > | |
| ExceptionSafetyTestBuilder < Factory, absl::decay_t < NewOperation >, Contracts...> | WithOperation (const NewOperation &new_operation) const |
Private Member Functions | |
| ExceptionSafetyTestBuilder () | |
| ExceptionSafetyTestBuilder (const Factory &f, const Operation &o, const std::tuple< Contracts...> &i) | |
| template<typename SelectedOperation , size_t... Indices> | |
| testing::AssertionResult | TestImpl (SelectedOperation selected_operation, absl::index_sequence< Indices...>) const |
Private Attributes | |
| std::tuple< Contracts...> | contracts_ |
| Factory | factory_ |
| Operation | operation_ |
Friends | |
| class | ExceptionSafetyTestBuilder |
| ExceptionSafetyTestBuilder | testing::MakeExceptionSafetyTester () |
Definition at line 958 of file exception_safety_testing.h.
| testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::ExceptionSafetyTestBuilder | ( | ) | [inline, private] |
Definition at line 1073 of file exception_safety_testing.h.
| testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::ExceptionSafetyTestBuilder | ( | const Factory & | f, |
| const Operation & | o, | ||
| const std::tuple< Contracts...> & | i | ||
| ) | [inline, private] |
Definition at line 1075 of file exception_safety_testing.h.
| testing::AssertionResult testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::Test | ( | const NewOperation & | new_operation | ) | const [inline] |
Definition at line 1044 of file exception_safety_testing.h.
| testing::AssertionResult testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::Test | ( | ) | const [inline] |
Definition at line 1063 of file exception_safety_testing.h.
| testing::AssertionResult testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::TestImpl | ( | SelectedOperation | selected_operation, |
| absl::index_sequence< Indices...> | |||
| ) | const [inline, private] |
Definition at line 1080 of file exception_safety_testing.h.
| ExceptionSafetyTestBuilder<Factory, Operation, Contracts..., absl::decay_t<MoreContracts>...> testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::WithContracts | ( | const MoreContracts &... | more_contracts | ) | const [inline] |
Definition at line 1018 of file exception_safety_testing.h.
| ExceptionSafetyTestBuilder<absl::decay_t<NewFactory>, Operation, Contracts...> testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::WithFactory | ( | const NewFactory & | new_factory | ) | const [inline] |
Definition at line 987 of file exception_safety_testing.h.
| ExceptionSafetyTestBuilder<DefaultFactory<T>, Operation, Contracts...> testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::WithInitialValue | ( | const T & | t | ) | const [inline] |
Definition at line 974 of file exception_safety_testing.h.
| ExceptionSafetyTestBuilder<Factory, absl::decay_t<NewOperation>, Contracts...> testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::WithOperation | ( | const NewOperation & | new_operation | ) | const [inline] |
Definition at line 998 of file exception_safety_testing.h.
friend class ExceptionSafetyTestBuilder [friend] |
Definition at line 1069 of file exception_safety_testing.h.
| ExceptionSafetyTestBuilder testing::MakeExceptionSafetyTester | ( | ) | [friend] |
std::tuple<Contracts...> testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::contracts_ [private] |
Definition at line 1089 of file exception_safety_testing.h.
Factory testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::factory_ [private] |
Definition at line 1087 of file exception_safety_testing.h.
Operation testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::operation_ [private] |
Definition at line 1088 of file exception_safety_testing.h.