- 3.0.1 core module.
testing::internal Namespace Reference

Namespaces

 edit_distance
 
 gmockpp
 
 invoke_argument
 
 posix
 

Classes

class  ActionHelper
 
struct  AddReference
 
struct  AddReference< T & >
 
struct  append
 
struct  append< int_pack< Is... >, I >
 
class  AssertHelper
 
class  AssignAction
 
class  Base
 
struct  bool_constant
 
struct  BooleanConstant
 
class  BuiltInDefaultValue
 
class  BuiltInDefaultValue< const T >
 
class  BuiltInDefaultValue< T * >
 
struct  BuiltInDefaultValueGetter
 
struct  BuiltInDefaultValueGetter< T, false >
 
struct  ByMoveWrapper
 
class  CartesianProductGenerator
 
class  CartesianProductHolder
 
class  Castable
 
struct  CodeLocation
 
struct  CompileAssertTypesEqual
 
struct  CompileAssertTypesEqual< T, T >
 
class  ConstAndNonConstCastable
 
class  ConstCastable
 
struct  ConstCharPtr
 
struct  ConstRef
 
struct  ConstRef< T & >
 
struct  DecayArray
 
struct  DecayArray< T[]>
 
struct  DecayArray< T[N]>
 
class  Derived
 
struct  DoAllAction
 
class  DoDefaultAction
 
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 >
 
struct  EnableIf
 
struct  EnableIf< true >
 
class  EnvironmentInvocationCatcher
 
class  EqHelper
 
class  EventRecordingListener
 
class  EventRecordingListener2
 
struct  ExcessiveArg
 
class  ExpectationTester
 
struct  faketype
 
class  FinalSuccessChecker
 
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 >
 
struct  Function
 
struct  Function< R(Args...)>
 
class  GoogleTestFailureReporter
 
class  GTestLog
 
class  GTestMutexLock
 
class  IgnoredValue
 
class  IgnoreResultAction
 
struct  IndexSequence
 
struct  int_pack
 
struct  InvokeMethodAction
 
struct  InvokeMethodWithoutArgsAction
 
struct  InvokeWithoutArgsAction
 
struct  is_reference
 
struct  is_reference< T & >
 
struct  is_same
 
struct  is_same< T, T >
 
struct  IsAProtocolMessage
 
struct  IsHashTable
 
struct  IsRecursiveContainer
 
struct  IsRecursiveContainerImpl
 
struct  IsRecursiveContainerImpl< C, false >
 
struct  IsRecursiveContainerImpl< C, true >
 
struct  IsSame
 
struct  IsSame< T, T >
 
struct  IteratorTraits
 
struct  IteratorTraits< const T * >
 
struct  IteratorTraits< T * >
 
class  JsonUnitTestResultPrinter
 
struct  KindOf
 
struct  LessByName
 
class  ListenerTest
 
struct  LosslessArithmeticConvertibleImpl
 
struct  LosslessArithmeticConvertibleImpl< kBool, bool, kBool, bool >
 
struct  LosslessArithmeticConvertibleImpl< kBool, bool, kFloatingPoint, To >
 
struct  LosslessArithmeticConvertibleImpl< kBool, bool, kInteger, To >
 
struct  LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kBool, bool >
 
struct  LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kInteger, To >
 
struct  LosslessArithmeticConvertibleImpl< kInteger, From, kBool, bool >
 
struct  LosslessArithmeticConvertibleImpl< kInteger, From, kFloatingPoint, To >
 
struct  LosslessArithmeticConvertibleImpl< kInteger, From, kInteger, To >
 
struct  make_int_pack
 
struct  make_int_pack< 0 >
 
struct  MakeIndexSequence
 
struct  MakeIndexSequence< 0 >
 
class  MaxBipartiteMatchState
 
class  Mutex
 
class  NativeArray
 
class  NoDefaultContructor
 
class  ParameterizedTestFactory
 
class  ParameterizedTestSuiteInfo
 
class  ParameterizedTestSuiteInfoBase
 
class  ParameterizedTestSuiteRegistry
 
class  ParamGenerator
 
class  ParamGeneratorInterface
 
class  ParamIterator
 
class  ParamIteratorInterface
 
struct  PointeeOf
 
struct  PointeeOf< T * >
 
class  PrettyUnitTestResultPrinter
 
class  Random
 
class  RangeGenerator
 
class  RE
 
struct  RelationToSourceCopy
 
struct  RelationToSourceReference
 
struct  remove_reference
 
struct  remove_reference< T & >
 
struct  RemoveConst
 
struct  RemoveConst< const T >
 
struct  RemoveConst< const T[N]>
 
struct  RemoveConstFromKey
 
struct  RemoveConstFromKey< std::pair< const K, V > >
 
struct  RemoveReference
 
struct  RemoveReference< T & >
 
class  ReturnAction
 
class  ReturnNullAction
 
class  ReturnRefAction
 
class  ReturnRefOfCopyAction
 
class  ReturnVoidAction
 
class  ScopedPrematureExitFile
 
struct  SetArgumentPointeeAction
 
class  SetErrnoAndReturnAction
 
struct  StaticAssertTypeEqHelper
 
struct  StaticAssertTypeEqHelper< T, T >
 
class  StlContainerView
 
class  StlContainerView< ::std::tuple< ElementPointer, Size > >
 
class  StlContainerView< Element[N]>
 
class  String
 
struct  SuiteApiResolver
 
class  TestEventListenersAccessor
 
class  TestEventRepeater
 
class  TestFactoryBase
 
class  TestFactoryImpl
 
class  TestMetaFactory
 
class  TestMetaFactoryBase
 
class  TestSuiteNameIs
 
class  ThreadLocal
 
class  To
 
struct  type_equals
 
struct  type_equals< T, T >
 
class  TypeIdHelper
 
class  TypeWithSize
 
class  TypeWithSize< 4 >
 
class  TypeWithSize< 8 >
 
class  UnitTestHelper
 
class  UnitTestRecordPropertyTestHelper
 
class  UniversalPrinter
 
class  UniversalPrinter< T & >
 
class  UniversalPrinter< T[N]>
 
class  UniversalTersePrinter
 
class  UniversalTersePrinter< char * >
 
class  UniversalTersePrinter< const char * >
 
class  UniversalTersePrinter< T & >
 
class  UniversalTersePrinter< T[N]>
 
class  UniversalTersePrinter< wchar_t * >
 
class  ValueArray
 
class  ValuesInIteratorRangeGenerator
 
struct  WithArgsAction
 
class  WithoutMatchers
 
struct  WrapPrinterType
 
class  XmlUnitTestResultPrinter
 

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

Functions

 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (void,)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (::std::string,"")
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (bool, false)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned char, '\0')
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed char, '\0')
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (char, '\0')
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned short, 0U)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed short, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned long, 0UL)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed long, 0L)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (UInt64, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (Int64, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (float, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (double, 0)
 
template<typename MockType >
const MockType * AdjustConstness_const (const MockType *mock)
 
template<typename MockType >
MockType * AdjustConstness_ (const MockType *mock)
 
template<typename InputIterator , typename OutputIterator >
OutputIterator CopyElements (InputIterator first, InputIterator last, OutputIterator output)
 
GTEST_API_ std::string JoinAsTuple (const Strings &fields)
 
GTEST_API_ std::string ConvertIdentifierNameToWords (const char *id_name)
 
template<typename Pointer >
const Pointer::element_type * GetRawPointer (const Pointer &p)
 
template<typename Element >
Element * GetRawPointer (Element *p)
 
 GMOCK_DECLARE_KIND_ (bool, kBool)
 
 GMOCK_DECLARE_KIND_ (char, kInteger)
 
 GMOCK_DECLARE_KIND_ (signed char, kInteger)
 
 GMOCK_DECLARE_KIND_ (unsigned char, kInteger)
 
 GMOCK_DECLARE_KIND_ (short, kInteger)
 
 GMOCK_DECLARE_KIND_ (int, kInteger)
 
 GMOCK_DECLARE_KIND_ (long, kInteger)
 
 GMOCK_DECLARE_KIND_ (wchar_t, kInteger)
 
 GMOCK_DECLARE_KIND_ (Int64, kInteger)
 
 GMOCK_DECLARE_KIND_ (UInt64, kInteger)
 
 GMOCK_DECLARE_KIND_ (float, kFloatingPoint)
 
 GMOCK_DECLARE_KIND_ (double, kFloatingPoint)
 
 GMOCK_DECLARE_KIND_ (long double, kFloatingPoint)
 
template<typename From , typename To >
void Assert (bool condition, const char *file, int line)
 
void Expect (bool condition, const char *file, int line, const std::string &msg)
 
void Expect (bool condition, const char *file, int line)
 
GTEST_API_ bool LogIsVisible (LogSeverity severity)
 
GTEST_API_ void Log (LogSeverity severity, const std::string &message, int stack_frames_to_skip)
 
GTEST_API_ WithoutMatchers GetWithoutMatchers ()
 
template<typename T >
Invalid ()
 
GTEST_API_ void IllegalDoDefault (const char *file, int line)
 
template<typename F , typename Tuple , size_t... Idx>
auto ApplyImpl (F &&f, Tuple &&args, int_pack< Idx... >) -> decltype(std::forward< F >(f)(std::get< Idx >(std::forward< Tuple >(args))...))
 
template<typename F , typename Tuple >
auto Apply (F &&f, Tuple &&args) -> decltype(ApplyImpl(std::forward< F >(f), std::forward< Tuple >(args), make_int_pack< std::tuple_size< Tuple >::value >()))
 
GTEST_API_ FailureReporterInterface * GetFailureReporter ()
 
GTEST_API_ std::string FormatMatcherDescription (bool negation, const char *matcher_name, const Strings &param_values)
 
GTEST_API_ ElementMatcherPairs FindMaxBipartiteMatching (const MatchMatrix &g)
 
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_ (g_gmock_mutex)
 
GTEST_API_ void LogWithLocation (testing::internal::LogSeverity severity, const char *file, int line, const std::string &message)
 
void ReportUninterestingCall (CallReaction reaction, const std::string &msg)
 
CallReaction intToCallReaction (int mock_behavior)
 
template<typename CharType >
void InitGoogleMockImpl (int *argc, CharType **argv)
 
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 ()
 
 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.")
 
bool IsPrintableAscii (wchar_t c)
 
template<typename UnsignedChar , typename Char >
void PrintCharAndCodeTo (Char c, ostream *os)
 
void PrintTo (wchar_t wc, 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)
 
FilePath GetCurrentExecutableName ()
 
TimeInMillis GetTimeInMillis ()
 
void SplitString (const ::std::string &str, char delimiter,::std::vector< ::std::string > *dest)
 
template<typename RawType >
AssertionResult FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2)
 
UInt32 ChopLowBits (UInt32 *bits, int n)
 
std::string CodePointToUtf8 (UInt32 code_point)
 
bool IsUtf16SurrogatePair (wchar_t first, wchar_t second)
 
UInt32 CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second)
 
std::string WideStringToUtf8 (const wchar_t *str, int num_chars)
 
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)
 
bool ShouldUseColor (bool stdout_is_tty)
 
void ColoredPrintf (GTestColor color, const char *fmt,...)
 
std::string FormatTimeInMillisAsSeconds (TimeInMillis ms)
 
std::string FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms)
 
void WriteToShardStatusFileIfNeeded ()
 
bool ShouldShard (const char *total_shards_env, const char *shard_index_env, bool in_subprocess_for_death_test)
 
Int32 Int32FromEnvOrDie (const char *var, Int32 default_val)
 
bool ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
 
bool ParseInt32Flag (const char *str, const char *flag, Int32 *value)
 
template<typename CharType >
void ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv)
 
void ParseGoogleTestFlagsOnly (int *argc, char **argv)
 
void ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)
 
template<typename CharType >
void InitGoogleTestImpl (int *argc, CharType **argv)
 
 TEST_F (ListenerTest, DoesFoo)
 
 TEST_F (ListenerTest, DoesBar)
 
 TEST (IsXDigitTest, WorksForNarrowAscii)
 
 TEST (IsXDigitTest, ReturnsFalseForNarrowNonAscii)
 
 TEST (IsXDigitTest, WorksForWideAscii)
 
 TEST (IsXDigitTest, ReturnsFalseForWideNonAscii)
 
 TEST (ImplicitCastTest, ConvertsPointers)
 
 TEST (ImplicitCastTest, CanUseInheritance)
 
 TEST (ImplicitCastTest, CanUseNonConstCastOperator)
 
 TEST (ImplicitCastTest, CanUseConstCastOperatorOnConstValues)
 
 TEST (ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately)
 
 TEST (ImplicitCastTest, CanUseImplicitConstructor)
 
 TEST (IteratorTraitsTest, WorksForSTLContainerIterators)
 
 TEST (IteratorTraitsTest, WorksForPointerToNonConst)
 
 TEST (IteratorTraitsTest, WorksForPointerToConst)
 
 TEST (GtestCheckSyntaxTest, BehavesLikeASingleStatement)
 
 TEST (GtestCheckSyntaxTest, WorksWithSwitch)
 
 TEST (FormatFileLocationTest, FormatsFileLocation)
 
 TEST (FormatFileLocationTest, FormatsUnknownFile)
 
 TEST (FormatFileLocationTest, FormatsUknownLine)
 
 TEST (FormatFileLocationTest, FormatsUknownFileAndLine)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsFileLocation)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFile)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownLine)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFileAndLine)
 
 TEST (GetThreadCountTest, ReturnsZeroWhenUnableToCountThreads)
 
 TEST (GtestCheckDeathTest, DiesWithCorrectOutputOnFailure)
 
 TEST (RegexEngineSelectionTest, SelectsCorrectRegexEngine)
 
 TEST (CaptureTest, CapturesStdout)
 
 TEST (CaptureTest, CapturesStderr)
 
 TEST (CaptureTest, CapturesStdoutAndStderr)
 
 TEST (CaptureDeathTest, CannotReenterStdoutCapture)
 
 TEST (ThreadLocalTest, DefaultConstructorInitializesToDefaultValues)
 
 TEST (ThreadLocalTest, SingleParamConstructorInitializesToParam)
 
 TEST (ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion)
 
 TEST (ThreadLocalTest, GetAndPointerReturnSameValue)
 
 TEST (ThreadLocalTest, PointerAndConstPointerReturnSameValue)
 
 TEST (ApiTest, UnitTestImmutableAccessorsWork)
 
AssertionResult IsNull (const char *str)
 
 TEST (ApiTest, TestSuiteImmutableAccessorsWork)
 
 TEST (ApiTest, TestSuiteDisabledAccessorsWork)
 
 TEST (ApiTest, DISABLED_Dummy1)
 
 TEST (DISABLED_Test, Dummy2)
 

Variables

const char kInfoVerbosity [] = "info"
 
const char kWarningVerbosity [] = "warning"
 
const char kErrorVerbosity [] = "error"
 
GTEST_API_ ThreadLocal< Sequence * > g_gmock_implicit_sequence
 
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 [] = "\nStack trace:\n"
 
const BiggestInt kMaxBiggestInt
 
const char kPathSeparator = '/'
 
const char kCurrentDirectoryString [] = "./"
 
const int kStdOutFileno = STDOUT_FILENO
 
const int kStdErrFileno = STDERR_FILENO
 
const char kUnknownFile [] = "unknown file"
 
bool g_help_flag = false
 
static::std::vector< std::string > g_argvs
 
const TypeId kTestTypeIdInGoogleTest = GetTestTypeId()
 
const UInt32 kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1
 
const UInt32 kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1
 
const UInt32 kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1
 
const UInt32 kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1
 
const int kTypedTestSuites = 0
 
const int kTypedTests = 0
 

Typedef Documentation

typedef ::std::vector< ::std::string> testing::internal::Strings
typedef const void* testing::internal::TypeId
using testing::internal::SetUpTestSuiteFunc = typedef void (*)(
using testing::internal::TearDownTestSuiteFunc = typedef void (*)(
using testing::internal::SetUpTearDownSuiteFuncType = typedef void (*)(
template<class TestCase >
using testing::internal::ParameterizedTestCaseInfo = typedef ParameterizedTestSuiteInfo<TestCase>
typedef long long testing::internal::BiggestInt

Enumeration Type Documentation

Enumerator
kBool 
kInteger 
kFloatingPoint 
kOther 
Enumerator
kInfo 
kWarning 
Enumerator
kPrintContainer 
kPrintPointer 
kPrintFunctionPointer 
kPrintOther 
Enumerator
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 
Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 
Enumerator
kAsIs 
kHexEscape 
kSpecialEscape 

Function Documentation

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( void  )
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( ::std::string  ,
""   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( bool  ,
false   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned  char,
'\0'   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed  char,
'\0'   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( char  ,
'\0'   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned  short,
0U   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed  short,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned  long,
0UL   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed  long,
0L   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( UInt64  ,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( Int64  ,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( float  ,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( double  ,
 
)
template<typename MockType >
const MockType* testing::internal::AdjustConstness_const ( const MockType *  mock)
template<typename MockType >
MockType* testing::internal::AdjustConstness_ ( const MockType *  mock)
template<typename InputIterator , typename OutputIterator >
OutputIterator testing::internal::CopyElements ( InputIterator  first,
InputIterator  last,
OutputIterator  output 
)
inline
GTEST_API_ std::string testing::internal::JoinAsTuple ( const Strings fields)

References i.

Referenced by FormatMatcherDescription().

GTEST_API_ std::string testing::internal::ConvertIdentifierNameToWords ( const char *  id_name)
template<typename Pointer >
const Pointer::element_type* testing::internal::GetRawPointer ( const Pointer &  p)
inline
template<typename Element >
Element* testing::internal::GetRawPointer ( Element *  p)
inline

References p.

testing::internal::GMOCK_DECLARE_KIND_ ( bool  ,
kBool   
)
testing::internal::GMOCK_DECLARE_KIND_ ( char  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( signed  char,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( unsigned  char,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( short  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( int  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( long  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( wchar_t  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( Int64  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( UInt64  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( float  ,
kFloatingPoint   
)
testing::internal::GMOCK_DECLARE_KIND_ ( double  ,
kFloatingPoint   
)
testing::internal::GMOCK_DECLARE_KIND_ ( long  double,
kFloatingPoint   
)
template<typename From , typename To >
void testing::internal::Assert ( bool  condition,
const char *  file,
int  line 
)
inline
void testing::internal::Expect ( bool  condition,
const char *  file,
int  line,
const std::string &  msg 
)
inline
void testing::internal::Expect ( bool  condition,
const char *  file,
int  line 
)
inline

References Expect().

GTEST_API_ bool testing::internal::LogIsVisible ( LogSeverity  severity)
GTEST_API_ void testing::internal::Log ( LogSeverity  severity,
const std::string &  message,
int  stack_frames_to_skip 
)
GTEST_API_ WithoutMatchers testing::internal::GetWithoutMatchers ( )
template<typename T >
T testing::internal::Invalid ( )
inline

References Assert().

GTEST_API_ void testing::internal::IllegalDoDefault ( const char *  file,
int  line 
)
template<typename F , typename Tuple , size_t... Idx>
auto testing::internal::ApplyImpl ( F &&  f,
Tuple &&  args,
int_pack< Idx... >   
) -> decltype( std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...))

Referenced by Apply().

template<typename F , typename Tuple >
auto testing::internal::Apply ( F &&  f,
Tuple &&  args 
) -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), make_int_pack<std::tuple_size<Tuple>::value>()))
GTEST_API_ FailureReporterInterface* testing::internal::GetFailureReporter ( )
GTEST_API_ std::string testing::internal::FormatMatcherDescription ( bool  negation,
const char *  matcher_name,
const Strings param_values 
)
GTEST_API_ ElementMatcherPairs testing::internal::FindMaxBipartiteMatching ( const MatchMatrix &  g)
GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ ( g_gmock_mutex  )
GTEST_API_ void testing::internal::LogWithLocation ( testing::internal::LogSeverity  severity,
const char *  file,
int  line,
const std::string &  message 
)
void testing::internal::ReportUninterestingCall ( CallReaction  reaction,
const std::string &  msg 
)
CallReaction testing::internal::intToCallReaction ( int  mock_behavior)
template<typename CharType >
void testing::internal::InitGoogleMockImpl ( int *  argc,
CharType **  argv 
)
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( char  )
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( wchar_t  )
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ ( char  ,
::std::string   
)
template<typename T1 , typename T2 >
std::string testing::internal::FormatForComparisonFailureMessage ( const T1 &  value,
const T2 &   
)
template<typename C >
void testing::internal::DefaultPrintTo ( WrapPrinterType< kPrintContainer ,
const C &  container,
::std::ostream *  os 
)

References count, and UniversalPrint().

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

References p.

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

References p.

template<typename T >
void testing::internal::DefaultPrintTo ( WrapPrinterType< kPrintOther ,
const T &  value,
::std::ostream *  os 
)
void testing::internal::PrintTo ( unsigned char  c,
::std::ostream *  os 
)
void testing::internal::PrintTo ( signed char  c,
::std::ostream *  os 
)
void testing::internal::PrintTo ( char  c,
::std::ostream *  os 
)
inline

References PrintTo().

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

References GTEST_API_, and PrintTo().

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

References PrintTo().

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

References PrintTo().

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

References PrintTo().

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

References PrintTo().

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

References GTEST_API_, and PrintTo().

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

References PrintTo().

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

Referenced by PrintRawArrayTo(), and PrintTo().

void testing::internal::PrintTo ( const ::std::string &  s,
::std::ostream *  os 
)
inline
void testing::internal::PrintTo ( std::nullptr_t  ,
::std::ostream *  os 
)
inline
template<typename T >
void testing::internal::PrintTo ( std::reference_wrapper< T >  ref,
::std::ostream *  os 
)
template<typename T >
void testing::internal::PrintTupleTo ( const T &  ,
std::integral_constant< size_t, 0 >  ,
::std::ostream *   
)
template<typename T , size_t I>
void testing::internal::PrintTupleTo ( const T &  t,
std::integral_constant< size_t, I >  ,
::std::ostream *  os 
)
template<typename... Types>
void testing::internal::PrintTo ( const ::std::tuple< Types... > &  t,
::std::ostream *  os 
)

References PrintTupleTo().

template<typename T1 , typename T2 >
void testing::internal::PrintTo ( const ::std::pair< T1, T2 > &  value,
::std::ostream *  os 
)
template<typename T >
void testing::internal::UniversalPrintArray ( const T *  begin,
size_t  len,
::std::ostream *  os 
)
GTEST_API_ void testing::internal::UniversalPrintArray ( const char *  begin,
size_t  len,
::std::ostream *  os 
)
GTEST_API_ void testing::internal::UniversalPrintArray ( const wchar_t *  begin,
size_t  len,
::std::ostream *  os 
)
template<typename T >
void testing::internal::UniversalTersePrint ( const T &  value,
::std::ostream *  os 
)
template<typename Tuple >
void testing::internal::TersePrintPrefixToStrings ( const Tuple &  ,
std::integral_constant< size_t, 0 >  ,
Strings  
)
template<typename Tuple , size_t I>
void testing::internal::TersePrintPrefixToStrings ( const Tuple &  t,
std::integral_constant< size_t, I >  ,
Strings strings 
)
template<typename Tuple >
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings ( const Tuple &  value)
template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQFailure ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 &  lhs,
const T2 &  rhs 
)
bool testing::internal::operator== ( faketype  ,
faketype   
)
inline
bool testing::internal::operator!= ( faketype  ,
faketype   
)
inline
template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQ ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 &  lhs,
const T2 &  rhs 
)
AssertionResult testing::internal::CmpHelperEQ ( const char *  lhs_expression,
const char *  rhs_expression,
BiggestInt  lhs,
BiggestInt  rhs 
)
template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperOpFailure ( const char *  expr1,
const char *  expr2,
const T1 &  val1,
const T2 &  val2,
const char *  op 
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( NE  ,
 
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( LE  ,
<=   
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( LT  )
testing::internal::GTEST_IMPL_CMP_HELPER_ ( GE  ,
>=   
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( GT  )
AssertionResult testing::internal::CmpHelperSTREQ ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)
AssertionResult testing::internal::CmpHelperSTRCASEEQ ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)
AssertionResult testing::internal::CmpHelperSTRNE ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)
AssertionResult testing::internal::CmpHelperSTRCASENE ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)
AssertionResult testing::internal::CmpHelperSTREQ ( const char *  s1_expression,
const char *  s2_expression,
const wchar_t *  s1,
const wchar_t *  s2 
)
AssertionResult testing::internal::CmpHelperSTRNE ( const char *  s1_expression,
const char *  s2_expression,
const wchar_t *  s1,
const wchar_t *  s2 
)
template<typename RawType >
AssertionResult testing::internal::CmpHelperFloatingPointEQ ( const char *  lhs_expression,
const char *  rhs_expression,
RawType  lhs_value,
RawType  rhs_value 
)
AssertionResult testing::internal::DoubleNearPredFormat ( const char *  expr1,
const char *  expr2,
const char *  abs_error_expr,
double  val1,
double  val2,
double  abs_error 
)
GTEST_API_ testing::internal::GTEST_ATTRIBUTE_PRINTF_ ( ,
 
)
testing::internal::GTEST_DECLARE_string_ ( internal_run_death_test  )
std::string testing::internal::AppendUserMessage ( const std::string &  gtest_msg,
const Message user_msg 
)
GTEST_API_ std::string testing::internal::DiffStrings ( const std::string &  left,
const std::string &  right,
size_t *  total_line_count 
)
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 
)
std::string testing::internal::GetBoolAssertionFailureMessage ( const AssertionResult &  assertion_result,
const char *  expression_text,
const char *  actual_predicate_value,
const char *  expected_predicate_value 
)
template<typename T >
TypeId testing::internal::GetTypeId ( )

References GetTestTypeId(), and 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 
)
bool testing::internal::SkipPrefix ( const char *  prefix,
const char **  pstr 
)
std::string testing::internal::GetCurrentOsStackTraceExceptTop ( UnitTest unit_test,
int  skip_count 
)
bool testing::internal::AlwaysTrue ( )
bool testing::internal::AlwaysFalse ( )
inline

References AlwaysTrue().

Referenced by ColoredPrintf(), and TEST().

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  )

Referenced by TEST().

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

References ArrayEq().

Referenced by TEST().

template<typename T , typename U >
bool testing::internal::ArrayEq ( const T &  lhs,
const U &  rhs 
)
inline
template<typename T , typename U , size_t N>
bool testing::internal::ArrayEq ( const T(&)  lhs[N],
const U(&)  rhs[N] 
)
inline
template<typename Iter , typename Element >
Iter testing::internal::ArrayAwareFind ( Iter  begin,
Iter  end,
const Element &  elem 
)
template<typename T , typename U >
void testing::internal::CopyArray ( const T *  from,
size_t  size,
U *  to 
)

References CopyArray().

Referenced by TEST().

template<typename T , typename U >
void testing::internal::CopyArray ( const T &  from,
U *  to 
)
inline
template<typename T , typename U , size_t N>
void testing::internal::CopyArray ( const T(&)  from[N],
U(*)  to[N] 
)
inline
testing::internal::GTEST_INTERNAL_DEPRECATED ( "INSTANTIATE_TEST_CASE_P is  deprecated,
please use" "INSTANTIATE_TEST_SUITE_P  
) const
testing::internal::GTEST_INTERNAL_DEPRECATED ( "TYPED_TEST_CASE_P is  deprecated,
please use" "TYPED_TEST_SUITE_P  
) const
testing::internal::GTEST_INTERNAL_DEPRECATED ( "TYPED_TEST_CASE is  deprecated,
please use" "TYPED_TEST_SUITE  
) const
testing::internal::GTEST_INTERNAL_DEPRECATED ( "REGISTER_TYPED_TEST_CASE_P is  deprecated,
please use" "REGISTER_TYPED_TEST_SUITE_P  
) const
testing::internal::GTEST_INTERNAL_DEPRECATED ( "INSTANTIATE_TYPED_TEST_CASE_P is  deprecated,
please use" "INSTANTIATE_TYPED_TEST_SUITE_P  
) const
template<class ParamType >
std::string testing::internal::DefaultParamName ( const TestParamInfo< ParamType > &  info)
template<typename T = int>
void testing::internal::TestNotEmpty ( )
template<typename T = int>
void testing::internal::TestNotEmpty ( const T &  )
bool testing::internal::IsTrue ( bool  condition)

Referenced by AlwaysTrue().

GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation ( const char *  file,
int  line 
)
void testing::internal::LogToStderr ( )
inline
void testing::internal::FlushInfoLog ( )
inline
template<typename To >
To testing::internal::ImplicitCast_ ( To  x)
inline

References x.

template<typename To , typename From >
To testing::internal::DownCast_ ( From *  f)
inline
GTEST_API_ void testing::internal::CaptureStderr ( )
GTEST_API_ std::string testing::internal::GetCapturedStderr ( )
size_t testing::internal::GetFileSize ( FILE file)
std::vector< std::string > testing::internal::GetArgvs ( )
bool testing::internal::IsAlpha ( char  ch)
inline
bool testing::internal::IsAlNum ( char  ch)
inline
bool testing::internal::IsDigit ( char  ch)
inline
bool testing::internal::IsLower ( char  ch)
inline
bool testing::internal::IsSpace ( char  ch)
inline
bool testing::internal::IsUpper ( char  ch)
inline
bool testing::internal::IsXDigit ( char  ch)
inline

Referenced by PrintTo(), and TEST().

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

References ch.

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

Referenced by ReadEntireFile().

std::string testing::internal::StripTrailingSpaces ( std::string  str)
inline
bool testing::internal::ParseInt32 ( const Message src_text,
const char *  str,
Int32 value 
)
bool testing::internal::BoolFromGTestEnv ( const char *  flag,
bool  default_val 
)
Int32 testing::internal::Int32FromGTestEnv ( const char *  flag,
Int32  default_val 
)
std::string testing::internal::OutputFlagAlsoCheckEnvVar ( )
const char * testing::internal::StringFromGTestEnv ( const char *  flag,
const char *  default_val 
)
std::string testing::internal::CanonicalizeForStdLibVersioning ( std::string  s)
inline

Referenced by GetTypeName(), and operator<<().

template<typename T >
std::string testing::internal::GetTypeName ( )
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."   
)
bool testing::internal::IsPrintableAscii ( wchar_t  c)
inline
template<typename UnsignedChar , typename Char >
void testing::internal::PrintCharAndCodeTo ( Char  c,
ostream *  os 
)

References kHexEscape.

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

References ch, i, and t.

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

References GTEST_FLAG, and kHexEscape.

FilePath testing::internal::GetCurrentExecutableName ( )
void testing::internal::SplitString ( const ::std::string &  str,
char  delimiter,
::std::vector< ::std::string > *  dest 
)
template<typename RawType >
AssertionResult testing::internal::FloatingPointLE ( const char *  expr1,
const char *  expr2,
RawType  val1,
RawType  val2 
)
UInt32 testing::internal::ChopLowBits ( UInt32 bits,
int  n 
)
inline

References n.

Referenced by CodePointToUtf8().

std::string testing::internal::CodePointToUtf8 ( UInt32  code_point)
bool testing::internal::IsUtf16SurrogatePair ( wchar_t  first,
wchar_t  second 
)
inline

Referenced by WideStringToUtf8().

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

Referenced by WideStringToUtf8().

std::string testing::internal::WideStringToUtf8 ( const wchar_t *  str,
int  num_chars 
)
template<class T , typename Result >
Result testing::internal::HandleSehExceptionsInMethodIfSupported ( T *  object,
Result(T::*)()  method,
const char *  location 
)
template<class T , typename Result >
Result testing::internal::HandleExceptionsInMethodIfSupported ( T *  object,
Result(T::*)()  method,
const char *  location 
)
bool testing::internal::ShouldUseColor ( bool  stdout_is_tty)
std::string testing::internal::FormatTimeInMillisAsSeconds ( TimeInMillis  ms)
std::string testing::internal::FormatEpochTimeInMillisAsIso8601 ( TimeInMillis  ms)
bool testing::internal::ShouldShard ( const char *  total_shards_env,
const char *  shard_index_env,
bool  in_subprocess_for_death_test 
)
template<typename CharType >
void testing::internal::ParseGoogleTestFlagsOnlyImpl ( int *  argc,
CharType **  argv 
)
void testing::internal::ParseGoogleTestFlagsOnly ( int *  argc,
char **  argv 
)
void testing::internal::ParseGoogleTestFlagsOnly ( int *  argc,
wchar_t **  argv 
)
template<typename CharType >
void testing::internal::InitGoogleTestImpl ( int *  argc,
CharType **  argv 
)
testing::internal::TEST_F ( ListenerTest  ,
DoesFoo   
)

References g_events, and SUCCEED.

Referenced by operator<<(), TEST(), testing::TEST(), and testing::TEST_F().

testing::internal::TEST_F ( ListenerTest  ,
DoesBar   
)

References g_events, and SUCCEED.

testing::internal::TEST ( IsXDigitTest  ,
WorksForNarrowAscii   
)
testing::internal::TEST ( IsXDigitTest  ,
ReturnsFalseForNarrowNonAscii   
)

References EXPECT_FALSE, and IsXDigit().

testing::internal::TEST ( IsXDigitTest  ,
WorksForWideAscii   
)

References EXPECT_FALSE, EXPECT_TRUE, and IsXDigit().

testing::internal::TEST ( IsXDigitTest  ,
ReturnsFalseForWideNonAscii   
)

References EXPECT_FALSE, and IsXDigit().

testing::internal::TEST ( ImplicitCastTest  ,
ConvertsPointers   
)

References EXPECT_TRUE.

testing::internal::TEST ( ImplicitCastTest  ,
CanUseInheritance   
)

References EXPECT_EQ.

testing::internal::TEST ( ImplicitCastTest  ,
CanUseNonConstCastOperator   
)

References EXPECT_TRUE.

testing::internal::TEST ( ImplicitCastTest  ,
CanUseConstCastOperatorOnConstValues   
)

References EXPECT_TRUE.

testing::internal::TEST ( ImplicitCastTest  ,
CanSelectBetweenConstAndNonConstCasrAppropriately   
)

References EXPECT_FALSE, and EXPECT_TRUE.

testing::internal::TEST ( ImplicitCastTest  ,
CanUseImplicitConstructor   
)

References EXPECT_TRUE.

testing::internal::TEST ( IteratorTraitsTest  ,
WorksForSTLContainerIterators   
)
testing::internal::TEST ( IteratorTraitsTest  ,
WorksForPointerToNonConst   
)
testing::internal::TEST ( IteratorTraitsTest  ,
WorksForPointerToConst   
)
testing::internal::TEST ( GtestCheckSyntaxTest  ,
BehavesLikeASingleStatement   
)
testing::internal::TEST ( GtestCheckSyntaxTest  ,
WorksWithSwitch   
)

References GTEST_CHECK_.

testing::internal::TEST ( FormatFileLocationTest  ,
FormatsFileLocation   
)
testing::internal::TEST ( FormatFileLocationTest  ,
FormatsUnknownFile   
)
testing::internal::TEST ( FormatFileLocationTest  ,
FormatsUknownLine   
)

References EXPECT_EQ, and FormatFileLocation().

testing::internal::TEST ( FormatFileLocationTest  ,
FormatsUknownFileAndLine   
)

References EXPECT_EQ, and FormatFileLocation().

testing::internal::TEST ( FormatCompilerIndependentFileLocationTest  ,
FormatsFileLocation   
)
testing::internal::TEST ( FormatCompilerIndependentFileLocationTest  ,
FormatsUknownFile   
)
testing::internal::TEST ( FormatCompilerIndependentFileLocationTest  ,
FormatsUknownLine   
)
testing::internal::TEST ( FormatCompilerIndependentFileLocationTest  ,
FormatsUknownFileAndLine   
)
testing::internal::TEST ( GetThreadCountTest  ,
ReturnsZeroWhenUnableToCountThreads   
)

References EXPECT_EQ, and GetThreadCount().

testing::internal::TEST ( GtestCheckDeathTest  ,
DiesWithCorrectOutputOnFailure   
)
testing::internal::TEST ( CaptureTest  ,
CapturesStdout   
)
testing::internal::TEST ( CaptureTest  ,
CapturesStderr   
)
testing::internal::TEST ( CaptureTest  ,
CapturesStdoutAndStderr   
)
testing::internal::TEST ( CaptureDeathTest  ,
CannotReenterStdoutCapture   
)
testing::internal::TEST ( ThreadLocalTest  ,
DefaultConstructorInitializesToDefaultValues   
)
testing::internal::TEST ( ThreadLocalTest  ,
SingleParamConstructorInitializesToParam   
)
testing::internal::TEST ( ThreadLocalTest  ,
ValueDefaultContructorIsNotRequiredForParamVersion   
)
testing::internal::TEST ( ThreadLocalTest  ,
GetAndPointerReturnSameValue   
)
AssertionResult testing::internal::IsNull ( const char *  str)
testing::internal::TEST ( ApiTest  ,
DISABLED_Dummy1   
)
testing::internal::TEST ( DISABLED_Test  ,
Dummy2   
)

Variable Documentation

const char testing::internal::kInfoVerbosity[] = "info"
const char testing::internal::kWarningVerbosity[] = "warning"
const char testing::internal::kErrorVerbosity[] = "error"
GTEST_API_ ThreadLocal<Sequence*> testing::internal::g_gmock_implicit_sequence
GTEST_API_ const char* testing::internal::fmt
const char testing::internal::kDeathTestStyleFlag[] = "death_test_style"

Referenced by ParseInt32Flag().

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

Referenced by ParseInt32Flag().

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

Referenced by ParseInt32Flag().

const char testing::internal::kStackTraceMarker = "\nStack trace:\n"
const BiggestInt testing::internal::kMaxBiggestInt
Initial value:
=
~(static_cast<BiggestInt>(1) << (8*sizeof(BiggestInt) - 1))
long long BiggestInt
Definition: gtest-port.h:1964
const char testing::internal::kPathSeparator = '/'
const char testing::internal::kCurrentDirectoryString[] = "./"
const int testing::internal::kStdOutFileno = STDOUT_FILENO
const int testing::internal::kStdErrFileno = STDERR_FILENO
const char testing::internal::kUnknownFile[] = "unknown file"
::std::vector<std::string> testing::internal::g_argvs

Referenced by GetArgvs(), and InitGoogleTestImpl().

const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId()
const UInt32 testing::internal::kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1
const UInt32 testing::internal::kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1
const UInt32 testing::internal::kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1
const UInt32 testing::internal::kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1
const int testing::internal::kTypedTestSuites = 0
const int testing::internal::kTypedTests = 0