testing::internal Namespace Reference

Namespaces

namespace  edit_distance
 
namespace  posix
 

Classes

class  AssertHelper
 
class  CartesianProductGenerator
 
class  CartesianProductHolder
 
struct  CodeLocation
 
struct  ConstCharPtr
 
struct  ConstRef
 
struct  ConstRef< T & >
 
struct  DoubleSequence
 
struct  DoubleSequence< false, IndexSequence< I... >, sizeofT >
 
struct  DoubleSequence< true, IndexSequence< I... >, sizeofT >
 
struct  ElemFromList
 
struct  ElemFromList< N, IndexSequence< I... >, T... >
 
struct  ElemFromListImpl
 
struct  ElemFromListImpl< T, I, I >
 
class  EqHelper
 
struct  faketype
 
class  FlatTuple
 
struct  FlatTupleBase
 
struct  FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >
 
struct  FlatTupleElemBase
 
struct  FlatTupleElemBase< FlatTuple< T... >, I >
 
class  FloatingPoint
 
class  FormatForComparison
 
class  FormatForComparison< ToPrint[N], OtherOperand >
 
class  GTestLog
 
class  GTestMutexLock
 
class  IgnoredValue
 
struct  IndexSequence
 
struct  IsAProtocolMessage
 
struct  IsHashTable
 
struct  IsRecursiveContainer
 
struct  IsRecursiveContainerImpl
 
struct  IsRecursiveContainerImpl< C, false >
 
struct  IsRecursiveContainerImpl< C, true >
 
struct  MakeIndexSequence
 
struct  MakeIndexSequence< 0 >
 
class  Mutex
 
class  NativeArray
 
class  ParameterizedTestFactory
 
class  ParameterizedTestSuiteInfo
 
class  ParameterizedTestSuiteInfoBase
 
class  ParameterizedTestSuiteRegistry
 
class  ParamGenerator
 
class  ParamGeneratorInterface
 
class  ParamIterator
 
class  ParamIteratorInterface
 
class  Random
 
class  RangeGenerator
 
class  RE
 
struct  RelationToSourceCopy
 
struct  RelationToSourceReference
 
struct  SuiteApiResolver
 
class  TestFactoryBase
 
class  TestFactoryImpl
 
class  TestMetaFactory
 
class  TestMetaFactoryBase
 
class  ThreadLocal
 
class  TypeIdHelper
 
class  TypeWithSize
 
class  TypeWithSize< 4 >
 
class  TypeWithSize< 8 >
 
class  UniversalPrinter
 
class  UniversalPrinter< T & >
 
class  UniversalPrinter< T[N]>
 
class  UniversalTersePrinter
 
class  UniversalTersePrinter< char * >
 
class  UniversalTersePrinter< const char * >
 
class  UniversalTersePrinter< const wchar_t * >
 
class  UniversalTersePrinter< T & >
 
class  UniversalTersePrinter< T[N]>
 
class  UniversalTersePrinter< wchar_t * >
 
class  ValueArray
 
class  ValuesInIteratorRangeGenerator
 
struct  WrapPrinterType
 

Typedefs

typedef GTestMutexLock MutexLock
 
template<bool B>
using bool_constant = std::integral_constant< bool, B >
 
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
 
using SetUpTestSuiteFunc = void(*)()
 
using TearDownTestSuiteFunc = void(*)()
 
using SetUpTearDownSuiteFuncType = void(*)()
 
typedef int IsContainer
 
typedef char IsNotContainer
 
typedef ::std::vector< ::std::stringStrings
 
template<class TestCase >
using ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo< TestCase >
 

Enumerations

enum  GTestLogSeverity { GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL }
 
enum  DefaultPrinterType { kPrintContainer , kPrintPointer , kPrintFunctionPointer , kPrintOther }
 
enum  GTestColor { COLOR_DEFAULT , COLOR_RED , COLOR_GREEN , COLOR_YELLOW }
 

Functions

GTEST_API_ bool IsTrue (bool condition)
 
GTEST_API_::std::string FormatFileLocation (const char *file, int line)
 
GTEST_API_::std::string FormatCompilerIndependentFileLocation (const char *file, int line)
 
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 ()
 
GTEST_API_ size_t GetFileSize (FILE *file)
 
GTEST_API_ std::string ReadEntireFile (FILE *file)
 
GTEST_API_ std::vector< std::stringGetArgvs ()
 
GTEST_API_ size_t GetThreadCount ()
 
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)
 
std::string StripTrailingSpaces (std::string str)
 
bool ParseInt32 (const Message &src_text, const char *str, Int32 *value)
 
bool BoolFromGTestEnv (const char *flag, bool default_val)
 
GTEST_API_ Int32 Int32FromGTestEnv (const char *flag, Int32 default_val)
 
std::string OutputFlagAlsoCheckEnvVar ()
 
const char * StringFromGTestEnv (const char *flag, const char *default_val)
 
template<typename T >
std::string StreamableToString (const T &streamable)
 
GTEST_API_ std::string AppendUserMessage (const std::string &gtest_msg, const Message &user_msg)
 
GTEST_API_ std::string DiffStrings (const std::string &left, const std::string &right, size_t *total_line_count)
 
GTEST_API_ AssertionResult EqFailure (const char *expected_expression, const char *actual_expression, const std::string &expected_value, const std::string &actual_value, bool ignoring_case)
 
GTEST_API_ std::string GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value)
 
template<typename T >
TypeId GetTypeId ()
 
GTEST_API_ TypeId GetTestTypeId ()
 
SetUpTearDownSuiteFuncType GetNotDefaultOrNull (SetUpTearDownSuiteFuncType a, SetUpTearDownSuiteFuncType def)
 
GTEST_API_ TestInfoMakeAndRegisterTestInfo (const char *test_suite_name, const char *name, const char *type_param, const char *value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, TearDownTestSuiteFunc tear_down_tc, TestFactoryBase *factory)
 
GTEST_API_ bool SkipPrefix (const char *prefix, const char **pstr)
 
GTEST_API_ std::string GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count)
 
GTEST_API_ bool AlwaysTrue ()
 
bool AlwaysFalse ()
 
template<class C , class Iterator = decltype(::std::declval<const C&>().begin()), class = decltype(::std::declval<const C&>().end()), class = decltype(++::std::declval<Iterator&>()), class = decltype(*::std::declval<Iterator>()), class = typename C::const_iterator>
IsContainer IsContainerTest (int)
 
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_INTERNAL_DEPRECATED ("INSTANTIATE_TEST_CASE_P is deprecated, please use " "INSTANTIATE_TEST_SUITE_P") const expr bool InstantiateTestCase_P_IsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("TYPED_TEST_CASE_P is deprecated, please use " "TYPED_TEST_SUITE_P") const expr bool TypedTestCase_P_IsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("TYPED_TEST_CASE is deprecated, please use " "TYPED_TEST_SUITE") const expr bool TypedTestCaseIsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("REGISTER_TYPED_TEST_CASE_P is deprecated, please use " "REGISTER_TYPED_TEST_SUITE_P") const expr bool RegisterTypedTestCase_P_IsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("INSTANTIATE_TYPED_TEST_CASE_P is deprecated, please use " "INSTANTIATE_TYPED_TEST_SUITE_P") const expr bool InstantiateTypedTestCase_P_IsDeprecated()
 
 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 T >
void UniversalPrint (const T &value, ::std::ostream *os)
 
template<typename C >
void DefaultPrintTo (WrapPrinterType< kPrintContainer >, const C &container, ::std::ostream *os)
 
template<typename T >
void DefaultPrintTo (WrapPrinterType< kPrintPointer >, T *p, ::std::ostream *os)
 
template<typename T >
void DefaultPrintTo (WrapPrinterType< kPrintFunctionPointer >, T *p, ::std::ostream *os)
 
template<typename T >
void DefaultPrintTo (WrapPrinterType< kPrintOther >, const T &value, ::std::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)
 
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)
 
void PrintTo (std::nullptr_t, ::std::ostream *os)
 
template<typename T >
void PrintTo (std::reference_wrapper< T > ref, ::std::ostream *os)
 
template<typename T >
void PrintTupleTo (const T &, std::integral_constant< size_t, 0 >, ::std::ostream *)
 
template<typename T , size_t I>
void PrintTupleTo (const T &t, std::integral_constant< size_t, I >, ::std::ostream *os)
 
template<typename... Types>
void PrintTo (const ::std::tuple< Types... > &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 >
void TersePrintPrefixToStrings (const Tuple &, std::integral_constant< size_t, 0 >, Strings *)
 
template<typename Tuple , size_t I>
void TersePrintPrefixToStrings (const Tuple &t, std::integral_constant< size_t, I >, Strings *strings)
 
template<typename Tuple >
Strings UniversalTersePrintTupleFieldsToStrings (const Tuple &value)
 
GTEST_API_ void ReportInvalidTestSuiteType (const char *test_suite_name, CodeLocation code_location)
 
template<class ParamType >
std::string DefaultParamName (const TestParamInfo< ParamType > &info)
 
template<typename T = int>
void TestNotEmpty ()
 
template<typename T = int>
void TestNotEmpty (const T &)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
bool operator== (faketype, faketype)
 
bool operator!= (faketype, faketype)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
GTEST_API_ AssertionResult CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, BiggestInt lhs, BiggestInt rhs)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op)
 
 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, >)
 
GTEST_API_ AssertionResult CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRCASEEQ (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 char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
template<typename RawType >
AssertionResult CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value)
 
GTEST_API_ AssertionResult DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error)
 
GTEST_API_ GTEST_ATTRIBUTE_PRINTF_ (2, 3) void ColoredPrintf(GTestColor color
 

Variables

const BiggestInt kMaxBiggestInt
 
GTEST_API_ const char kStackTraceMarker []
 
GTEST_API_ const char * fmt
 

Typedef Documentation

◆ BiggestInt

typedef long long testing::internal::BiggestInt

◆ bool_constant

template<bool B>
using testing::internal::bool_constant = typedef std::integral_constant<bool, B>

◆ Double

◆ Float

◆ Int32

◆ Int64

◆ IsContainer

◆ IsNotContainer

◆ MutexLock

◆ ParameterizedTestCaseInfo

template<class TestCase >
using testing::internal::ParameterizedTestCaseInfo = typedef ParameterizedTestSuiteInfo<TestCase>

◆ SetUpTearDownSuiteFuncType

◆ SetUpTestSuiteFunc

using testing::internal::SetUpTestSuiteFunc = typedef void (*)()

◆ Strings

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

◆ TearDownTestSuiteFunc

using testing::internal::TearDownTestSuiteFunc = typedef void (*)()

◆ TimeInMillis

◆ TypeId

typedef const void* testing::internal::TypeId

◆ UInt32

◆ UInt64

Enumeration Type Documentation

◆ DefaultPrinterType

Enumerator
kPrintContainer 
kPrintPointer 
kPrintFunctionPointer 
kPrintOther 

◆ GTestColor

Enumerator
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 

◆ GTestLogSeverity

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

Function Documentation

◆ AlwaysFalse()

bool testing::internal::AlwaysFalse ( )
inline

References AlwaysTrue().

◆ AlwaysTrue()

GTEST_API_ bool testing::internal::AlwaysTrue ( )

Referenced by AlwaysFalse().

◆ AppendUserMessage()

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

◆ ArrayAwareFind()

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

References ArrayEq(), and Catch::begin.

◆ ArrayEq() [1/3]

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

◆ ArrayEq() [2/3]

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

◆ ArrayEq() [3/3]

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

References ArrayEq().

◆ BoolFromGTestEnv()

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

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

◆ CmpHelperEQ() [1/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperEQ ( const char *  lhs_expression,
const char *  rhs_expression,
BiggestInt  lhs,
BiggestInt  rhs 
)

◆ CmpHelperEQ() [2/2]

template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQ ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 &  lhs,
const T2 &  rhs 
)

References CmpHelperEQFailure().

◆ CmpHelperEQFailure()

template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQFailure ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 &  lhs,
const T2 &  rhs 
)

◆ CmpHelperFloatingPointEQ()

template<typename RawType >
AssertionResult testing::internal::CmpHelperFloatingPointEQ ( const char *  lhs_expression,
const char *  rhs_expression,
RawType  lhs_value,
RawType  rhs_value 
)

References EqFailure().

◆ CmpHelperOpFailure()

template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperOpFailure ( const char *  expr1,
const char *  expr2,
const T1 &  val1,
const T2 &  val2,
const char *  op 
)

◆ CmpHelperSTRCASEEQ()

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

◆ 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 *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)

◆ CmpHelperSTREQ() [2/2]

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

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

◆ CopyArray() [1/3]

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

◆ CopyArray() [2/3]

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

◆ CopyArray() [3/3]

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

◆ DefaultParamName()

template<class ParamType >
std::string testing::internal::DefaultParamName ( const TestParamInfo< ParamType > &  info)

◆ DefaultPrintTo() [1/4]

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

References count, and UniversalPrint().

Referenced by PrintTo().

◆ DefaultPrintTo() [2/4]

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

◆ DefaultPrintTo() [3/4]

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

◆ DefaultPrintTo() [4/4]

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

◆ DiffStrings()

GTEST_API_ std::string testing::internal::DiffStrings ( const std::string left,
const std::string right,
size_t *  total_line_count 
)

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

◆ DownCast_()

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

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

◆ FlushInfoLog()

void testing::internal::FlushInfoLog ( )
inline

◆ FormatCompilerIndependentFileLocation()

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

◆ 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 &   
)

◆ GetArgvs()

GTEST_API_ std::vector< std::string > testing::internal::GetArgvs ( )

◆ 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 ( )

◆ GetCurrentOsStackTraceExceptTop()

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

◆ GetFileSize()

GTEST_API_ size_t testing::internal::GetFileSize ( FILE *  file)

◆ GetNotDefaultOrNull()

◆ GetTestTypeId()

GTEST_API_ TypeId testing::internal::GetTestTypeId ( )

◆ GetThreadCount()

GTEST_API_ size_t testing::internal::GetThreadCount ( )

◆ GetTypeId()

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

◆ GTEST_ATTRIBUTE_PRINTF_()

GTEST_API_ testing::internal::GTEST_ATTRIBUTE_PRINTF_ ( ,
 
)

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

◆ GTEST_INTERNAL_DEPRECATED() [1/5]

testing::internal::GTEST_INTERNAL_DEPRECATED ( "INSTANTIATE_TEST_CASE_P is  deprecated,
please use " "INSTANTIATE_TEST_SUITE_P  
) const

◆ GTEST_INTERNAL_DEPRECATED() [2/5]

testing::internal::GTEST_INTERNAL_DEPRECATED ( "INSTANTIATE_TYPED_TEST_CASE_P is  deprecated,
please use " "INSTANTIATE_TYPED_TEST_SUITE_P"   
) const

◆ GTEST_INTERNAL_DEPRECATED() [3/5]

testing::internal::GTEST_INTERNAL_DEPRECATED ( "REGISTER_TYPED_TEST_CASE_P is  deprecated,
please use " "REGISTER_TYPED_TEST_SUITE_P"   
) const

◆ GTEST_INTERNAL_DEPRECATED() [4/5]

testing::internal::GTEST_INTERNAL_DEPRECATED ( "TYPED_TEST_CASE is  deprecated,
please use " "TYPED_TEST_SUITE"   
) const

◆ GTEST_INTERNAL_DEPRECATED() [5/5]

testing::internal::GTEST_INTERNAL_DEPRECATED ( "TYPED_TEST_CASE_P is  deprecated,
please use " "TYPED_TEST_SUITE_P"   
) const

◆ ImplicitCast_()

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

References exprtk::details::x().

◆ Int32FromGTestEnv()

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

◆ IsAlNum()

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

◆ IsAlpha()

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

◆ IsContainerTest() [1/2]

template<class C , class Iterator = decltype(::std::declval<const C&>().begin()), class = decltype(::std::declval<const C&>().end()), class = decltype(++::std::declval<Iterator&>()), class = decltype(*::std::declval<Iterator>()), class = typename C::const_iterator>
IsContainer testing::internal::IsContainerTest ( int  )

◆ IsContainerTest() [2/2]

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

◆ IsDigit()

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

◆ IsLower()

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

◆ IsSpace()

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

Referenced by StripTrailingSpaces().

◆ IsTrue()

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

◆ IsUpper()

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

◆ IsXDigit() [1/2]

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

◆ IsXDigit() [2/2]

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

◆ LogToStderr()

void testing::internal::LogToStderr ( )
inline

◆ MakeAndRegisterTestInfo()

GTEST_API_ TestInfo * testing::internal::MakeAndRegisterTestInfo ( const char *  test_suite_name,
const char *  name,
const char *  type_param,
const char *  value_param,
CodeLocation  code_location,
TypeId  fixture_class_id,
SetUpTestSuiteFunc  set_up_tc,
TearDownTestSuiteFunc  tear_down_tc,
TestFactoryBase factory 
)

◆ operator!=()

bool testing::internal::operator!= ( faketype  ,
faketype   
)
inline

◆ operator==()

bool testing::internal::operator== ( faketype  ,
faketype   
)
inline

◆ OutputFlagAlsoCheckEnvVar()

std::string testing::internal::OutputFlagAlsoCheckEnvVar ( )

◆ ParseInt32()

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

◆ PrintRawArrayTo()

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

References count, and UniversalPrint().

Referenced by UniversalPrintArray().

◆ PrintStringTo()

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

Referenced by PrintTo().

◆ PrintTo() [1/19]

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

References PrintTo().

◆ PrintTo() [2/19]

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

References PrintTo().

◆ PrintTo() [3/19]

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

◆ PrintTo() [4/19]

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

References PrintStringTo().

◆ PrintTo() [5/19]

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

◆ PrintTo() [6/19]

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

References PrintWideStringTo().

◆ PrintTo() [7/19]

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

◆ PrintTo() [8/19]

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

References PrintTo().

◆ PrintTo() [9/19]

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

◆ PrintTo() [10/19]

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

References PrintTo().

◆ PrintTo() [11/19]

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

◆ PrintTo() [12/19]

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

References PrintTo().

◆ PrintTo() [13/19]

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

◆ PrintTo() [14/19]

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

◆ PrintTo() [15/19]

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

◆ PrintTo() [16/19]

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

References PrintTo().

◆ PrintTo() [17/19]

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

◆ PrintTo() [18/19]

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

References PrintTo().

◆ PrintTo() [19/19]

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

◆ PrintTupleTo() [1/2]

template<typename T >
void testing::internal::PrintTupleTo ( const T &  ,
std::integral_constant< size_t, 0 >  ,
::std::ostream *   
)

Referenced by PrintTo(), and PrintTupleTo().

◆ PrintTupleTo() [2/2]

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

◆ PrintWideStringTo()

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

Referenced by PrintTo().

◆ ReadEntireFile()

GTEST_API_ std::string testing::internal::ReadEntireFile ( FILE *  file)

◆ ReportInvalidTestSuiteType()

GTEST_API_ void testing::internal::ReportInvalidTestSuiteType ( const char *  test_suite_name,
CodeLocation  code_location 
)

◆ SkipPrefix()

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

◆ StreamableToString()

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

◆ StringFromGTestEnv()

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

◆ StripTrailingSpaces()

std::string testing::internal::StripTrailingSpaces ( std::string  str)
inline

References IsSpace().

◆ TersePrintPrefixToStrings() [1/2]

template<typename Tuple >
void testing::internal::TersePrintPrefixToStrings ( const Tuple &  ,
std::integral_constant< size_t, 0 >  ,
Strings  
)

◆ TersePrintPrefixToStrings() [2/2]

template<typename Tuple , size_t I>
void testing::internal::TersePrintPrefixToStrings ( const Tuple &  t,
std::integral_constant< size_t, I >  ,
Strings strings 
)

◆ TestNotEmpty() [1/2]

template<typename T = int>
void testing::internal::TestNotEmpty ( )

◆ TestNotEmpty() [2/2]

template<typename T = int>
void testing::internal::TestNotEmpty ( const T &  )

◆ ToLower()

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

◆ ToUpper()

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

◆ UniversalPrint()

◆ UniversalPrintArray() [1/3]

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

◆ UniversalPrintArray() [2/3]

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

◆ UniversalPrintArray() [3/3]

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

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

Variable Documentation

◆ fmt

GTEST_API_ const char* testing::internal::fmt

◆ kMaxBiggestInt

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

◆ kStackTraceMarker

GTEST_API_ const char testing::internal::kStackTraceMarker[]
extern