QUDA  v1.1.0
A library for QCD on GPUs
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
testing::internal Namespace Reference

Namespaces

 edit_distance
 
 posix
 

Classes

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

Typedefs

typedef ::std::vector< ::std::string > Strings
 
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
 
template<class TestCase >
using ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo< TestCase >
 
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
 

Enumerations

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

Functions

template<typename T >
std::string StreamableToString (const T &streamable)
 
 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)
 
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)
 
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)
 
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)
 
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
 
 GTEST_DECLARE_string_ (internal_run_death_test)
 
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_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 &)
 
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::string > GetArgvs ()
 
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)
 
GTEST_API_ std::string StringStreamToString (::std::stringstream *stream)
 
std::string CanonicalizeForStdLibVersioning (std::string s)
 
template<typename T >
std::string GetTypeName ()
 

Variables

GTEST_API_ const char * fmt
 
const char kDeathTestStyleFlag [] = "death_test_style"
 
const char kDeathTestUseFork [] = "death_test_use_fork"
 
const char kInternalRunDeathTestFlag [] = "internal_run_death_test"
 
GTEST_API_ const char kStackTraceMarker []
 
const BiggestInt kMaxBiggestInt
 

Typedef Documentation

◆ BiggestInt

typedef long long testing::internal::BiggestInt

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

◆ Double

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

◆ false_type

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

◆ Float

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

◆ Int32

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

◆ Int64

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

◆ IsContainer

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

◆ IsNotContainer

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

◆ MutexLock

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

◆ ParameterizedTestCaseInfo

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

Definition at line 645 of file gtest-param-util.h.

◆ SetUpTearDownSuiteFuncType

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

◆ SetUpTestSuiteFunc

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

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

◆ string

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

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

◆ Strings

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

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

◆ TearDownTestSuiteFunc

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

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

◆ TimeInMillis

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

◆ true_type

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

◆ TypeId

typedef const void* testing::internal::TypeId

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

◆ UInt32

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

◆ UInt64

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

◆ wstring

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

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

Enumeration Type Documentation

◆ DefaultPrinterType

Enumerator
kPrintContainer 
kPrintPointer 
kPrintFunctionPointer 
kPrintOther 

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

◆ GTestColor

Enumerator
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 

Definition at line 1801 of file gtest.h.

◆ GTestLogSeverity

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

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

Function Documentation

◆ AlwaysFalse()

bool testing::internal::AlwaysFalse ( )
inline

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

◆ AlwaysTrue()

GTEST_API_ bool testing::internal::AlwaysTrue ( )

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

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

◆ ArrayEq() [1/3]

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

Definition at line 1006 of file gtest-internal.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 1018 of file gtest-internal.h.

◆ ArrayEq() [3/3]

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

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

◆ BoolFromGTestEnv()

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

◆ CanonicalizeForStdLibVersioning()

std::string testing::internal::CanonicalizeForStdLibVersioning ( std::string  s)
inline

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

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

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

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

Definition at line 1518 of file gtest.h.

◆ CmpHelperEQFailure()

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

Definition at line 1499 of file gtest.h.

◆ CmpHelperFloatingPointEQ()

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

Definition at line 1725 of file gtest.h.

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

Definition at line 1580 of file gtest.h.

◆ 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

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

◆ CopyArray() [2/3]

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

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

◆ 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 1050 of file gtest-internal.h.

◆ DefaultParamName()

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

Definition at line 374 of file gtest-param-util.h.

◆ DefaultPrintTo() [1/4]

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

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

◆ DefaultPrintTo() [2/4]

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

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

◆ DefaultPrintTo() [3/4]

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

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

◆ DefaultPrintTo() [4/4]

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

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

◆ 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

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

◆ 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

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

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

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

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

SetUpTearDownSuiteFuncType testing::internal::GetNotDefaultOrNull ( SetUpTearDownSuiteFuncType  a,
SetUpTearDownSuiteFuncType  def 
)
inline

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

◆ GetTestTypeId()

GTEST_API_ TypeId testing::internal::GetTestTypeId ( )

◆ GetThreadCount()

GTEST_API_ size_t testing::internal::GetThreadCount ( )

◆ GetTypeId()

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

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

◆ GetTypeName()

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

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

◆ GTEST_ATTRIBUTE_PRINTF_()

GTEST_API_ testing::internal::GTEST_ATTRIBUTE_PRINTF_ ( ,
 
)

◆ GTEST_DECLARE_string_()

testing::internal::GTEST_DECLARE_string_ ( internal_run_death_test  )

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

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

◆ GTEST_INTERNAL_DEPRECATED() [1/5]

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

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

◆ 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

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

◆ 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

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

◆ GTEST_INTERNAL_DEPRECATED() [4/5]

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

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

◆ GTEST_INTERNAL_DEPRECATED() [5/5]

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

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

◆ ImplicitCast_()

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

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

◆ Int32FromGTestEnv()

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

◆ IsAlNum()

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

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

◆ IsAlpha()

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

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

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

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

◆ IsContainerTest() [2/2]

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

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

◆ IsDigit()

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

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

◆ IsLower()

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

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

◆ IsSpace()

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

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

◆ IsTrue()

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

◆ IsUpper()

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

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

◆ IsXDigit() [1/2]

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

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

◆ IsXDigit() [2/2]

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

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

◆ LogToStderr()

void testing::internal::LogToStderr ( )
inline

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

◆ 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

Definition at line 1514 of file gtest.h.

◆ operator==()

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

Definition at line 1513 of file gtest.h.

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

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

◆ PrintStringTo()

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

◆ PrintTo() [1/19]

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

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

◆ PrintTo() [2/19]

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

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

◆ PrintTo() [3/19]

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

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

◆ PrintTo() [4/19]

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

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

◆ PrintTo() [5/19]

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

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

◆ PrintTo() [6/19]

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

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

◆ 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

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

◆ PrintTo() [9/19]

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

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

◆ PrintTo() [10/19]

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

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

◆ 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

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

◆ 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

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

◆ PrintTo() [15/19]

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

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

◆ PrintTo() [16/19]

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

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

◆ 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

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

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

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

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

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

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

Definition at line 215 of file gtest-message.h.

◆ StringFromGTestEnv()

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

◆ StringStreamToString()

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

◆ StripTrailingSpaces()

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

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

◆ TersePrintPrefixToStrings() [1/2]

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

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

◆ TersePrintPrefixToStrings() [2/2]

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

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

◆ TestNotEmpty() [1/2]

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

Definition at line 381 of file gtest-param-util.h.

◆ TestNotEmpty() [2/2]

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

Definition at line 385 of file gtest-param-util.h.

◆ ToLower()

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

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

◆ ToUpper()

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

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

◆ UniversalPrint()

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

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

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

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

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

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

◆ UniversalTersePrintTupleFieldsToStrings()

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

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

Variable Documentation

◆ fmt

GTEST_API_ const char* testing::internal::fmt

Definition at line 1804 of file gtest.h.

◆ kDeathTestStyleFlag

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

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

◆ kDeathTestUseFork

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

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

◆ kInternalRunDeathTestFlag

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

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

◆ kMaxBiggestInt

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

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

◆ kStackTraceMarker

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