#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 | |
template<typename , typename , typename... > | |
class | ExceptionSafetyTestBuilder |
ExceptionSafetyTestBuilder | testing::MakeExceptionSafetyTester () |
Definition at line 841 of file exception_safety_testing.h.
|
inlineprivate |
Definition at line 1073 of file exception_safety_testing.h.
|
inlineprivate |
Definition at line 1075 of file exception_safety_testing.h.
|
inline |
Definition at line 1044 of file exception_safety_testing.h.
|
inline |
Definition at line 1063 of file exception_safety_testing.h.
|
inlineprivate |
Definition at line 1080 of file exception_safety_testing.h.
|
inline |
Definition at line 1018 of file exception_safety_testing.h.
|
inline |
Definition at line 987 of file exception_safety_testing.h.
|
inline |
Definition at line 974 of file exception_safety_testing.h.
|
inline |
Definition at line 998 of file exception_safety_testing.h.
|
friend |
Definition at line 1069 of file exception_safety_testing.h.
|
friend |
|
private |
Definition at line 1089 of file exception_safety_testing.h.
|
private |
Definition at line 1087 of file exception_safety_testing.h.
|
private |
Definition at line 1088 of file exception_safety_testing.h.