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

Namespaces

 posix
 

Classes

class  SingleFailureChecker
 
class  GTestFlagSaver
 
class  TestPropertyKeyIs
 
class  UnitTestOptions
 
class  OsStackTraceGetterInterface
 
class  OsStackTraceGetter
 
struct  TraceInfo
 
class  DefaultGlobalTestPartResultReporter
 
class  DefaultPerThreadTestPartResultReporter
 
class  UnitTestImpl
 
class  TestResultAccessor
 
class  PrettyUnitTestResultPrinter
 
class  TestEventRepeater
 
class  XmlUnitTestResultPrinter
 
class  ScopedPrematureExitFile
 
class  TestCaseNameIs
 
struct  CompileAssert
 
struct  StaticAssertTypeEqHelper
 
struct  StaticAssertTypeEqHelper< T, T >
 
class  scoped_ptr
 
class  RE
 
class  GTestLog
 
class  Mutex
 
class  GTestMutexLock
 
class  ThreadLocal
 
struct  bool_constant
 
struct  is_pointer
 
struct  is_pointer< T * >
 
struct  IteratorTraits
 
struct  IteratorTraits< T * >
 
struct  IteratorTraits< const T * >
 
class  TypeWithSize
 
class  TypeWithSize< 4 >
 
class  TypeWithSize< 8 >
 
class  String
 
class  FilePath
 
class  ScopedTrace
 
class  FloatingPoint
 
class  TypeIdHelper
 
class  TestFactoryBase
 
class  TestFactoryImpl
 
struct  ConstCharPtr
 
class  Random
 
struct  CompileAssertTypesEqual
 
struct  CompileAssertTypesEqual< T, T >
 
struct  RemoveReference
 
struct  RemoveReference< T & >
 
struct  RemoveConst
 
struct  RemoveConst< const T >
 
struct  RemoveConst< const T[N]>
 
struct  AddReference
 
struct  AddReference< T & >
 
class  ImplicitlyConvertible
 
struct  IsAProtocolMessage
 
struct  EnableIf
 
struct  EnableIf< true >
 
class  NativeArray
 
class  linked_ptr_internal
 
class  linked_ptr
 
class  UniversalPrinter
 
class  UniversalPrinter< T[N]>
 
class  UniversalPrinter< T & >
 
class  UniversalTersePrinter
 
class  UniversalTersePrinter< T & >
 
class  UniversalTersePrinter< T[N]>
 
class  UniversalTersePrinter< const char * >
 
class  UniversalTersePrinter< char * >
 
class  UniversalTersePrinter< const wchar_t * >
 
class  UniversalTersePrinter< wchar_t * >
 
struct  TuplePrefixPrinter
 
struct  TuplePrefixPrinter< 0 >
 
struct  TuplePrefixPrinter< 1 >
 
class  ParamGeneratorInterface
 
class  ParamGenerator
 
class  ParamIteratorInterface
 
class  ParamIterator
 
class  RangeGenerator
 
class  ValuesInIteratorRangeGenerator
 
class  ParameterizedTestFactory
 
class  TestMetaFactoryBase
 
class  TestMetaFactory
 
class  ParameterizedTestCaseInfoBase
 
class  ParameterizedTestCaseInfo
 
class  ParameterizedTestCaseRegistry
 
class  ValueArray1
 
class  ValueArray2
 
class  ValueArray3
 
class  ValueArray4
 
class  ValueArray5
 
class  ValueArray6
 
class  ValueArray7
 
class  ValueArray8
 
class  ValueArray9
 
class  ValueArray10
 
class  ValueArray11
 
class  ValueArray12
 
class  ValueArray13
 
class  ValueArray14
 
class  ValueArray15
 
class  ValueArray16
 
class  ValueArray17
 
class  ValueArray18
 
class  ValueArray19
 
class  ValueArray20
 
class  ValueArray21
 
class  ValueArray22
 
class  ValueArray23
 
class  ValueArray24
 
class  ValueArray25
 
class  ValueArray26
 
class  ValueArray27
 
class  ValueArray28
 
class  ValueArray29
 
class  ValueArray30
 
class  ValueArray31
 
class  ValueArray32
 
class  ValueArray33
 
class  ValueArray34
 
class  ValueArray35
 
class  ValueArray36
 
class  ValueArray37
 
class  ValueArray38
 
class  ValueArray39
 
class  ValueArray40
 
class  ValueArray41
 
class  ValueArray42
 
class  ValueArray43
 
class  ValueArray44
 
class  ValueArray45
 
class  ValueArray46
 
class  ValueArray47
 
class  ValueArray48
 
class  ValueArray49
 
class  ValueArray50
 
class  CartesianProductGenerator2
 
class  CartesianProductGenerator3
 
class  CartesianProductGenerator4
 
class  CartesianProductGenerator5
 
class  CartesianProductGenerator6
 
class  CartesianProductGenerator7
 
class  CartesianProductGenerator8
 
class  CartesianProductGenerator9
 
class  CartesianProductGenerator10
 
class  CartesianProductHolder2
 
class  CartesianProductHolder3
 
class  CartesianProductHolder4
 
class  CartesianProductHolder5
 
class  CartesianProductHolder6
 
class  CartesianProductHolder7
 
class  CartesianProductHolder8
 
class  CartesianProductHolder9
 
class  CartesianProductHolder10
 
class  HasNewFatalFailureHelper
 
class  FormatForComparison
 
class  FormatForComparison< ToPrint[N], OtherOperand >
 
class  EqHelper
 
class  EqHelper< true >
 
class  AssertHelper
 

Typedefs

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

Enumerations

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

Functions

GTEST_API_ TimeInMillis GetTimeInMillis ()
 
GTEST_API_ bool ShouldUseColor (bool stdout_is_tty)
 
GTEST_API_ std::string FormatTimeInMillisAsSeconds (TimeInMillis ms)
 
GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms)
 
GTEST_API_ bool ParseInt32Flag (const char *str, const char *flag, Int32 *value)
 
int GetRandomSeedFromFlag (Int32 random_seed_flag)
 
int GetNextRandomSeed (int seed)
 
GTEST_API_ std::string CodePointToUtf8 (UInt32 code_point)
 
GTEST_API_ std::string WideStringToUtf8 (const wchar_t *str, int num_chars)
 
void WriteToShardStatusFileIfNeeded ()
 
GTEST_API_ bool ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test)
 
GTEST_API_ Int32 Int32FromEnvOrDie (const char *env_var, Int32 default_val)
 
GTEST_API_ bool ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
 
template<class Container , typename Predicate >
int CountIf (const Container &c, Predicate predicate)
 
template<class Container , typename Functor >
void ForEach (const Container &c, Functor functor)
 
template<typename E >
GetElementOr (const std::vector< E > &v, int i, E default_value)
 
template<typename E >
void ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v)
 
template<typename E >
void Shuffle (internal::Random *random, std::vector< E > *v)
 
template<typename T >
static void Delete (T *x)
 
GTEST_API_ FilePath GetCurrentExecutableName ()
 
UnitTestImplGetUnitTestImpl ()
 
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, char **argv)
 
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)
 
static bool GTestIsInitialized ()
 
static int SumOverTestCaseList (const std::vector< TestCase * > &case_list, int(TestCase::*method)() const)
 
static bool TestCasePassed (const TestCase *test_case)
 
static bool TestCaseFailed (const TestCase *test_case)
 
static bool ShouldRunTestCase (const TestCase *test_case)
 
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_ (g_linked_ptr_mutex)
 
TypeId GetTestTypeId ()
 
AssertionResult HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const string &substr)
 
AssertionResult EqFailure (const char *expected_expression, const char *actual_expression, const std::string &expected_value, const std::string &actual_value, bool ignoring_case)
 
std::string GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value)
 
AssertionResult DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error)
 
template<typename RawType >
AssertionResult FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2)
 
AssertionResult CmpHelperEQ (const char *expected_expression, const char *actual_expression, BiggestInt expected, BiggestInt actual)
 
AssertionResult CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual)
 
AssertionResult CmpHelperSTRCASEEQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual)
 
AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
AssertionResult CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
UInt32 ChopLowBits (UInt32 *bits, int n)
 
bool IsUtf16SurrogatePair (wchar_t first, wchar_t second)
 
UInt32 CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second)
 
AssertionResult CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const wchar_t *expected, const wchar_t *actual)
 
AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
std::string StringStreamToString (::std::stringstream *ss)
 
std::string AppendUserMessage (const std::string &gtest_msg, const Message &user_msg)
 
void ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
template<class T , typename Result >
Result HandleSehExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location)
 
template<class T , typename Result >
Result HandleExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location)
 
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)
 
static std::string PrintTestPartResultToString (const TestPartResult &test_part_result)
 
static void PrintTestPartResult (const TestPartResult &test_part_result)
 
const char * GetAnsiColorCode (GTestColor color)
 
void ColoredPrintf (GTestColor color, const char *fmt,...)
 
void PrintFullTestCommentIfPresent (const TestInfo &test_info)
 
static void SetUpEnvironment (Environment *env)
 
static void TearDownEnvironment (Environment *env)
 
static void PrintOnOneLine (const char *str, int max_length)
 
std::string GetCurrentOsStackTraceExceptTop (UnitTest *, int skip_count)
 
bool IsTrue (bool condition)
 
bool AlwaysTrue ()
 
bool SkipPrefix (const char *prefix, const char **pstr)
 
const char * ParseFlagValue (const char *str, const char *flag, bool def_optional)
 
bool ParseBoolFlag (const char *str, const char *flag, bool *value)
 
bool ParseStringFlag (const char *str, const char *flag, std::string *value)
 
static bool HasGoogleTestFlagPrefix (const char *str)
 
static void PrintColorEncoded (const char *str)
 
template<typename CharType >
void ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv)
 
template<typename CharType >
void InitGoogleTestImpl (int *argc, CharType **argv)
 
 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 " "the '|' characters. 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 IsPathSeparator (char c)
 
size_t GetThreadCount ()
 
GTEST_API_ ::std::string FormatFileLocation (const char *file, int line)
 
GTEST_API_ ::std::string FormatCompilerIndependentFileLocation (const char *file, int line)
 
static std::string FlagToEnvVar (const char *flag)
 
bool ParseInt32 (const Message &src_text, const char *str, Int32 *value)
 
bool BoolFromGTestEnv (const char *flag, bool default_value)
 
Int32 Int32FromGTestEnv (const char *flag, Int32 default_value)
 
const char * StringFromGTestEnv (const char *flag, const char *default_value)
 
bool IsPrintableAscii (wchar_t c)
 
template<typename UnsignedChar , typename Char >
static CharFormat PrintAsCharLiteralTo (Char c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (wchar_t c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (char c, ostream *os)
 
template<typename UnsignedChar , typename Char >
void PrintCharAndCodeTo (Char c, ostream *os)
 
void PrintTo (unsigned char c, ::std::ostream *os)
 
void PrintTo (signed char c, ::std::ostream *os)
 
void PrintTo (wchar_t wc, ostream *os)
 
template<typename CharType >
static void PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os)
 
template<typename CharType >
static void UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os)
 
void UniversalPrintArray (const char *begin, size_t len, ostream *os)
 
void UniversalPrintArray (const wchar_t *begin, size_t len, ostream *os)
 
void PrintTo (const char *s, ostream *os)
 
void PrintTo (const wchar_t *s, ostream *os)
 
void PrintStringTo (const ::std::string &s, ostream *os)
 
void LogToStderr ()
 
void FlushInfoLog ()
 
template<typename To >
To ImplicitCast_ (To x)
 
template<typename To , typename From >
To DownCast_ (From *f)
 
template<class Derived , class Base >
Derived * CheckedDowncastToActualType (Base *base)
 
GTEST_API_ void CaptureStdout ()
 
GTEST_API_ std::string GetCapturedStdout ()
 
GTEST_API_ void CaptureStderr ()
 
GTEST_API_ std::string GetCapturedStderr ()
 
bool IsAlpha (char ch)
 
bool IsAlNum (char ch)
 
bool IsDigit (char ch)
 
bool IsLower (char ch)
 
bool IsSpace (char ch)
 
bool IsUpper (char ch)
 
bool IsXDigit (char ch)
 
bool IsXDigit (wchar_t ch)
 
char ToLower (char ch)
 
char ToUpper (char ch)
 
template<typename T >
std::string StreamableToString (const T &streamable)
 
template<typename T >
std::string GetTypeName ()
 
char IsNullLiteralHelper (Secret *p)
 
char(& IsNullLiteralHelper (...))[2]
 
template<typename T >
TypeId GetTypeId ()
 
bool AlwaysFalse ()
 
template<class C >
IsContainer IsContainerTest (int, typename C::iterator *=NULL, typename C::const_iterator *=NULL)
 
template<class C >
IsNotContainer IsContainerTest (long)
 
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])
 
template<typename Iter , typename Element >
Iter ArrayAwareFind (Iter begin, Iter end, const Element &elem)
 
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])
 
 GTEST_DECLARE_string_ (internal_run_death_test)
 
GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_ (g_linked_ptr_mutex)
 
template<typename T >
bool operator== (T *ptr, const linked_ptr< T > &x)
 
template<typename T >
bool operator!= (T *ptr, const linked_ptr< T > &x)
 
template<typename T >
linked_ptr< Tmake_linked_ptr (T *ptr)
 
template<typename T >
void UniversalPrint (const T &value, ::std::ostream *os)
 
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 >
void PrintTo (const T &value, ::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)
 
template<typename T >
void PrintRawArrayTo (const T a[], size_t count, ::std::ostream *os)
 
GTEST_API_ void PrintStringTo (const ::std::string &s, ::std::ostream *os)
 
void PrintTo (const ::std::string &s, ::std::ostream *os)
 
GTEST_API_ void PrintWideStringTo (const ::std::wstring &s, ::std::ostream *os)
 
void PrintTo (const ::std::wstring &s, ::std::ostream *os)
 
template<typename T >
void PrintTupleTo (const T &t, ::std::ostream *os)
 
void PrintTo (const ::std::tr1::tuple<> &t, ::std::ostream *os)
 
template<typename T1 >
void PrintTo (const ::std::tr1::tuple< T1 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 >
void PrintTo (const ::std::tr1::tuple< T1, T2 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
void PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > &t, ::std::ostream *os)
 
template<typename T1 , typename T2 >
void PrintTo (const ::std::pair< T1, T2 > &value, ::std::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)
 
GTEST_API_ void UniversalPrintArray (const wchar_t *begin, size_t len, ::std::ostream *os)
 
template<typename T >
void UniversalTersePrint (const T &value, ::std::ostream *os)
 
template<typename Tuple >
Strings UniversalTersePrintTupleFieldsToStrings (const Tuple &value)
 
GTEST_API_ void ReportInvalidTestCaseType (const char *test_case_name, const char *file, int line)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (wchar_t)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char, ::std::string)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (wchar_t, ::std::wstring)
 
template<typename T1 , typename T2 >
std::string FormatForComparisonFailureMessage (const T1 &value, const T2 &)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQ (const char *expected_expression, const char *actual_expression, const T1 &expected, const T2 &actual)
 
 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, >)
 
template<typename RawType >
AssertionResult CmpHelperFloatingPointEQ (const char *expected_expression, const char *actual_expression, RawType expected, RawType actual)
 

Variables

GTEST_API_ const TypeId kTestTypeIdInGoogleTest = GetTestTypeId()
 
const char kAlsoRunDisabledTestsFlag [] = "also_run_disabled_tests"
 
const char kBreakOnFailureFlag [] = "break_on_failure"
 
const char kCatchExceptionsFlag [] = "catch_exceptions"
 
const char kColorFlag [] = "color"
 
const char kFilterFlag [] = "filter"
 
const char kListTestsFlag [] = "list_tests"
 
const char kOutputFlag [] = "output"
 
const char kPrintTimeFlag [] = "print_time"
 
const char kRandomSeedFlag [] = "random_seed"
 
const char kRepeatFlag [] = "repeat"
 
const char kShuffleFlag [] = "shuffle"
 
const char kStackTraceDepthFlag [] = "stack_trace_depth"
 
const char kStreamResultToFlag [] = "stream_result_to"
 
const char kThrowOnFailureFlag [] = "throw_on_failure"
 
const int kMaxRandomSeed = 99999
 
GTEST_API_ bool g_help_flag = false
 
class testing::internal::GTestFlagSaver GTEST_ATTRIBUTE_UNUSED_
 
const char kStackTraceMarker [] = "\nStack trace:\n"
 
GTEST_API_ int g_init_gtest_count = 0
 
std::string g_executable_path
 
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
 
static const char kTypeParamLabel [] = "TypeParam"
 
static const char kValueParamLabel [] = "GetParam()"
 
static const char kColorEncodedHelpMessage []
 
const char kPathSeparator = '/'
 
const char kPathSeparatorString [] = "/"
 
const char kCurrentDirectoryString [] = "./"
 
const int kStdOutFileno = STDOUT_FILENO
 
const int kStdErrFileno = STDERR_FILENO
 
const char kUnknownFile [] = "unknown file"
 
const BiggestInt kMaxBiggestInt
 
const char kDeathTestStyleFlag [] = "death_test_style"
 
const char kDeathTestUseFork [] = "death_test_use_fork"
 
const char kInternalRunDeathTestFlag [] = "internal_run_death_test"
 

Typedef Documentation

◆ BiggestInt

typedef long long testing::internal::BiggestInt

Definition at line 2756 of file gtest.h.

◆ Double

Definition at line 7351 of file gtest.h.

◆ false_type

Definition at line 2724 of file gtest.h.

◆ Float

Definition at line 7350 of file gtest.h.

◆ Int32

Definition at line 3007 of file gtest.h.

◆ Int64

Definition at line 3009 of file gtest.h.

◆ IsContainer

Definition at line 7819 of file gtest.h.

◆ IsNotContainer

Definition at line 7827 of file gtest.h.

◆ MutexLock

Definition at line 2670 of file gtest.h.

◆ SetUpTestCaseFunc

typedef void(* testing::internal::SetUpTestCaseFunc) ()

Definition at line 7431 of file gtest.h.

◆ string

typedef ::std::string testing::internal::string

Definition at line 1979 of file gtest.h.

◆ Strings

typedef ::std::vector<string> testing::internal::Strings

Definition at line 9951 of file gtest.h.

◆ TearDownTestCaseFunc

typedef void(* testing::internal::TearDownTestCaseFunc) ()

Definition at line 7432 of file gtest.h.

◆ TimeInMillis

Definition at line 3011 of file gtest.h.

◆ true_type

Definition at line 2725 of file gtest.h.

◆ TypeId

typedef const void* testing::internal::TypeId

Definition at line 7359 of file gtest.h.

◆ UInt32

Definition at line 3008 of file gtest.h.

◆ UInt64

Definition at line 3010 of file gtest.h.

◆ wstring

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

Definition at line 1985 of file gtest.h.

Enumeration Type Documentation

◆ CharFormat

Enumerator
kAsIs 
kHexEscape 
kSpecialEscape 

Definition at line 9137 of file gtest-all.cc.

◆ GTestColor

Enumerator
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 

Definition at line 4034 of file gtest-all.cc.

◆ GTestLogSeverity

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

Definition at line 2121 of file gtest.h.

◆ RelationToSource

Enumerator
kReference 
kCopy 

Definition at line 7909 of file gtest.h.

Function Documentation

◆ AlwaysFalse()

bool testing::internal::AlwaysFalse ( )
inline

Definition at line 7620 of file gtest.h.

References AlwaysTrue().

◆ AlwaysTrue()

GTEST_API_ bool testing::internal::AlwaysTrue ( )

Definition at line 6134 of file gtest-all.cc.

References IsTrue().

Referenced by AlwaysFalse().

◆ AppendUserMessage()

GTEST_API_ std::string testing::internal::AppendUserMessage ( const std::string &  gtest_msg,
const Message user_msg 
)

Definition at line 3162 of file gtest-all.cc.

References testing::Message::GetString().

Referenced by testing::internal::AssertHelper::operator=().

◆ ArrayAwareFind()

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

Definition at line 7872 of file gtest.h.

References ArrayEq(), and it.

◆ ArrayEq() [1/3]

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

Definition at line 7849 of file gtest.h.

◆ ArrayEq() [2/3]

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

Definition at line 7861 of file gtest.h.

References ArrayEq(), and i.

◆ ArrayEq() [3/3]

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

◆ BoolFromGTestEnv()

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

Definition at line 8976 of file gtest-all.cc.

References FlagToEnvVar(), and testing::internal::posix::GetEnv().

◆ CaptureStderr()

GTEST_API_ void testing::internal::CaptureStderr ( )

◆ CaptureStdout()

GTEST_API_ void testing::internal::CaptureStdout ( )

◆ CheckedDowncastToActualType()

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

◆ ChopLowBits()

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

Definition at line 2908 of file gtest-all.cc.

References n.

Referenced by CodePointToUtf8().

◆ CmpHelperEQ() [1/2]

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

◆ CmpHelperEQ() [2/2]

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

◆ CmpHelperFloatingPointEQ()

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

Definition at line 19099 of file gtest.h.

References testing::AssertionSuccess(), EqFailure(), and StringStreamToString().

◆ CmpHelperSTRCASEEQ()

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

◆ CmpHelperSTRCASENE()

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

◆ CmpHelperSTREQ() [1/2]

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

◆ CmpHelperSTREQ() [2/2]

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

◆ CmpHelperSTRNE() [1/2]

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

◆ CmpHelperSTRNE() [2/2]

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

◆ CodePointToUtf8()

std::string testing::internal::CodePointToUtf8 ( UInt32  code_point)

◆ ColoredPrintf()

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

◆ CopyArray() [1/3]

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

Definition at line 7889 of file gtest.h.

◆ CopyArray() [2/3]

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

Definition at line 7901 of file gtest.h.

References CopyArray(), and i.

◆ CopyArray() [3/3]

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

Definition at line 7893 of file gtest.h.

Referenced by CopyArray(), and testing::internal::NativeArray< Element >::Init().

◆ CountIf()

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

◆ CreateCodePointFromUtf16SurrogatePair()

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

Definition at line 2961 of file gtest-all.cc.

Referenced by WideStringToUtf8().

◆ DefaultPrintTo() [1/3]

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

Definition at line 9460 of file gtest.h.

References Octave::count, it, and UniversalPrint().

◆ DefaultPrintTo() [2/3]

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

Definition at line 9526 of file gtest.h.

References testing_internal::DefaultPrintNonContainerTo().

Referenced by PrintTo().

◆ DefaultPrintTo() [3/3]

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

Definition at line 9494 of file gtest.h.

References IsTrue(), and Chroma::p.

◆ Delete()

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

Definition at line 740 of file gtest-all.cc.

References x.

◆ DoubleNearPredFormat()

GTEST_API_ 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 2523 of file gtest-all.cc.

References testing::AssertionFailure(), and testing::AssertionSuccess().

◆ DownCast_()

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

Definition at line 2229 of file gtest.h.

References GTEST_CHECK_.

◆ EqFailure()

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

◆ FlagToEnvVar()

static std::string testing::internal::FlagToEnvVar ( const char *  flag)
static

◆ FloatingPointLE()

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

◆ FlushInfoLog()

void testing::internal::FlushInfoLog ( )
inline

Definition at line 2151 of file gtest.h.

◆ ForEach()

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

◆ FormatCompilerIndependentFileLocation()

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

◆ FormatEpochTimeInMillisAsIso8601()

std::string testing::internal::FormatEpochTimeInMillisAsIso8601 ( TimeInMillis  ms)

◆ FormatFileLocation()

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

◆ FormatForComparisonFailureMessage()

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

Definition at line 18844 of file gtest.h.

Referenced by CmpHelperEQ().

◆ FormatTimeInMillisAsSeconds()

std::string testing::internal::FormatTimeInMillisAsSeconds ( TimeInMillis  ms)

◆ GetAnsiColorCode()

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

Definition at line 4057 of file gtest-all.cc.

References COLOR_GREEN, COLOR_RED, and COLOR_YELLOW.

Referenced by ColoredPrintf().

◆ GetBoolAssertionFailureMessage()

GTEST_API_ std::string testing::internal::GetBoolAssertionFailureMessage ( const AssertionResult assertion_result,
const char *  expression_text,
const char *  actual_predicate_value,
const char *  expected_predicate_value 
)

◆ GetCapturedStderr()

GTEST_API_ std::string testing::internal::GetCapturedStderr ( )

◆ GetCapturedStdout()

GTEST_API_ std::string testing::internal::GetCapturedStdout ( )

◆ GetCurrentExecutableName()

FilePath testing::internal::GetCurrentExecutableName ( )

◆ GetCurrentOsStackTraceExceptTop()

GTEST_API_ std::string testing::internal::GetCurrentOsStackTraceExceptTop ( UnitTest ,
int  skip_count 
)

◆ GetElementOr()

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

◆ GetNextRandomSeed()

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

Definition at line 552 of file gtest-all.cc.

References GTEST_CHECK_, and kMaxRandomSeed.

Referenced by testing::internal::UnitTestImpl::RunAllTests().

◆ GetRandomSeedFromFlag()

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

Definition at line 536 of file gtest-all.cc.

References GetTimeInMillis(), and kMaxRandomSeed.

Referenced by testing::internal::UnitTestImpl::RunAllTests().

◆ GetTestTypeId()

GTEST_API_ TypeId testing::internal::GetTestTypeId ( )

Definition at line 2082 of file gtest-all.cc.

Referenced by testing::Test::HasSameFixtureClass().

◆ GetThreadCount()

GTEST_API_ size_t testing::internal::GetThreadCount ( )

Definition at line 8338 of file gtest-all.cc.

◆ GetTimeInMillis()

TimeInMillis testing::internal::GetTimeInMillis ( )

◆ GetTypeId()

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

Definition at line 7377 of file gtest.h.

◆ GetTypeName()

template<typename T >
std::string testing::internal::GetTypeName ( )

Definition at line 3756 of file gtest.h.

References Chroma::AsqtadFermActEnv::name.

◆ GetUnitTestImpl()

class UnitTestImpl * testing::internal::GetUnitTestImpl ( )
inline

◆ GTEST_DECLARE_STATIC_MUTEX_()

GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ ( g_linked_ptr_mutex  )

◆ GTEST_DECLARE_string_()

testing::internal::GTEST_DECLARE_string_ ( internal_run_death_test  )

◆ GTEST_DEFINE_STATIC_MUTEX_()

GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ ( g_linked_ptr_mutex  )

◆ GTEST_DEFINE_string_()

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 " "the '|' characters. 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_() [1/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( GE  ,
>=   
)

◆ GTEST_IMPL_CMP_HELPER_() [2/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( GT  )

◆ GTEST_IMPL_CMP_HELPER_() [3/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( LE  ,
<=   
)

◆ GTEST_IMPL_CMP_HELPER_() [4/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( LT  )

◆ GTEST_IMPL_CMP_HELPER_() [5/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( NE  ,
 
)

◆ GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_() [1/2]

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( char  )

◆ GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_() [2/2]

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( wchar_t  )

◆ GTEST_IMPL_FORMAT_C_STRING_AS_STRING_() [1/2]

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ ( char  ,
::std::string   
)

◆ GTEST_IMPL_FORMAT_C_STRING_AS_STRING_() [2/2]

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ ( wchar_t  ,
::std::wstring   
)

◆ GTestIsInitialized()

static bool testing::internal::GTestIsInitialized ( )
static

Definition at line 1800 of file gtest-all.cc.

References g_init_gtest_count.

Referenced by testing::internal::UnitTestImpl::RunAllTests().

◆ HandleExceptionsInMethodIfSupported()

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

◆ HandleSehExceptionsInMethodIfSupported()

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

◆ HasGoogleTestFlagPrefix()

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

Definition at line 6251 of file gtest-all.cc.

References GTEST_FLAG_PREFIX_, GTEST_FLAG_PREFIX_DASH_, and SkipPrefix().

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ HasOneFailure()

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

◆ ImplicitCast_()

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

Definition at line 2205 of file gtest.h.

References x.

◆ InitGoogleTestImpl()

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

◆ Int32FromEnvOrDie()

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

◆ Int32FromGTestEnv()

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

Definition at line 8986 of file gtest-all.cc.

References FlagToEnvVar(), testing::internal::posix::GetEnv(), and ParseInt32().

◆ IsAlNum()

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

Definition at line 2769 of file gtest.h.

◆ IsAlpha()

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

Definition at line 2766 of file gtest.h.

◆ IsContainerTest() [1/2]

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

Definition at line 7821 of file gtest.h.

◆ IsContainerTest() [2/2]

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

Definition at line 7829 of file gtest.h.

◆ IsDigit()

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

Definition at line 2772 of file gtest.h.

◆ IsLower()

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

Definition at line 2775 of file gtest.h.

◆ IsNullLiteralHelper() [1/2]

char(& testing::internal::IsNullLiteralHelper (   ...) )[2]

◆ IsNullLiteralHelper() [2/2]

char testing::internal::IsNullLiteralHelper ( Secret *  p)

◆ IsPathSeparator()

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

◆ IsPrintableAscii()

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

Definition at line 9146 of file gtest-all.cc.

References c.

Referenced by PrintAsCharLiteralTo().

◆ IsSpace()

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

Definition at line 2778 of file gtest.h.

◆ IsTrue()

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

◆ IsUpper()

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

Definition at line 2781 of file gtest.h.

◆ IsUtf16SurrogatePair()

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

Definition at line 2955 of file gtest-all.cc.

Referenced by WideStringToUtf8().

◆ IsXDigit() [1/2]

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

Definition at line 2784 of file gtest.h.

Referenced by PrintCharsAsStringTo().

◆ IsXDigit() [2/2]

bool testing::internal::IsXDigit ( wchar_t  ch)
inline

Definition at line 2787 of file gtest.h.

◆ LogToStderr()

void testing::internal::LogToStderr ( )
inline

Definition at line 2150 of file gtest.h.

◆ make_linked_ptr()

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

Definition at line 9186 of file gtest.h.

◆ MakeAndRegisterTestInfo()

GTEST_API_ 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 
)

◆ operator!=()

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

Definition at line 9178 of file gtest.h.

References x.

◆ operator==()

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

Definition at line 9173 of file gtest.h.

References x.

◆ ParseBoolFlag()

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

Definition at line 6199 of file gtest-all.cc.

References ParseFlagValue().

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ ParseFlagValue()

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

Definition at line 6161 of file gtest-all.cc.

References GTEST_FLAG_PREFIX_.

Referenced by ParseBoolFlag(), ParseInt32Flag(), and ParseStringFlag().

◆ ParseGoogleTestFlagsOnly() [1/2]

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

Definition at line 6443 of file gtest-all.cc.

References ParseGoogleTestFlagsOnlyImpl().

Referenced by InitGoogleTestImpl().

◆ ParseGoogleTestFlagsOnly() [2/2]

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

Definition at line 6446 of file gtest-all.cc.

References ParseGoogleTestFlagsOnlyImpl().

◆ ParseGoogleTestFlagsOnlyImpl()

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

◆ ParseInt32()

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

Definition at line 8934 of file gtest-all.cc.

References testing::Message::GetString().

Referenced by Int32FromEnvOrDie(), Int32FromGTestEnv(), and ParseInt32Flag().

◆ ParseInt32Flag()

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

Definition at line 6216 of file gtest-all.cc.

References ParseFlagValue(), and ParseInt32().

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ ParseStringFlag()

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

Definition at line 6233 of file gtest-all.cc.

References ParseFlagValue().

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ PrintAsCharLiteralTo()

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

◆ PrintAsStringLiteralTo() [1/2]

static CharFormat testing::internal::PrintAsStringLiteralTo ( char  c,
ostream *  os 
)
static

Definition at line 9216 of file gtest-all.cc.

References c, and PrintAsStringLiteralTo().

◆ PrintAsStringLiteralTo() [2/2]

static CharFormat testing::internal::PrintAsStringLiteralTo ( wchar_t  c,
ostream *  os 
)
static

Definition at line 9201 of file gtest-all.cc.

References c, kAsIs, and kSpecialEscape.

Referenced by PrintAsStringLiteralTo(), and PrintCharsAsStringTo().

◆ PrintCharAndCodeTo()

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

Definition at line 9226 of file gtest-all.cc.

References c, testing::internal::String::FormatHexInt(), and kHexEscape.

◆ PrintCharsAsStringTo()

template<typename CharType >
static void testing::internal::PrintCharsAsStringTo ( const CharType *  begin,
size_t  len,
ostream *  os 
)
static

Definition at line 9268 of file gtest-all.cc.

References index, IsXDigit(), kHexEscape, and PrintAsStringLiteralTo().

Referenced by PrintStringTo(), PrintTo(), and UniversalPrintCharArray().

◆ PrintColorEncoded()

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

◆ PrintFullTestCommentIfPresent()

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

◆ PrintOnOneLine()

static void testing::internal::PrintOnOneLine ( const char *  str,
int  max_length 
)
static

Definition at line 5996 of file gtest-all.cc.

References i.

Referenced by testing::internal::UnitTestImpl::ListTestsMatchingFilter().

◆ PrintRawArrayTo()

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

Definition at line 9638 of file gtest.h.

References Chroma::a, Octave::count, i, and UniversalPrint().

Referenced by UniversalPrintArray().

◆ PrintStringTo() [1/2]

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

Referenced by PrintTo().

◆ PrintStringTo() [2/2]

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

Definition at line 9357 of file gtest-all.cc.

References PrintCharsAsStringTo(), and s.

◆ PrintTestPartResult()

static void testing::internal::PrintTestPartResult ( const TestPartResult test_part_result)
static

◆ PrintTestPartResultToString()

static std::string testing::internal::PrintTestPartResultToString ( const TestPartResult test_part_result)
static

◆ PrintTo() [1/31]

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

Definition at line 9585 of file gtest.h.

References x.

◆ PrintTo() [2/31]

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

Definition at line 9600 of file gtest.h.

References PrintTo(), and s.

◆ PrintTo() [3/31]

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

Definition at line 9577 of file gtest.h.

References c, and PrintTo().

◆ PrintTo() [4/31]

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

Definition at line 9757 of file gtest.h.

Referenced by testing::internal::UniversalPrinter< T >::Print(), and PrintTo().

◆ PrintTo() [5/31]

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

Definition at line 9655 of file gtest.h.

References PrintStringTo(), and s.

◆ PrintTo() [6/31]

template<typename T1 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1 > &  t,
::std::ostream *  os 
)

Definition at line 9693 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [7/31]

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

Definition at line 9698 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [8/31]

template<typename T1 , typename T2 , typename T3 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3 > &  t,
::std::ostream *  os 
)

Definition at line 9703 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [9/31]

template<typename T1 , typename T2 , typename T3 , typename T4 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4 > &  t,
::std::ostream *  os 
)

Definition at line 9708 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [10/31]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4, T5 > &  t,
::std::ostream *  os 
)

Definition at line 9713 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [11/31]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6 > &  t,
::std::ostream *  os 
)

Definition at line 9720 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [12/31]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7 > &  t,
::std::ostream *  os 
)

Definition at line 9727 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [13/31]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8 > &  t,
::std::ostream *  os 
)

Definition at line 9734 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [14/31]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > &  t,
::std::ostream *  os 
)

Definition at line 9741 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [15/31]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
void testing::internal::PrintTo ( const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > &  t,
::std::ostream *  os 
)

Definition at line 9748 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [16/31]

void testing::internal::PrintTo ( const ::std::tr1::tuple<> &  t,
::std::ostream *  os 
)
inline

Definition at line 9688 of file gtest.h.

References PrintTupleTo(), and t.

◆ PrintTo() [17/31]

void testing::internal::PrintTo ( const ::std::wstring &  s,
::std::ostream *  os 
)
inline

Definition at line 9669 of file gtest.h.

References PrintWideStringTo(), and s.

◆ PrintTo() [18/31]

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

◆ PrintTo() [19/31]

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

Definition at line 9323 of file gtest-all.cc.

References PrintCharsAsStringTo(), and s.

◆ PrintTo() [20/31]

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

Definition at line 9606 of file gtest.h.

References PrintTo(), and s.

◆ PrintTo() [21/31]

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

Definition at line 9544 of file gtest.h.

References DefaultPrintTo().

◆ PrintTo() [22/31]

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

Definition at line 9612 of file gtest.h.

References PrintTo(), and s.

◆ PrintTo() [23/31]

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

◆ PrintTo() [24/31]

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

Definition at line 9340 of file gtest-all.cc.

References PrintCharsAsStringTo(), and s.

◆ PrintTo() [25/31]

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

Definition at line 9609 of file gtest.h.

References PrintTo(), and s.

◆ PrintTo() [26/31]

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

Definition at line 9253 of file gtest-all.cc.

References c.

◆ PrintTo() [27/31]

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

Definition at line 9615 of file gtest.h.

References PrintTo(), and s.

◆ PrintTo() [28/31]

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

Definition at line 9250 of file gtest-all.cc.

References c.

◆ PrintTo() [29/31]

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

Definition at line 9627 of file gtest.h.

References PrintTo(), and s.

◆ PrintTo() [30/31]

GTEST_API_ void testing::internal::PrintTo ( wchar_t  wc,
::std::ostream *  os 
)

◆ PrintTo() [31/31]

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

Definition at line 9259 of file gtest-all.cc.

◆ PrintTupleTo()

template<typename T >
void testing::internal::PrintTupleTo ( const T t,
::std::ostream *  os 
)

Definition at line 10016 of file gtest.h.

References t.

Referenced by PrintTo().

◆ PrintWideStringTo()

GTEST_API_ void testing::internal::PrintWideStringTo ( const ::std::wstring &  s,
::std::ostream *  os 
)

Referenced by PrintTo().

◆ ReportFailureInUnknownLocation()

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

◆ ReportInvalidTestCaseType()

GTEST_API_ void testing::internal::ReportInvalidTestCaseType ( const char *  test_case_name,
const char *  file,
int  line 
)

◆ SetUpEnvironment()

static void testing::internal::SetUpEnvironment ( Environment env)
static

◆ ShouldRunTestCase()

static bool testing::internal::ShouldRunTestCase ( const TestCase test_case)
static

◆ ShouldRunTestOnShard()

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

Definition at line 5928 of file gtest-all.cc.

Referenced by testing::internal::UnitTestImpl::FilterTests().

◆ ShouldShard()

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

◆ ShouldUseColor()

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

◆ Shuffle()

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

Definition at line 733 of file gtest-all.cc.

References ShuffleRange().

Referenced by testing::TestCase::ShuffleTests().

◆ ShuffleRange()

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

◆ SkipPrefix()

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

Definition at line 6147 of file gtest-all.cc.

Referenced by HasGoogleTestFlagPrefix().

◆ StreamableToString()

template<typename T >
std::string testing::internal::StreamableToString ( const T streamable)

◆ StringFromGTestEnv()

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

Definition at line 9008 of file gtest-all.cc.

References FlagToEnvVar(), and testing::internal::posix::GetEnv().

◆ StringStreamToString()

GTEST_API_ std::string testing::internal::StringStreamToString ( ::std::stringstream *  ss)

◆ SumOverTestCaseList()

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

◆ TearDownEnvironment()

static void testing::internal::TearDownEnvironment ( Environment env)
static

◆ TestCaseFailed()

static bool testing::internal::TestCaseFailed ( const TestCase test_case)
static

◆ TestCasePassed()

static bool testing::internal::TestCasePassed ( const TestCase test_case)
static

◆ ToLower()

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

Definition at line 2792 of file gtest.h.

◆ ToUpper()

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

Definition at line 2795 of file gtest.h.

Referenced by FlagToEnvVar().

◆ UniversalPrint()

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

◆ UniversalPrintArray() [1/5]

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

◆ UniversalPrintArray() [2/5]

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

Definition at line 9312 of file gtest-all.cc.

References UniversalPrintCharArray().

◆ UniversalPrintArray() [3/5]

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

Definition at line 9802 of file gtest.h.

References PrintRawArrayTo().

◆ UniversalPrintArray() [4/5]

GTEST_API_ void testing::internal::UniversalPrintArray ( const wchar_t *  begin,
size_t  len,
::std::ostream *  os 
)

◆ UniversalPrintArray() [5/5]

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

Definition at line 9318 of file gtest-all.cc.

References UniversalPrintCharArray().

◆ UniversalPrintCharArray()

template<typename CharType >
static void testing::internal::UniversalPrintCharArray ( const CharType *  begin,
size_t  len,
ostream *  os 
)
static

Definition at line 9289 of file gtest-all.cc.

References PrintCharsAsStringTo().

Referenced by UniversalPrintArray().

◆ UniversalTersePrint()

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

◆ UniversalTersePrintTupleFieldsToStrings()

template<typename Tuple >
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings ( const Tuple &  value)

Definition at line 10027 of file gtest.h.

◆ WideStringToUtf8()

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

◆ WriteToShardStatusFileIfNeeded()

void testing::internal::WriteToShardStatusFileIfNeeded ( )

Variable Documentation

◆ g_executable_path

std::string testing::internal::g_executable_path

Definition at line 1857 of file gtest-all.cc.

Referenced by GetCurrentExecutableName(), and InitGoogleTestImpl().

◆ g_help_flag

bool testing::internal::g_help_flag = false

◆ g_init_gtest_count

GTEST_API_ int testing::internal::g_init_gtest_count = 0

Definition at line 1799 of file gtest-all.cc.

Referenced by GTestIsInitialized(), and InitGoogleTestImpl().

◆ GTEST_ATTRIBUTE_UNUSED_

class GTEST_API_ testing::internal::ScopedTrace testing::internal::GTEST_ATTRIBUTE_UNUSED_

◆ kAlsoRunDisabledTestsFlag

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

Definition at line 490 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kBreakOnFailureFlag

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

Definition at line 491 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kCatchExceptionsFlag

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

Definition at line 492 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kColorEncodedHelpMessage

const char testing::internal::kColorEncodedHelpMessage[]
static

Definition at line 6305 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kColorFlag

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

Definition at line 493 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kCurrentDirectoryString

const char testing::internal::kCurrentDirectoryString[] = "./"

◆ kDeathTestStyleFlag

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

Definition at line 8207 of file gtest.h.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kDeathTestUseFork

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

Definition at line 8208 of file gtest.h.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kFilterFlag

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

Definition at line 494 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kInternalRunDeathTestFlag

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

Definition at line 8209 of file gtest.h.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kListTestsFlag

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

Definition at line 495 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kMaxBiggestInt

const BiggestInt testing::internal::kMaxBiggestInt
Initial value:
=
~(static_cast<BiggestInt>(1) << (8*sizeof(BiggestInt) - 1))
long long BiggestInt
Definition: gtest.h:2756

Definition at line 2952 of file gtest.h.

◆ kMaxCodePoint1

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

Definition at line 2894 of file gtest-all.cc.

Referenced by CodePointToUtf8().

◆ kMaxCodePoint2

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

Definition at line 2897 of file gtest-all.cc.

Referenced by CodePointToUtf8().

◆ kMaxCodePoint3

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

Definition at line 2900 of file gtest-all.cc.

Referenced by CodePointToUtf8().

◆ kMaxCodePoint4

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

Definition at line 2903 of file gtest-all.cc.

Referenced by CodePointToUtf8().

◆ kMaxRandomSeed

const int testing::internal::kMaxRandomSeed = 99999

Definition at line 506 of file gtest-all.cc.

Referenced by GetNextRandomSeed(), and GetRandomSeedFromFlag().

◆ kOutputFlag

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

Definition at line 496 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kPathSeparator

const char testing::internal::kPathSeparator = '/'

◆ kPathSeparatorString

const char testing::internal::kPathSeparatorString[] = "/"

Definition at line 7921 of file gtest-all.cc.

◆ kPrintTimeFlag

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

Definition at line 497 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kRandomSeedFlag

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

Definition at line 498 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kRepeatFlag

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

Definition at line 499 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kShuffleFlag

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

Definition at line 500 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kStackTraceDepthFlag

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

Definition at line 501 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kStackTraceMarker

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

◆ kStdErrFileno

const int testing::internal::kStdErrFileno = STDERR_FILENO

Definition at line 8292 of file gtest-all.cc.

◆ kStdOutFileno

const int testing::internal::kStdOutFileno = STDOUT_FILENO

Definition at line 8291 of file gtest-all.cc.

◆ kStreamResultToFlag

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

Definition at line 502 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kTestTypeIdInGoogleTest

const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId()
extern

Definition at line 2088 of file gtest-all.cc.

◆ kThrowOnFailureFlag

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

Definition at line 503 of file gtest-all.cc.

Referenced by ParseGoogleTestFlagsOnlyImpl().

◆ kTypeParamLabel

const char testing::internal::kTypeParamLabel[] = "TypeParam"
static

◆ kUnknownFile

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

Definition at line 8662 of file gtest-all.cc.

Referenced by FormatCompilerIndependentFileLocation(), and FormatFileLocation().

◆ kValueParamLabel

const char testing::internal::kValueParamLabel[] = "GetParam()"
static