#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"

Go to the source code of this file.
Namespaces | |
| testing | |
| testing::exceptions_internal | |
Typedefs | |
| template<size_t LazyContractsCount, typename LazyFactory , typename LazyOperation > | |
| using | testing::exceptions_internal::EnableIfTestable = typename absl::enable_if_t< LazyContractsCount !=0 &&!std::is_same< LazyFactory, UninitializedT >::value &&!std::is_same< LazyOperation, UninitializedT >::value > |
| template<typename Factory > | |
| using | testing::exceptions_internal::FactoryElementType = typename FactoryPtrType< Factory >::element_type |
| template<typename Factory > | |
| using | testing::exceptions_internal::FactoryPtrType = typename FactoryPtrTypeHelper< Factory >::type |
Enumerations | |
| enum | testing::AllocSpec { testing::AllocSpec::kEverythingThrows = 0, testing::AllocSpec::kNoThrowAllocate = 1 } |
| enum | testing::TypeSpec { testing::TypeSpec::kEverythingThrows = 0, testing::TypeSpec::kNoThrowCopy = 1, testing::TypeSpec::kNoThrowMove = 1 << 1, testing::TypeSpec::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 &&)=delete |
| template<TypeSpec Spec, typename T > | |
| void | testing::operator, (T &&, const ThrowingValue< Spec > &)=delete |
| 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 () |