Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
testing::internal Namespace Reference

Namespaces

namespace  posix

Classes

struct  AddReference
struct  AddReference< T & >
class  AssertHelper
struct  bool_constant
struct  CompileAssert
struct  CompileAssertTypesEqual< T, T >
struct  ConstCharPtr
class  DefaultGlobalTestPartResultReporter
class  DefaultPerThreadTestPartResultReporter
struct  EnableIf< true >
class  EqHelper
class  EqHelper< true >
class  FilePath
class  FloatingPoint
class  GTestFlagSaver
class  GTestLog
class  GTestMutexLock
class  HasNewFatalFailureHelper
class  ImplicitlyConvertible
struct  is_pointer
struct  is_pointer< T * >
struct  IsAProtocolMessage
struct  IteratorTraits
struct  IteratorTraits< const T * >
struct  IteratorTraits< T * >
class  linked_ptr
class  linked_ptr_internal
class  Mutex
class  NativeArray
class  OsStackTraceGetter
class  OsStackTraceGetterInterface
class  PrettyUnitTestResultPrinter
class  Random
class  RE
struct  RemoveConst
struct  RemoveConst< const T >
struct  RemoveReference
struct  RemoveReference< T & >
class  scoped_ptr
class  ScopedTrace
class  SingleFailureChecker
struct  StaticAssertTypeEqHelper< T, T >
class  String
class  TestCaseNameIs
class  TestEventRepeater
class  TestFactoryBase
class  TestFactoryImpl
class  TestPropertyKeyIs
class  TestResultAccessor
class  ThreadLocal
struct  TraceInfo
class  TypeIdHelper
class  TypeWithSize
class  TypeWithSize< 4 >
class  TypeWithSize< 8 >
class  UnitTestImpl
class  UnitTestOptions
class  UniversalPrinter
class  UniversalPrinter< T & >
class  UniversalPrinter< T[N]>
class  XmlUnitTestResultPrinter

Typedefs

typedef long long BiggestInt
typedef FloatingPoint< double > Double
typedef bool_constant< false > false_type
typedef FloatingPoint< float > Float
typedef TypeWithSize< 4 >::Int Int32
typedef TypeWithSize< 8 >::Int Int64
typedef int IsContainer
typedef char IsNotContainer
typedef GTestMutexLock MutexLock
typedef void(* SetUpTestCaseFunc )()
typedef ::std::string string
typedef void(* TearDownTestCaseFunc )()
typedef TypeWithSize< 8 >::Int TimeInMillis
typedef bool_constant< true > true_type
typedef const void * TypeId
typedef TypeWithSize< 4 >::UInt UInt32
typedef TypeWithSize< 8 >::UInt UInt64
typedef ::std::wstring wstring

Enumerations

enum  CharFormat { kAsIs, kHexEscape, kSpecialEscape }
enum  GTestColor { COLOR_DEFAULT, COLOR_RED, COLOR_GREEN, COLOR_YELLOW }
enum  GTestLogSeverity { GTEST_INFO, GTEST_WARNING, GTEST_ERROR, GTEST_FATAL }
enum  RelationToSource { kReference, kCopy }

Functions

bool AlwaysFalse ()
GTEST_API_ bool AlwaysTrue ()
GTEST_API_ String AppendUserMessage (const String &gtest_msg, const Message &user_msg)
template<typename Iter , typename Element >
Iter ArrayAwareFind (Iter begin, Iter end, const Element &elem)
template<typename T , typename U >
bool ArrayEq (const T *lhs, size_t size, const U *rhs)
template<typename T , typename U >
bool ArrayEq (const T &lhs, const U &rhs)
template<typename T , typename U , size_t N>
bool ArrayEq (const T(&lhs)[N], const U(&rhs)[N])
bool BoolFromGTestEnv (const char *flag, bool default_val)
GTEST_API_ void CaptureStderr ()
GTEST_API_ void CaptureStdout ()
template<class Derived , class Base >
Derived * CheckedDowncastToActualType (Base *base)
UInt32 ChopLowBits (UInt32 *bits, int n)
static char * CloneString (const char *str, size_t length)
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQ (const char *expected_expression, const char *actual_expression, const T1 &expected, const T2 &actual)
GTEST_API_ AssertionResult CmpHelperEQ (const char *expected_expression, const char *actual_expression, BiggestInt expected, BiggestInt actual)
template<typename RawType >
AssertionResult CmpHelperFloatingPointEQ (const char *expected_expression, const char *actual_expression, RawType expected, RawType actual)
GTEST_API_ AssertionResult CmpHelperSTRCASEEQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual)
GTEST_API_ AssertionResult CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
GTEST_API_ AssertionResult CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual)
GTEST_API_ AssertionResult CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const wchar_t *expected, const wchar_t *actual)
GTEST_API_ AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
GTEST_API_ AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
GTEST_API_ char * CodePointToUtf8 (UInt32 code_point, char *str)
void ColoredPrintf (GTestColor color, const char *fmt,...)
template<typename T , typename U >
void CopyArray (const T *from, size_t size, U *to)
template<typename T , typename U >
void CopyArray (const T &from, U *to)
template<typename T , typename U , size_t N>
void CopyArray (const T(&from)[N], U(*to)[N])
template<class Container , typename Predicate >
int CountIf (const Container &c, Predicate predicate)
UInt32 CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second)
template<typename C >
void DefaultPrintTo (IsContainer, false_type, const C &container,::std::ostream *os)
template<typename T >
void DefaultPrintTo (IsNotContainer, true_type, T *p,::std::ostream *os)
template<typename T >
void DefaultPrintTo (IsNotContainer, false_type, const T &value,::std::ostream *os)
template<typename T >
static void Delete (T *x)
GTEST_API_ AssertionResult DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error)
template<typename To , typename From >
To DownCast_ (From *f)
GTEST_API_ AssertionResult EqFailure (const char *expected_expression, const char *actual_expression, const String &expected_value, const String &actual_value, bool ignoring_case)
static String FlagToEnvVar (const char *flag)
template<typename RawType >
AssertionResult FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2)
void FlushInfoLog ()
template<class Container , typename Functor >
void ForEach (const Container &c, Functor functor)
GTEST_API_::std::string FormatCompilerIndependentFileLocation (const char *file, int line)
GTEST_API_::std::string FormatFileLocation (const char *file, int line)
template<typename T1 , typename T2 >
String FormatForComparisonFailureMessage (const T1 &value, const T2 &)
GTEST_API_ std::string FormatTimeInMillisAsSeconds (TimeInMillis ms)
const char * GetAnsiColorCode (GTestColor color)
GTEST_API_ String GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value)
GTEST_API_ String GetCapturedStderr ()
GTEST_API_ String GetCapturedStdout ()
GTEST_API_ FilePath GetCurrentExecutableName ()
GTEST_API_ String GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count)
template<typename E >
GetElementOr (const std::vector< E > &v, int i, E default_value)
int GetNextRandomSeed (int seed)
int GetRandomSeedFromFlag (Int32 random_seed_flag)
GTEST_API_ TypeId GetTestTypeId ()
GTEST_API_ size_t GetThreadCount ()
GTEST_API_ TimeInMillis GetTimeInMillis ()
template<typename T >
TypeId GetTypeId ()
template<typename T >
String GetTypeName ()
class UnitTestImplGetUnitTestImpl ()
GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_ (g_linked_ptr_mutex)
 GTEST_DECLARE_string_ (internal_run_death_test)
 GTEST_DEFINE_STATIC_MUTEX_ (g_linked_ptr_mutex)
 GTEST_DEFINE_string_ (internal_run_death_test,"","Indicates the file, line number, temporal index of ""the single death test to run, and a file descriptor to ""which a success code may be sent, all separated by ""colons. This flag is specified if and only if the current ""process is a sub-process launched for running a thread-safe ""death test. FOR INTERNAL USE ONLY.")
 GTEST_IMPL_CMP_HELPER_ (NE,!=)
 GTEST_IMPL_CMP_HELPER_ (LE,<=)
 GTEST_IMPL_CMP_HELPER_ (LT,< )
 GTEST_IMPL_CMP_HELPER_ (GE, >=)
 GTEST_IMPL_CMP_HELPER_ (GT, >)
static bool GTestIsInitialized ()
template<class T , typename Result >
Result HandleExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location)
template<class T , typename Result >
Result HandleSehExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location)
static bool HasGoogleTestFlagPrefix (const char *str)
AssertionResult HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const string &substr)
template<typename To >
To ImplicitCast_ (To x)
template<typename CharType >
void InitGoogleTestImpl (int *argc, CharType **argv)
GTEST_API_ Int32 Int32FromEnvOrDie (const char *env_var, Int32 default_val)
GTEST_API_ Int32 Int32FromGTestEnv (const char *flag, Int32 default_val)
bool IsAlNum (char ch)
bool IsAlpha (char ch)
template<class C >
IsContainer IsContainerTest (int, typename C::iterator *=NULL, typename C::const_iterator *=NULL)
template<class C >
IsNotContainer IsContainerTest (long)
bool IsDigit (char ch)
bool IsLower (char ch)
char IsNullLiteralHelper (Secret *p)
char(& IsNullLiteralHelper (...))[2]
static bool IsPathSeparator (char c)
bool IsPrintableAscii (wchar_t c)
bool IsSpace (char ch)
GTEST_API_ bool IsTrue (bool condition)
bool IsUpper (char ch)
bool IsUtf16SurrogatePair (wchar_t first, wchar_t second)
bool IsXDigit (char ch)
void LogToStderr ()
template<typename T >
linked_ptr< T > make_linked_ptr (T *ptr)
GTEST_API_ TestInfoMakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, TypeId fixture_class_id, SetUpTestCaseFunc set_up_tc, TearDownTestCaseFunc tear_down_tc, TestFactoryBase *factory)
template<typename T >
bool operator!= (T *ptr, const linked_ptr< T > &x)
inline::std::ostream & operator<< (::std::ostream &os, const String &str)
template<typename T >
bool operator== (T *ptr, const linked_ptr< T > &x)
bool ParseBoolFlag (const char *str, const char *flag, bool *value)
const char * ParseFlagValue (const char *str, const char *flag, bool def_optional)
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, char **argv)
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)
template<typename CharType >
void ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv)
bool ParseInt32 (const Message &src_text, const char *str, Int32 *value)
GTEST_API_ bool ParseInt32Flag (const char *str, const char *flag, Int32 *value)
bool ParseStringFlag (const char *str, const char *flag, String *value)
template<typename UnsignedChar , typename Char >
static CharFormat PrintAsCharLiteralTo (Char c, ostream *os)
static CharFormat PrintAsNarrowStringLiteralTo (char c, ostream *os)
static CharFormat PrintAsWideStringLiteralTo (wchar_t c, ostream *os)
template<typename UnsignedChar , typename Char >
void PrintCharAndCodeTo (Char c, ostream *os)
static void PrintCharsAsStringTo (const char *begin, size_t len, ostream *os)
static void PrintColorEncoded (const char *str)
void PrintFullTestCommentIfPresent (const TestInfo &test_info)
template<typename T >
void PrintRawArrayTo (const T a[], size_t count,::std::ostream *os)
void PrintStringTo (const ::std::string &s, ostream *os)
GTEST_API_ void PrintStringTo (const ::std::string &s,::std::ostream *os)
void PrintTo (wchar_t wc, ostream *os)
void PrintTo (const char *s, ostream *os)
void PrintTo (const wchar_t *s, ostream *os)
template<typename T >
void PrintTo (const T &value,::std::ostream *os)
GTEST_API_ void PrintTo (unsigned char c,::std::ostream *os)
GTEST_API_ void PrintTo (signed char c,::std::ostream *os)
void PrintTo (char c,::std::ostream *os)
void PrintTo (bool x,::std::ostream *os)
GTEST_API_ void PrintTo (wchar_t wc,::std::ostream *os)
GTEST_API_ void PrintTo (const char *s,::std::ostream *os)
void PrintTo (char *s,::std::ostream *os)
void PrintTo (const signed char *s,::std::ostream *os)
void PrintTo (signed char *s,::std::ostream *os)
void PrintTo (const unsigned char *s,::std::ostream *os)
void PrintTo (unsigned char *s,::std::ostream *os)
GTEST_API_ void PrintTo (const wchar_t *s,::std::ostream *os)
void PrintTo (wchar_t *s,::std::ostream *os)
void PrintTo (const ::std::string &s,::std::ostream *os)
template<typename T1 , typename T2 >
void PrintTo (const ::std::pair< T1, T2 > &value,::std::ostream *os)
static void PrintWideCharsAsStringTo (const wchar_t *begin, size_t len, ostream *os)
void ReportFailureInUnknownLocation (TestPartResult::Type result_type, const String &message)
static void SetUpEnvironment (Environment *env)
static bool ShouldRunTestCase (const TestCase *test_case)
GTEST_API_ bool ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
GTEST_API_ bool ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test)
GTEST_API_ bool ShouldUseColor (bool stdout_is_tty)
template<typename E >
void Shuffle (internal::Random *random, std::vector< E > *v)
template<typename E >
void ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v)
GTEST_API_ bool SkipPrefix (const char *prefix, const char **pstr)
template<typename T >
String StreamableToString (const T &streamable)
const char * StringFromGTestEnv (const char *flag, const char *default_val)
GTEST_API_ String StringStreamToString (::std::stringstream *stream)
static int SumOverTestCaseList (const std::vector< TestCase * > &case_list, int(TestCase::*method)() const)
static void TearDownEnvironment (Environment *env)
static bool TestCaseFailed (const TestCase *test_case)
static bool TestCasePassed (const TestCase *test_case)
char ToLower (char ch)
char ToUpper (char ch)
template<typename T >
void UniversalPrint (const T &value,::std::ostream *os)
void UniversalPrintArray (const char *begin, size_t len, ostream *os)
template<typename T >
void UniversalPrintArray (const T *begin, size_t len,::std::ostream *os)
GTEST_API_ void UniversalPrintArray (const char *begin, size_t len,::std::ostream *os)
template<typename T >
void UniversalTersePrint (const T &value,::std::ostream *os)
void UniversalTersePrint (const char *str,::std::ostream *os)
void UniversalTersePrint (char *str,::std::ostream *os)
GTEST_API_ String WideStringToUtf8 (const wchar_t *str, int num_chars)
void WriteToShardStatusFileIfNeeded ()

Variables

String g_executable_path
GTEST_API_ bool g_help_flag = false
int g_init_gtest_count = 0
class GTEST_API_
testing::internal::ScopedTrace 
GTEST_ATTRIBUTE_UNUSED_
const char kAlsoRunDisabledTestsFlag [] = "also_run_disabled_tests"
const char kBreakOnFailureFlag [] = "break_on_failure"
const char kCatchExceptionsFlag [] = "catch_exceptions"
static const char kColorEncodedHelpMessage [] = ">@D.\n"
const char kColorFlag [] = "color"
const char kCurrentDirectoryString [] = "./"
const char kDeathTestStyleFlag [] = "death_test_style"
const char kDeathTestUseFork [] = "death_test_use_fork"
const char kFilterFlag [] = "filter"
const char kInternalRunDeathTestFlag [] = "internal_run_death_test"
const char kListTestsFlag [] = "list_tests"
const BiggestInt kMaxBiggestInt
const UInt32 kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1
const UInt32 kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1
const UInt32 kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1
const UInt32 kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1
const int kMaxRandomSeed = 99999
const char kOutputFlag [] = "output"
const char kPathSeparator = '/'
const char kPathSeparatorString [] = "/"
const char kPrintTimeFlag [] = "print_time"
const char kRandomSeedFlag [] = "random_seed"
const char kRepeatFlag [] = "repeat"
const char kShuffleFlag [] = "shuffle"
const char kStackTraceDepthFlag [] = "stack_trace_depth"
GTEST_API_ const char kStackTraceMarker [] = "\nStack trace:\n"
const int kStdErrFileno = STDERR_FILENO
const int kStdOutFileno = STDOUT_FILENO
const char kStreamResultToFlag [] = "stream_result_to"
GTEST_API_ const TypeId kTestTypeIdInGoogleTest = GetTestTypeId()
const char kThrowOnFailureFlag [] = "throw_on_failure"
const char kUnknownFile [] = "unknown file"

Typedef Documentation

typedef long long testing::internal::BiggestInt

Definition at line 1501 of file gtest-port.h.

Definition at line 466 of file gtest-internal.h.

Definition at line 1469 of file gtest-port.h.

Definition at line 465 of file gtest-internal.h.

Definition at line 1732 of file gtest-port.h.

Definition at line 1734 of file gtest-port.h.

Definition at line 927 of file gtest-internal.h.

Definition at line 935 of file gtest-internal.h.

Definition at line 1415 of file gtest-port.h.

Definition at line 546 of file gtest-internal.h.

Definition at line 756 of file gtest-port.h.

Definition at line 547 of file gtest-internal.h.

Definition at line 1736 of file gtest-port.h.

Definition at line 1470 of file gtest-port.h.

typedef const void* testing::internal::TypeId

Definition at line 474 of file gtest-internal.h.

Definition at line 1733 of file gtest-port.h.

Definition at line 1735 of file gtest-port.h.

typedef ::std::wstring testing::internal::wstring

Definition at line 762 of file gtest-port.h.


Enumeration Type Documentation

Enumerator:
kAsIs 
kHexEscape 
kSpecialEscape 

Definition at line 132 of file gtest-printers.cc.

Enumerator:
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 

Definition at line 2550 of file gtest.cc.

Enumerator:
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

Definition at line 898 of file gtest-port.h.

Enumerator:
kReference 
kCopy 

Definition at line 1017 of file gtest-internal.h.


Function Documentation

bool testing::internal::AlwaysFalse ( ) [inline]

Definition at line 734 of file gtest-internal.h.

Definition at line 4533 of file gtest.cc.

String testing::internal::AppendUserMessage ( const String &  gtest_msg,
const Message &  user_msg 
)

Definition at line 1755 of file gtest.cc.

template<typename Iter , typename Element >
Iter testing::internal::ArrayAwareFind ( Iter  begin,
Iter  end,
const Element &  elem 
)

Definition at line 980 of file gtest-internal.h.

template<typename T , typename U >
bool testing::internal::ArrayEq ( const T *  lhs,
size_t  size,
const U rhs 
)

Definition at line 969 of file gtest-internal.h.

template<typename T , typename U >
bool testing::internal::ArrayEq ( const T &  lhs,
const U rhs 
) [inline]

Definition at line 957 of file gtest-internal.h.

template<typename T , typename U , size_t N>
bool testing::internal::ArrayEq ( const T(&)  lhs[N],
const U(&)  rhs[N] 
) [inline]

Definition at line 961 of file gtest-internal.h.

bool testing::internal::BoolFromGTestEnv ( const char *  flag,
bool  default_val 
)

Definition at line 707 of file gtest-port.cc.

template<class Derived , class Base >
Derived* testing::internal::CheckedDowncastToActualType ( Base *  base)

Definition at line 1029 of file gtest-port.h.

UInt32 testing::internal::ChopLowBits ( UInt32 *  bits,
int  n 
) [inline]

Definition at line 1421 of file gtest.cc.

static char* testing::internal::CloneString ( const char *  str,
size_t  length 
) [static]

Definition at line 835 of file gtest.cc.

template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQ ( const char *  expected_expression,
const char *  actual_expression,
const T1 &  expected,
const T2 &  actual 
)

Definition at line 1310 of file gtest.h.

AssertionResult testing::internal::CmpHelperEQ ( const char *  expected_expression,
const char *  actual_expression,
BiggestInt  expected,
BiggestInt  actual 
)

Definition at line 1111 of file gtest.cc.

template<typename RawType >
AssertionResult testing::internal::CmpHelperFloatingPointEQ ( const char *  expected_expression,
const char *  actual_expression,
RawType  expected,
RawType  actual 
)

Definition at line 1558 of file gtest.h.

AssertionResult testing::internal::CmpHelperSTRCASEEQ ( const char *  expected_expression,
const char *  actual_expression,
const char *  expected,
const char *  actual 
)

Definition at line 1177 of file gtest.cc.

AssertionResult testing::internal::CmpHelperSTRCASENE ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)

Definition at line 1207 of file gtest.cc.

AssertionResult testing::internal::CmpHelperSTREQ ( const char *  expected_expression,
const char *  actual_expression,
const char *  expected,
const char *  actual 
)

Definition at line 1161 of file gtest.cc.

AssertionResult testing::internal::CmpHelperSTREQ ( const char *  expected_expression,
const char *  actual_expression,
const wchar_t *  expected,
const wchar_t *  actual 
)

Definition at line 1560 of file gtest.cc.

AssertionResult testing::internal::CmpHelperSTRNE ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)

Definition at line 1193 of file gtest.cc.

AssertionResult testing::internal::CmpHelperSTRNE ( const char *  s1_expression,
const char *  s2_expression,
const wchar_t *  s1,
const wchar_t *  s2 
)

Definition at line 1576 of file gtest.cc.

char * testing::internal::CodePointToUtf8 ( UInt32  code_point,
char *  str 
)

Definition at line 1435 of file gtest.cc.

void testing::internal::ColoredPrintf ( GTestColor  color,
const char *  fmt,
  ... 
)

Definition at line 2620 of file gtest.cc.

template<typename T , typename U >
void testing::internal::CopyArray ( const T *  from,
size_t  size,
U to 
)

Definition at line 1009 of file gtest-internal.h.

template<typename T , typename U >
void testing::internal::CopyArray ( const T &  from,
U to 
) [inline]

Definition at line 997 of file gtest-internal.h.

template<typename T , typename U , size_t N>
void testing::internal::CopyArray ( const T(&)  from[N],
U(*)  to[N] 
) [inline]

Definition at line 1001 of file gtest-internal.h.

template<class Container , typename Predicate >
int testing::internal::CountIf ( const Container &  c,
Predicate  predicate 
) [inline]

Definition at line 273 of file gtest-internal-inl.h.

UInt32 testing::internal::CreateCodePointFromUtf16SurrogatePair ( wchar_t  first,
wchar_t  second 
) [inline]

Definition at line 1481 of file gtest.cc.

template<typename C >
void testing::internal::DefaultPrintTo ( IsContainer  ,
false_type  ,
const C container,
::std::ostream *  os 
)

Definition at line 269 of file gtest-printers.h.

template<typename T >
void testing::internal::DefaultPrintTo ( IsNotContainer  ,
true_type  ,
T *  p,
::std::ostream *  os 
)

Definition at line 303 of file gtest-printers.h.

template<typename T >
void testing::internal::DefaultPrintTo ( IsNotContainer  ,
false_type  ,
const T &  value,
::std::ostream *  os 
)

Definition at line 335 of file gtest-printers.h.

template<typename T >
static void testing::internal::Delete ( T *  x) [static]

Definition at line 330 of file gtest-internal-inl.h.

AssertionResult testing::internal::DoubleNearPredFormat ( const char *  expr1,
const char *  expr2,
const char *  abs_error_expr,
double  val1,
double  val2,
double  abs_error 
)

Definition at line 1036 of file gtest.cc.

template<typename To , typename From >
To testing::internal::DownCast_ ( From *  f) [inline]

Definition at line 1006 of file gtest-port.h.

AssertionResult testing::internal::EqFailure ( const char *  expected_expression,
const char *  actual_expression,
const String &  expected_value,
const String &  actual_value,
bool  ignoring_case 
)

Definition at line 998 of file gtest.cc.

static String testing::internal::FlagToEnvVar ( const char *  flag) [static]

Definition at line 650 of file gtest-port.cc.

template<typename RawType >
AssertionResult testing::internal::FloatingPointLE ( const char *  expr1,
const char *  expr2,
RawType  val1,
RawType  val2 
)

Definition at line 1058 of file gtest.cc.

Definition at line 928 of file gtest-port.h.

template<class Container , typename Functor >
void testing::internal::ForEach ( const Container &  c,
Functor  functor 
)

Definition at line 286 of file gtest-internal-inl.h.

Definition at line 449 of file gtest-port.cc.

GTEST_API_::std::string testing::internal::FormatFileLocation ( const char *  file,
int  line 
)

Definition at line 431 of file gtest-port.cc.

template<typename T1 , typename T2 >
String testing::internal::FormatForComparisonFailureMessage ( const T1 &  value,
const T2 &   
)

Definition at line 1301 of file gtest.h.

Definition at line 3196 of file gtest.cc.

const char* testing::internal::GetAnsiColorCode ( GTestColor  color)

Definition at line 2573 of file gtest.cc.

String testing::internal::GetBoolAssertionFailureMessage ( const AssertionResult &  assertion_result,
const char *  expression_text,
const char *  actual_predicate_value,
const char *  expected_predicate_value 
)

Definition at line 1021 of file gtest.cc.

Definition at line 370 of file gtest.cc.

String testing::internal::GetCurrentOsStackTraceExceptTop ( UnitTest *  unit_test,
int  skip_count 
)

Definition at line 4518 of file gtest.cc.

template<typename E >
E testing::internal::GetElementOr ( const std::vector< E > &  v,
int  i,
default_value 
) [inline]

Definition at line 293 of file gtest-internal-inl.h.

int testing::internal::GetNextRandomSeed ( int  seed) [inline]

Definition at line 140 of file gtest-internal-inl.h.

int testing::internal::GetRandomSeedFromFlag ( Int32  random_seed_flag) [inline]

Definition at line 124 of file gtest-internal-inl.h.

Definition at line 594 of file gtest.cc.

Definition at line 103 of file gtest-port.cc.

Definition at line 765 of file gtest.cc.

template<typename T >
TypeId testing::internal::GetTypeId ( )

Definition at line 492 of file gtest-internal.h.

template<typename T >
String testing::internal::GetTypeName ( )

Definition at line 65 of file gtest-type-util.h.

Definition at line 905 of file gtest-internal-inl.h.

testing::internal::GTEST_DECLARE_string_ ( internal_run_death_test  )
testing::internal::GTEST_DEFINE_string_ ( internal_run_death_test  ,
""  ,
"Indicates the  file,
line  number,
temporal index of""the single death test to  run,
and a file descriptor to""which a success code may be  sent,
all separated by""colons.This flag is specified if and only if the current""process is a sub-process launched for running a thread-safe""death test.FOR INTERNAL USE ONLY."   
)
static bool testing::internal::GTestIsInitialized ( ) [static]

Definition at line 309 of file gtest.cc.

template<class T , typename Result >
Result testing::internal::HandleExceptionsInMethodIfSupported ( T *  object,
Result(T::*)()  method,
const char *  location 
)

Definition at line 2098 of file gtest.cc.

template<class T , typename Result >
Result testing::internal::HandleSehExceptionsInMethodIfSupported ( T *  object,
Result(T::*)()  method,
const char *  location 
)

Definition at line 2071 of file gtest.cc.

static bool testing::internal::HasGoogleTestFlagPrefix ( const char *  str) [static]

Definition at line 4650 of file gtest.cc.

AssertionResult testing::internal::HasOneFailure ( const char *  ,
const char *  ,
const char *  ,
const TestPartResultArray &  results,
TestPartResult::Type  type,
const string substr 
)

Definition at line 605 of file gtest.cc.

template<typename To >
To testing::internal::ImplicitCast_ ( To  x) [inline]

Definition at line 982 of file gtest-port.h.

template<typename CharType >
void testing::internal::InitGoogleTestImpl ( int *  argc,
CharType **  argv 
)

Definition at line 4854 of file gtest.cc.

Int32 testing::internal::Int32FromEnvOrDie ( const char *  env_var,
Int32  default_val 
)

Definition at line 4348 of file gtest.cc.

Int32 testing::internal::Int32FromGTestEnv ( const char *  flag,
Int32  default_val 
)

Definition at line 717 of file gtest-port.cc.

bool testing::internal::IsAlNum ( char  ch) [inline]

Definition at line 1514 of file gtest-port.h.

bool testing::internal::IsAlpha ( char  ch) [inline]

Definition at line 1511 of file gtest-port.h.

template<class C >
IsContainer testing::internal::IsContainerTest ( int  ,
typename C::iterator *  = NULL,
typename C::const_iterator *  = NULL 
)

Definition at line 929 of file gtest-internal.h.

template<class C >
IsNotContainer testing::internal::IsContainerTest ( long  )

Definition at line 937 of file gtest-internal.h.

bool testing::internal::IsDigit ( char  ch) [inline]

Definition at line 1517 of file gtest-port.h.

bool testing::internal::IsLower ( char  ch) [inline]

Definition at line 1520 of file gtest-port.h.

static bool testing::internal::IsPathSeparator ( char  c) [static]

Definition at line 91 of file gtest-filepath.cc.

bool testing::internal::IsPrintableAscii ( wchar_t  c) [inline]

Definition at line 141 of file gtest-printers.cc.

bool testing::internal::IsSpace ( char  ch) [inline]

Definition at line 1523 of file gtest-port.h.

bool testing::internal::IsTrue ( bool  condition)

Definition at line 4531 of file gtest.cc.

bool testing::internal::IsUpper ( char  ch) [inline]

Definition at line 1526 of file gtest-port.h.

bool testing::internal::IsUtf16SurrogatePair ( wchar_t  first,
wchar_t  second 
) [inline]

Definition at line 1475 of file gtest.cc.

bool testing::internal::IsXDigit ( char  ch) [inline]

Definition at line 1529 of file gtest-port.h.

void testing::internal::LogToStderr ( ) [inline]

Definition at line 927 of file gtest-port.h.

template<typename T >
linked_ptr<T> testing::internal::make_linked_ptr ( T *  ptr)

Definition at line 226 of file gtest-linked_ptr.h.

TestInfo * testing::internal::MakeAndRegisterTestInfo ( const char *  test_case_name,
const char *  name,
const char *  type_param,
const char *  value_param,
TypeId  fixture_class_id,
SetUpTestCaseFunc  set_up_tc,
TearDownTestCaseFunc  tear_down_tc,
TestFactoryBase *  factory 
)

Definition at line 2229 of file gtest.cc.

template<typename T >
bool testing::internal::operator!= ( T *  ptr,
const linked_ptr< T > &  x 
) [inline]

Definition at line 218 of file gtest-linked_ptr.h.

inline ::std::ostream& testing::internal::operator<< ( ::std::ostream &  os,
const String &  str 
)

Definition at line 316 of file gtest-string.h.

template<typename T >
bool testing::internal::operator== ( T *  ptr,
const linked_ptr< T > &  x 
) [inline]

Definition at line 213 of file gtest-linked_ptr.h.

bool testing::internal::ParseBoolFlag ( const char *  str,
const char *  flag,
bool *  value 
)

Definition at line 4598 of file gtest.cc.

const char* testing::internal::ParseFlagValue ( const char *  str,
const char *  flag,
bool  def_optional 
)

Definition at line 4560 of file gtest.cc.

void testing::internal::ParseGoogleTestFlagsOnly ( int *  argc,
char **  argv 
)

Definition at line 4842 of file gtest.cc.

void testing::internal::ParseGoogleTestFlagsOnly ( int *  argc,
wchar_t **  argv 
)

Definition at line 4845 of file gtest.cc.

template<typename CharType >
void testing::internal::ParseGoogleTestFlagsOnlyImpl ( int *  argc,
CharType **  argv 
)

Definition at line 4772 of file gtest.cc.

bool testing::internal::ParseInt32 ( const Message &  src_text,
const char *  str,
Int32 *  value 
)

Definition at line 665 of file gtest-port.cc.

bool testing::internal::ParseInt32Flag ( const char *  str,
const char *  flag,
Int32 *  value 
)

Definition at line 4615 of file gtest.cc.

bool testing::internal::ParseStringFlag ( const char *  str,
const char *  flag,
String *  value 
)

Definition at line 4632 of file gtest.cc.

template<typename UnsignedChar , typename Char >
static CharFormat testing::internal::PrintAsCharLiteralTo ( Char  c,
ostream *  os 
) [static]

Definition at line 150 of file gtest-printers.cc.

static CharFormat testing::internal::PrintAsNarrowStringLiteralTo ( char  c,
ostream *  os 
) [static]

Definition at line 211 of file gtest-printers.cc.

static CharFormat testing::internal::PrintAsWideStringLiteralTo ( wchar_t  c,
ostream *  os 
) [static]

Definition at line 196 of file gtest-printers.cc.

template<typename UnsignedChar , typename Char >
void testing::internal::PrintCharAndCodeTo ( Char  c,
ostream *  os 
)

Definition at line 220 of file gtest-printers.cc.

static void testing::internal::PrintCharsAsStringTo ( const char *  begin,
size_t  len,
ostream *  os 
) [static]

Definition at line 261 of file gtest-printers.cc.

static void testing::internal::PrintColorEncoded ( const char *  str) [static]

Definition at line 4670 of file gtest.cc.

void testing::internal::PrintFullTestCommentIfPresent ( const TestInfo &  test_info)

Definition at line 2666 of file gtest.cc.

template<typename T >
void testing::internal::PrintRawArrayTo ( const T  a[],
size_t  count,
::std::ostream *  os 
)

Definition at line 447 of file gtest-printers.h.

void testing::internal::PrintStringTo ( const ::std::string s,
ostream *  os 
)

Definition at line 337 of file gtest-printers.cc.

GTEST_API_ void testing::internal::PrintStringTo ( const ::std::string s,
::std::ostream *  os 
)
void testing::internal::PrintTo ( wchar_t  wc,
ostream *  os 
)

Definition at line 254 of file gtest-printers.cc.

void testing::internal::PrintTo ( const char *  s,
ostream *  os 
)

Definition at line 303 of file gtest-printers.cc.

void testing::internal::PrintTo ( const wchar_t *  s,
ostream *  os 
)

Definition at line 320 of file gtest-printers.cc.

template<typename T >
void testing::internal::PrintTo ( const T &  value,
::std::ostream *  os 
)

Definition at line 353 of file gtest-printers.h.

void testing::internal::PrintTo ( unsigned char  c,
::std::ostream *  os 
)

Definition at line 245 of file gtest-printers.cc.

void testing::internal::PrintTo ( signed char  c,
::std::ostream *  os 
)

Definition at line 248 of file gtest-printers.cc.

void testing::internal::PrintTo ( char  c,
::std::ostream *  os 
) [inline]

Definition at line 386 of file gtest-printers.h.

void testing::internal::PrintTo ( bool  x,
::std::ostream *  os 
) [inline]

Definition at line 394 of file gtest-printers.h.

GTEST_API_ void testing::internal::PrintTo ( wchar_t  wc,
::std::ostream *  os 
)
GTEST_API_ void testing::internal::PrintTo ( const char *  s,
::std::ostream *  os 
)
void testing::internal::PrintTo ( char *  s,
::std::ostream *  os 
) [inline]

Definition at line 409 of file gtest-printers.h.

void testing::internal::PrintTo ( const signed char *  s,
::std::ostream *  os 
) [inline]

Definition at line 415 of file gtest-printers.h.

void testing::internal::PrintTo ( signed char *  s,
::std::ostream *  os 
) [inline]

Definition at line 418 of file gtest-printers.h.

void testing::internal::PrintTo ( const unsigned char *  s,
::std::ostream *  os 
) [inline]

Definition at line 421 of file gtest-printers.h.

void testing::internal::PrintTo ( unsigned char *  s,
::std::ostream *  os 
) [inline]

Definition at line 424 of file gtest-printers.h.

GTEST_API_ void testing::internal::PrintTo ( const wchar_t *  s,
::std::ostream *  os 
)
void testing::internal::PrintTo ( wchar_t *  s,
::std::ostream *  os 
) [inline]

Definition at line 436 of file gtest-printers.h.

void testing::internal::PrintTo ( const ::std::string s,
::std::ostream *  os 
) [inline]

Definition at line 464 of file gtest-printers.h.

template<typename T1 , typename T2 >
void testing::internal::PrintTo ( const ::std::pair< T1, T2 > &  value,
::std::ostream *  os 
)

Definition at line 566 of file gtest-printers.h.

static void testing::internal::PrintWideCharsAsStringTo ( const wchar_t *  begin,
size_t  len,
ostream *  os 
) [static]

Definition at line 285 of file gtest-printers.cc.

void testing::internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const String &  message 
)

Definition at line 1932 of file gtest.cc.

static void testing::internal::SetUpEnvironment ( Environment *  env) [static]

Definition at line 4133 of file gtest.cc.

static bool testing::internal::ShouldRunTestCase ( const TestCase *  test_case) [static]

Definition at line 335 of file gtest.cc.

bool testing::internal::ShouldRunTestOnShard ( int  total_shards,
int  shard_index,
int  test_id 
)

Definition at line 4366 of file gtest.cc.

bool testing::internal::ShouldShard ( const char *  total_shards_str,
const char *  shard_index_str,
bool  in_subprocess_for_death_test 
)

Definition at line 4303 of file gtest.cc.

bool testing::internal::ShouldUseColor ( bool  stdout_is_tty)

Definition at line 2585 of file gtest.cc.

template<typename E >
void testing::internal::Shuffle ( internal::Random *  random,
std::vector< E > *  v 
) [inline]

Definition at line 323 of file gtest-internal-inl.h.

template<typename E >
void testing::internal::ShuffleRange ( internal::Random *  random,
int  begin,
int  end,
std::vector< E > *  v 
)

Definition at line 302 of file gtest-internal-inl.h.

bool testing::internal::SkipPrefix ( const char *  prefix,
const char **  pstr 
)

Definition at line 4546 of file gtest.cc.

template<typename T >
String testing::internal::StreamableToString ( const T &  streamable)

Definition at line 176 of file gtest.h.

const char * testing::internal::StringFromGTestEnv ( const char *  flag,
const char *  default_val 
)

Definition at line 739 of file gtest-port.cc.

String testing::internal::StringStreamToString ( ::std::stringstream *  stream)

Definition at line 1735 of file gtest.cc.

static int testing::internal::SumOverTestCaseList ( const std::vector< TestCase * > &  case_list,
int(TestCase::*)() const  method 
) [static]

Definition at line 314 of file gtest.cc.

static void testing::internal::TearDownEnvironment ( Environment *  env) [static]

Definition at line 4134 of file gtest.cc.

static bool testing::internal::TestCaseFailed ( const TestCase *  test_case) [static]

Definition at line 329 of file gtest.cc.

static bool testing::internal::TestCasePassed ( const TestCase *  test_case) [static]

Definition at line 324 of file gtest.cc.

char testing::internal::ToLower ( char  ch) [inline]

Definition at line 1533 of file gtest-port.h.

char testing::internal::ToUpper ( char  ch) [inline]

Definition at line 1536 of file gtest-port.h.

template<typename T >
void testing::internal::UniversalPrint ( const T &  value,
::std::ostream *  os 
)

Definition at line 696 of file gtest-printers.h.

void testing::internal::UniversalPrintArray ( const char *  begin,
size_t  len,
ostream *  os 
)

Definition at line 278 of file gtest-printers.cc.

template<typename T >
void testing::internal::UniversalPrintArray ( const T *  begin,
size_t  len,
::std::ostream *  os 
)

Definition at line 611 of file gtest-printers.h.

GTEST_API_ void testing::internal::UniversalPrintArray ( const char *  begin,
size_t  len,
::std::ostream *  os 
)
template<typename T >
void testing::internal::UniversalTersePrint ( const T &  value,
::std::ostream *  os 
)

Definition at line 677 of file gtest-printers.h.

void testing::internal::UniversalTersePrint ( const char *  str,
::std::ostream *  os 
) [inline]

Definition at line 680 of file gtest-printers.h.

void testing::internal::UniversalTersePrint ( char *  str,
::std::ostream *  os 
) [inline]

Definition at line 687 of file gtest-printers.h.

String testing::internal::WideStringToUtf8 ( const wchar_t *  str,
int  num_chars 
)

Definition at line 1504 of file gtest.cc.

Definition at line 4281 of file gtest.cc.


Variable Documentation

Definition at line 366 of file gtest.cc.

Definition at line 178 of file gtest.cc.

Definition at line 308 of file gtest.cc.

const char testing::internal::kAlsoRunDisabledTestsFlag[] = "also_run_disabled_tests"

Definition at line 84 of file gtest-internal-inl.h.

const char testing::internal::kBreakOnFailureFlag[] = "break_on_failure"

Definition at line 85 of file gtest-internal-inl.h.

const char testing::internal::kCatchExceptionsFlag[] = "catch_exceptions"

Definition at line 86 of file gtest-internal-inl.h.

const char testing::internal::kColorEncodedHelpMessage[] = ">@D.\n" [static]

Definition at line 4704 of file gtest.cc.

const char testing::internal::kColorFlag[] = "color"

Definition at line 87 of file gtest-internal-inl.h.

Definition at line 87 of file gtest-filepath.cc.

const char testing::internal::kDeathTestStyleFlag[] = "death_test_style"

Definition at line 50 of file gtest-death-test-internal.h.

const char testing::internal::kDeathTestUseFork[] = "death_test_use_fork"

Definition at line 51 of file gtest-death-test-internal.h.

const char testing::internal::kFilterFlag[] = "filter"

Definition at line 88 of file gtest-internal-inl.h.

const char testing::internal::kInternalRunDeathTestFlag[] = "internal_run_death_test"

Definition at line 52 of file gtest-death-test-internal.h.

const char testing::internal::kListTestsFlag[] = "list_tests"

Definition at line 89 of file gtest-internal-inl.h.

Initial value:
    ~(static_cast<BiggestInt>(1) << (8*sizeof(BiggestInt) - 1))

Definition at line 1676 of file gtest-port.h.

const UInt32 testing::internal::kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1 [static]

Definition at line 1407 of file gtest.cc.

const UInt32 testing::internal::kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1

Definition at line 1410 of file gtest.cc.

const UInt32 testing::internal::kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1

Definition at line 1413 of file gtest.cc.

const UInt32 testing::internal::kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1

Definition at line 1416 of file gtest.cc.

Definition at line 100 of file gtest-internal-inl.h.

const char testing::internal::kOutputFlag[] = "output"

Definition at line 90 of file gtest-internal-inl.h.

Definition at line 85 of file gtest-filepath.cc.

Definition at line 86 of file gtest-filepath.cc.

const char testing::internal::kPrintTimeFlag[] = "print_time"

Definition at line 91 of file gtest-internal-inl.h.

const char testing::internal::kRandomSeedFlag[] = "random_seed"

Definition at line 92 of file gtest-internal-inl.h.

const char testing::internal::kRepeatFlag[] = "repeat"

Definition at line 93 of file gtest-internal-inl.h.

const char testing::internal::kShuffleFlag[] = "shuffle"

Definition at line 94 of file gtest-internal-inl.h.

const char testing::internal::kStackTraceDepthFlag[] = "stack_trace_depth"

Definition at line 95 of file gtest-internal-inl.h.

const char testing::internal::kStackTraceMarker = "\nStack trace:\n"

Definition at line 174 of file gtest.cc.

const int testing::internal::kStdErrFileno = STDERR_FILENO

Definition at line 77 of file gtest-port.cc.

const int testing::internal::kStdOutFileno = STDOUT_FILENO

Definition at line 76 of file gtest-port.cc.

const char testing::internal::kStreamResultToFlag[] = "stream_result_to"

Definition at line 96 of file gtest-internal-inl.h.

Definition at line 600 of file gtest.cc.

const char testing::internal::kThrowOnFailureFlag[] = "throw_on_failure"

Definition at line 97 of file gtest-internal-inl.h.

const char testing::internal::kUnknownFile[] = "unknown file"

Definition at line 427 of file gtest-port.cc.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:37