Public Member Functions | Private Member Functions | Private Attributes | Friends
testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts > Class Template Reference

#include <exception_safety_testing.h>

List of all members.

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 ()

Detailed Description

template<typename Factory, typename Operation, typename... Contracts>
class testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >

Definition at line 958 of file exception_safety_testing.h.


Constructor & Destructor Documentation

template<typename Factory, typename Operation, typename... Contracts>
testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::ExceptionSafetyTestBuilder ( ) [inline, private]

Definition at line 1073 of file exception_safety_testing.h.

template<typename Factory, typename Operation, typename... Contracts>
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.


Member Function Documentation

template<typename Factory, typename Operation, typename... Contracts>
template<typename NewOperation , typename = EnableIfTestable<sizeof...(Contracts), Factory, NewOperation>>
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.

template<typename Factory, typename Operation, typename... Contracts>
template<typename LazyOperation = Operation, typename = EnableIfTestable<sizeof...(Contracts), Factory, LazyOperation>>
testing::AssertionResult testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::Test ( ) const [inline]

Definition at line 1063 of file exception_safety_testing.h.

template<typename Factory, typename Operation, typename... Contracts>
template<typename SelectedOperation , size_t... Indices>
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.

template<typename Factory, typename Operation, typename... Contracts>
template<typename... MoreContracts>
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.

template<typename Factory, typename Operation, typename... Contracts>
template<typename NewFactory >
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.

template<typename Factory, typename Operation, typename... Contracts>
template<typename T >
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.

template<typename Factory, typename Operation, typename... Contracts>
template<typename NewOperation >
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.


Friends And Related Function Documentation

template<typename Factory, typename Operation, typename... Contracts>
friend class ExceptionSafetyTestBuilder [friend]

Definition at line 1069 of file exception_safety_testing.h.

template<typename Factory, typename Operation, typename... Contracts>
ExceptionSafetyTestBuilder testing::MakeExceptionSafetyTester ( ) [friend]

Member Data Documentation

template<typename Factory, typename Operation, typename... Contracts>
std::tuple<Contracts...> testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::contracts_ [private]

Definition at line 1089 of file exception_safety_testing.h.

template<typename Factory, typename Operation, typename... Contracts>
Factory testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::factory_ [private]

Definition at line 1087 of file exception_safety_testing.h.

template<typename Factory, typename Operation, typename... Contracts>
Operation testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >::operation_ [private]

Definition at line 1088 of file exception_safety_testing.h.


The documentation for this class was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17