Namespaces | Classes | Enumerations | Functions | Variables
testing Namespace Reference

Namespaces

 exceptions_internal
 

Classes

class  ThrowingAllocator
 
class  ThrowingBool
 
class  ThrowingValue
 

Enumerations

enum  AllocSpec { AllocSpec::kEverythingThrows = 0, AllocSpec::kNoThrowAllocate = 1 }
 
enum  TypeSpec { TypeSpec::kEverythingThrows = 0, TypeSpec::kNoThrowCopy = 1, TypeSpec::kNoThrowMove = 1 << 1, TypeSpec::kNoThrowNew = 1 << 2 }
 

Functions

exceptions_internal::ExceptionSafetyTestBuilder MakeExceptionSafetyTester ()
 
constexpr TypeSpec operator& (TypeSpec a, TypeSpec b)
 
constexpr AllocSpec operator& (AllocSpec a, AllocSpec b)
 
template<TypeSpec Spec, typename T >
void operator, (const ThrowingValue< Spec > &, T &&)=delete
 
template<TypeSpec Spec, typename T >
void operator, (T &&, const ThrowingValue< Spec > &)=delete
 
constexpr TypeSpec operator| (TypeSpec a, TypeSpec b)
 
constexpr AllocSpec operator| (AllocSpec a, AllocSpec b)
 
template<typename Operation >
testing::AssertionResult TestNothrowOp (const Operation &operation)
 
template<typename T , typename... Args>
void TestThrowingCtor (Args &&...args)
 

Variables

exceptions_internal::NoThrowTag nothrow_ctor
 
exceptions_internal::StrongGuaranteeTagType strong_guarantee
 

Enumeration Type Documentation

enum testing::AllocSpec
strong
Enumerator
kEverythingThrows 
kNoThrowAllocate 

Definition at line 605 of file exception_safety_testing.h.

enum testing::TypeSpec
strong
Enumerator
kEverythingThrows 
kNoThrowCopy 
kNoThrowMove 
kNoThrowNew 

Definition at line 232 of file exception_safety_testing.h.

Function Documentation

exceptions_internal::ExceptionSafetyTestBuilder testing::MakeExceptionSafetyTester ( )

Definition at line 26 of file exception_safety_testing.cc.

constexpr TypeSpec testing::operator& ( TypeSpec  a,
TypeSpec  b 
)

Definition at line 48 of file exception_safety_testing.h.

constexpr AllocSpec testing::operator& ( AllocSpec  a,
AllocSpec  b 
)

Definition at line 58 of file exception_safety_testing.h.

template<TypeSpec Spec, typename T >
void testing::operator, ( const ThrowingValue< Spec > &  ,
T &&   
)
delete
template<TypeSpec Spec, typename T >
void testing::operator, ( T &&  ,
const ThrowingValue< Spec > &   
)
delete
constexpr TypeSpec testing::operator| ( TypeSpec  a,
TypeSpec  b 
)

Definition at line 43 of file exception_safety_testing.h.

constexpr AllocSpec testing::operator| ( AllocSpec  a,
AllocSpec  b 
)

Definition at line 53 of file exception_safety_testing.h.

template<typename Operation >
testing::AssertionResult testing::TestNothrowOp ( const Operation &  operation)

Definition at line 798 of file exception_safety_testing.h.

template<typename T , typename... Args>
void testing::TestThrowingCtor ( Args &&...  args)

Definition at line 778 of file exception_safety_testing.h.

Variable Documentation

exceptions_internal::NoThrowTag testing::nothrow_ctor

Definition at line 22 of file exception_safety_testing.cc.

Definition at line 24 of file exception_safety_testing.cc.



abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:39