proxygen
gmock-internal-utils.h File Reference
#include <stdio.h>
#include <ostream>
#include <string>
#include "gmock/internal/gmock-generated-internal-utils.h"
#include "gmock/internal/gmock-port.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Classes

struct  testing::internal::PointeeOf< Pointer >
 
struct  testing::internal::PointeeOf< T * >
 
struct  testing::internal::LinkedPtrLessThan< T >
 
struct  testing::internal::KindOf< T >
 
struct  testing::internal::KindOf< bool >
 
struct  testing::internal::KindOf< char >
 
struct  testing::internal::KindOf< signed char >
 
struct  testing::internal::KindOf< unsigned char >
 
struct  testing::internal::KindOf< short >
 
struct  testing::internal::KindOf< unsigned short >
 
struct  testing::internal::KindOf< int >
 
struct  testing::internal::KindOf< unsigned int >
 
struct  testing::internal::KindOf< long >
 
struct  testing::internal::KindOf< unsigned long >
 
struct  testing::internal::KindOf< wchar_t >
 
struct  testing::internal::KindOf< Int64 >
 
struct  testing::internal::KindOf< UInt64 >
 
struct  testing::internal::KindOf< float >
 
struct  testing::internal::KindOf< double >
 
struct  testing::internal::KindOf< long double >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kFromKind, From, kToKind, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kBool, bool, kBool, bool >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kBool, bool, kInteger, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kBool, bool, kFloatingPoint, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kInteger, From, kBool, bool >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kInteger, From, kInteger, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kInteger, From, kFloatingPoint, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kBool, bool >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kInteger, To >
 
struct  testing::internal::is_reference< T >
 
struct  testing::internal::is_reference< T & >
 
struct  testing::internal::type_equals< T1, T2 >
 
struct  testing::internal::type_equals< T, T >
 
struct  testing::internal::remove_reference< T >
 
struct  testing::internal::remove_reference< T & >
 
struct  testing::internal::DecayArray< T >
 
struct  testing::internal::DecayArray< T[N]>
 
struct  testing::internal::DecayArray< T[]>
 
class  testing::internal::StlContainerView< RawContainer >
 
class  testing::internal::StlContainerView< Element[N]>
 
class  testing::internal::StlContainerView< ::testing::tuple< ElementPointer, Size > >
 
struct  testing::internal::RemoveConstFromKey< T >
 
struct  testing::internal::RemoveConstFromKey< std::pair< const K, V > >
 
struct  testing::internal::BooleanConstant< kValue >
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define GMOCK_WCHAR_T_IS_NATIVE_   1
 
#define GMOCK_DECLARE_KIND_(type, kind)   template <> struct KindOf<type> { enum { value = kind }; }
 
#define GMOCK_KIND_OF_(type)
 
#define GMOCK_IS_SIGNED_(T)   (static_cast<T>(-1) < 0)
 

Enumerations

enum  testing::internal::TypeKind {
  testing::internal::kBool, testing::internal::kInteger, testing::internal::kFloatingPoint, testing::internal::kOther,
  testing::internal::kBool, testing::internal::kInteger, testing::internal::kFloatingPoint, testing::internal::kOther,
  testing::internal::kBool, testing::internal::kInteger, testing::internal::kFloatingPoint, testing::internal::kOther
}
 
enum  testing::internal::LogSeverity {
  testing::internal::kInfo = 0, testing::internal::kWarning = 1, testing::internal::kInfo = 0, testing::internal::kWarning = 1,
  testing::internal::kInfo = 0, testing::internal::kWarning = 1
}
 

Functions

GTEST_API_ string testing::internal::ConvertIdentifierNameToWords (const char *id_name)
 
template<typename Pointer >
const Pointer::element_type * testing::internal::GetRawPointer (const Pointer &p)
 
template<typename Element >
Element * testing::internal::GetRawPointer (Element *p)
 
template<typename From , typename To >
void testing::internal::Assert (bool condition, const char *file, int line)
 
void testing::internal::Expect (bool condition, const char *file, int line, const string &msg)
 
void testing::internal::Expect (bool condition, const char *file, int line)
 
GTEST_API_ bool testing::internal::LogIsVisible (LogSeverity severity)
 
GTEST_API_ void testing::internal::Log (LogSeverity severity, const string &message, int stack_frames_to_skip)
 
template<typename T >
T testing::internal::Invalid ()
 

Variables

const char testing::internal::kInfoVerbosity [] = "info"
 
const char testing::internal::kWarningVerbosity [] = "warning"
 
const char testing::internal::kErrorVerbosity [] = "error"
 

Macro Definition Documentation

#define GMOCK_DECLARE_KIND_ (   type,
  kind 
)    template <> struct KindOf<type> { enum { value = kind }; }

Definition at line 136 of file gmock-internal-utils.h.

#define GMOCK_IS_SIGNED_ (   T)    (static_cast<T>(-1) < 0)

Definition at line 173 of file gmock-internal-utils.h.

#define GMOCK_WCHAR_T_IS_NATIVE_   1

Definition at line 104 of file gmock-internal-utils.h.