Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Macros | Enumerations | Functions | Variables
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::is_reference< T >
 
struct  testing::internal::is_reference< T & >
 
struct  testing::internal::KindOf< T >
 
struct  testing::internal::LinkedPtrLessThan< T >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kFromKind, From, kToKind, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kBool, bool, kBool, bool >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kBool, bool, kFloatingPoint, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kBool, bool, kInteger, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kBool, bool >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kInteger, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kInteger, From, kBool, bool >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kInteger, From, kFloatingPoint, To >
 
struct  testing::internal::LosslessArithmeticConvertibleImpl< kInteger, From, kInteger, To >
 
struct  testing::internal::PointeeOf< Pointer >
 
struct  testing::internal::PointeeOf< T * >
 
struct  testing::internal::remove_reference< T >
 
struct  testing::internal::remove_reference< T & >
 
class  testing::internal::StlContainerView< RawContainer >
 
class  testing::internal::StlContainerView< ::std::tr1::tuple< ElementPointer, Size > >
 
class  testing::internal::StlContainerView< Element[N]>
 
struct  testing::internal::type_equals< T1, T2 >
 
struct  testing::internal::type_equals< T, T >
 

Namespaces

 testing
 
 testing::internal
 

Macros

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

Enumerations

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

Functions

template<typename From , typename To >
void testing::internal::Assert (bool condition, const char *file, int line)
 
string testing::internal::ConvertIdentifierNameToWords (const char *id_name)
 
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)
 
template<typename Pointer >
Pointer::element_type * testing::internal::GetRawPointer (const Pointer &p)
 
template<typename Element >
Element * testing::internal::GetRawPointer (Element *p)
 
 testing::internal::GMOCK_DECLARE_KIND_ (bool, kBool)
 
 testing::internal::GMOCK_DECLARE_KIND_ (char, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (signed char, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (unsigned char, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (short, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (int, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (long, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (wchar_t, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (Int64, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (UInt64, kInteger)
 
 testing::internal::GMOCK_DECLARE_KIND_ (float, kFloatingPoint)
 
 testing::internal::GMOCK_DECLARE_KIND_ (double, kFloatingPoint)
 
 testing::internal::GMOCK_DECLARE_KIND_ (long double, kFloatingPoint)
 
template<typename T >
testing::internal::Invalid ()
 
template<>
void testing::internal::Invalid< void > ()
 
void testing::internal::Log (LogSeverity severity, const string &message, int stack_frames_to_skip)
 
bool testing::internal::LogIsVisible (LogSeverity severity)
 

Variables

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

Macro Definition Documentation

#define GMOCK_DECLARE_KIND_ (   type,
  kind 
)    template <> struct KindOf<type> { enum { value = kind }; }
#define GMOCK_IS_SIGNED_ (   T)    (static_cast<T>(-1) < 0)
#define GMOCK_KIND_OF_ (   type)
Value:
static_cast< ::testing::internal::TypeKind>( \
Definition: gmock-internal-utils.h:131
TypeKind
Definition: gmock-internal-utils.h:126
#define GMOCK_WCHAR_T_IS_NATIVE_   1