Classes | Namespaces | Enumerations | Functions
exception_safety_testing.h File Reference
#include <cstddef>
#include <cstdint>
#include <functional>
#include <initializer_list>
#include <iosfwd>
#include <string>
#include <tuple>
#include <unordered_map>
#include "gtest/gtest.h"
#include "absl/base/config.h"
#include "absl/base/internal/pretty_function.h"
#include "absl/memory/memory.h"
#include "absl/meta/type_traits.h"
#include "absl/strings/string_view.h"
#include "absl/strings/substitute.h"
#include "absl/utility/utility.h"
Include dependency graph for exception_safety_testing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::exceptions_internal::ConstructorTracker
class  testing::exceptions_internal::DefaultFactory< T >
class  testing::exceptions_internal::ExceptionSafetyTest< T >
class  testing::exceptions_internal::ExceptionSafetyTestBuilder< Factory, Operation, Contracts >
struct  testing::exceptions_internal::FactoryPtrTypeHelper< Factory >
struct  testing::exceptions_internal::IsUniquePtr< T >
struct  testing::exceptions_internal::IsUniquePtr< std::unique_ptr< T, D > >
struct  testing::exceptions_internal::NoThrowTag
struct  testing::ThrowingAllocator< T, Spec >::rebind< U >
struct  testing::exceptions_internal::StrongGuaranteeTagType
class  testing::exceptions_internal::TestBadAllocException
class  testing::exceptions_internal::TestException
class  testing::ThrowingAllocator< T, Spec >
class  testing::ThrowingBool
class  testing::ThrowingValue< Spec >
struct  testing::exceptions_internal::TrackedAddress
class  testing::exceptions_internal::TrackedObject
struct  testing::exceptions_internal::UninitializedT

Namespaces

namespace  testing
namespace  testing::exceptions_internal

Enumerations

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

Functions

testing::AssertionResult testing::exceptions_internal::FailureMessage (const TestException &e, int countdown) noexcept
std::string testing::exceptions_internal::GetSpecString (TypeSpec spec)
std::string testing::exceptions_internal::GetSpecString (AllocSpec spec)
exceptions_internal::ExceptionSafetyTestBuilder testing::MakeExceptionSafetyTester ()
void testing::exceptions_internal::MaybeThrow (absl::string_view msg, bool throw_bad_alloc)
constexpr TypeSpec testing::operator& (TypeSpec a, TypeSpec b)
constexpr AllocSpec testing::operator& (AllocSpec a, AllocSpec b)
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)
constexpr AllocSpec testing::operator| (AllocSpec a, AllocSpec b)
void testing::exceptions_internal::SetCountdown (int i=0)
template<typename Operation >
testing::AssertionResult testing::TestNothrowOp (const Operation &operation)
template<typename T , typename... Args>
void testing::TestThrowingCtor (Args &&...args)
void testing::exceptions_internal::UnsetCountdown ()


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