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

Namespaces

namespace  exceptions_internal

Classes

class  ThrowingAllocator
class  ThrowingBool
class  ThrowingValue

Enumerations

enum  AllocSpec { kEverythingThrows = 0, kNoThrowAllocate = 1 }
enum  TypeSpec { kEverythingThrows = 0, kNoThrowCopy = 1, kNoThrowMove = 1 << 1, 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 &&)
template<TypeSpec Spec, typename T >
void operator, (T &&, const ThrowingValue< Spec > &)
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

Enumerator:
kEverythingThrows 
kNoThrowAllocate 

Definition at line 605 of file exception_safety_testing.h.

Enumerator:
kEverythingThrows 
kNoThrowCopy 
kNoThrowMove 
kNoThrowNew 

Definition at line 232 of file exception_safety_testing.h.


Function Documentation

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 &&   
)
template<TypeSpec Spec, typename T >
void testing::operator, ( T &&  ,
const ThrowingValue< Spec > &   
)
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

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 Wed Jun 19 2019 19:42:17