Monero
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
testing::internal Namespace Reference

Namespaces

namespace  edit_distance
 
namespace  invoke_argument
 
namespace  posix
 

Classes

class  ActionAdaptor
 
class  ActionHelper
 
class  ActionResultHolder
 
class  ActionResultHolder< void >
 
struct  AddReference
 
struct  AddReference< T & >
 
struct  AllOfResult1
 
struct  AllOfResult10
 
struct  AllOfResult2
 
struct  AllOfResult3
 
struct  AllOfResult4
 
struct  AllOfResult5
 
struct  AllOfResult6
 
struct  AllOfResult7
 
struct  AllOfResult8
 
struct  AllOfResult9
 
struct  AnyEq
 
struct  AnyGe
 
struct  AnyGt
 
struct  AnyLe
 
struct  AnyLt
 
class  AnyMatcherImpl
 
struct  AnyNe
 
struct  AnyOfResult1
 
struct  AnyOfResult10
 
struct  AnyOfResult2
 
struct  AnyOfResult3
 
struct  AnyOfResult4
 
struct  AnyOfResult5
 
struct  AnyOfResult6
 
struct  AnyOfResult7
 
struct  AnyOfResult8
 
struct  AnyOfResult9
 
class  AnythingMatcher
 
class  ArgsMatcher
 
class  ArgsMatcherImpl
 
class  AssertHelper
 
class  AssignAction
 
class  Base
 
class  BeginEndDistanceIsMatcher
 
struct  bool_constant
 
struct  BooleanConstant
 
class  BothOfMatcher
 
class  BothOfMatcherImpl
 
class  BoundSecondMatcher
 
class  BuiltInDefaultValue
 
class  BuiltInDefaultValue< const T >
 
class  BuiltInDefaultValue< T * >
 
struct  BuiltInDefaultValueGetter
 
struct  BuiltInDefaultValueGetter< T, false >
 
struct  ByMoveWrapper
 
struct  CallableTraits
 
struct  CallableTraits< ResType(*)(ArgType)>
 
class  Castable
 
struct  CastAndAppendTransform
 
struct  CodeLocation
 
class  ComparisonBase
 
struct  CompileAssert
 
struct  CompileAssertTypesEqual
 
struct  CompileAssertTypesEqual< T, T >
 
class  ConstAndNonConstCastable
 
class  ConstCastable
 
struct  ConstCharPtr
 
class  ContainerEqMatcher
 
class  ContainsMatcher
 
class  ContainsMatcherImpl
 
struct  DecayArray
 
struct  DecayArray< T[]>
 
struct  DecayArray< T[N]>
 
class  DefaultGlobalTestPartResultReporter
 
class  DefaultPerThreadTestPartResultReporter
 
class  Derived
 
class  DoBothAction
 
class  DoDefaultAction
 
class  DummyMatchResultListener
 
class  EachMatcher
 
class  EachMatcherImpl
 
class  EitherOfMatcher
 
class  EitherOfMatcherImpl
 
class  ElementsAreArrayMatcher
 
class  ElementsAreMatcher
 
class  ElementsAreMatcherImpl
 
struct  EnableIf
 
struct  EnableIf< true >
 
class  EndsWithMatcher
 
class  EnvironmentInvocationCatcher
 
class  Eq2Matcher
 
class  EqHelper
 
class  EqHelper< true >
 
class  EqMatcher
 
class  EventRecordingListener
 
struct  ExcessiveArg
 
class  ExpectationBase
 
class  ExpectationTester
 
class  FieldMatcher
 
class  FilePath
 
class  FinalSuccessChecker
 
class  FloatingEqMatcher
 
class  FloatingPoint
 
class  FormatForComparison
 
class  FormatForComparison< ToPrint[N], OtherOperand >
 
struct  Function
 
struct  Function< R(A1)>
 
struct  Function< R(A1, A2)>
 
struct  Function< R(A1, A2, A3)>
 
struct  Function< R(A1, A2, A3, A4)>
 
struct  Function< R(A1, A2, A3, A4, A5)>
 
struct  Function< R(A1, A2, A3, A4, A5, A6)>
 
struct  Function< R(A1, A2, A3, A4, A5, A6, A7)>
 
struct  Function< R(A1, A2, A3, A4, A5, A6, A7, A8)>
 
struct  Function< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>
 
struct  Function< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>
 
class  FunctionMocker
 
class  FunctionMocker< R(A1)>
 
class  FunctionMocker< R(A1, A2)>
 
class  FunctionMocker< R(A1, A2, A3)>
 
class  FunctionMocker< R(A1, A2, A3, A4)>
 
class  FunctionMocker< R(A1, A2, A3, A4, A5)>
 
class  FunctionMocker< R(A1, A2, A3, A4, A5, A6)>
 
class  FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7)>
 
class  FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8)>
 
class  FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>
 
class  FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>
 
class  FunctionMockerBase
 
class  Ge2Matcher
 
class  GeMatcher
 
class  GoogleTestFailureReporter
 
class  Gt2Matcher
 
class  GTestFlagSaver
 
class  GTestLog
 
class  GTestMutexLock
 
class  GtMatcher
 
class  HasNewFatalFailureHelper
 
class  HasSubstrMatcher
 
class  IgnoredValue
 
class  IgnoreResultAction
 
class  ImplicitlyConvertible
 
class  InvokeAction
 
class  InvokeHelper
 
class  InvokeHelper< R, ::testing::tuple< A1 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4, A5 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4, A5, A6 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4, A5, A6, A7 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4, A5, A6, A7, A8 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4, A5, A6, A7, A8, A9 > >
 
class  InvokeHelper< R, ::testing::tuple< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 > >
 
class  InvokeHelper< R, ::testing::tuple<> >
 
class  InvokeMethodAction
 
class  InvokeMethodWithoutArgsAction
 
class  InvokeWithoutArgsAction
 
struct  is_pointer
 
struct  is_pointer< T * >
 
struct  is_reference
 
struct  is_reference< T & >
 
struct  IsAProtocolMessage
 
class  IsNullMatcher
 
struct  IteratorTraits
 
struct  IteratorTraits< const T * >
 
struct  IteratorTraits< T * >
 
class  KeyMatcher
 
class  KeyMatcherImpl
 
struct  KindOf
 
class  Le2Matcher
 
class  LeMatcher
 
struct  LessByName
 
struct  LessComparator
 
class  linked_ptr
 
class  linked_ptr_internal
 
struct  LinkedPtrLessThan
 
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 >
 
class  Lt2Matcher
 
class  LtMatcher
 
class  MatcherAsPredicate
 
class  MatcherBase
 
class  MatcherCastImpl
 
class  MatcherCastImpl< T, Matcher< T > >
 
class  MatcherCastImpl< T, Matcher< U > >
 
struct  MatcherTuple
 
struct  MatcherTuple< ::testing::tuple< A1 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4, A5 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4, A5, A6 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4, A5, A6, A7 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4, A5, A6, A7, A8 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4, A5, A6, A7, A8, A9 > >
 
struct  MatcherTuple< ::testing::tuple< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 > >
 
struct  MatcherTuple< ::testing::tuple<> >
 
class  MatchesRegexMatcher
 
class  MatchMatrix
 
class  MaxBipartiteMatchState
 
class  MockSpec
 
class  Mutex
 
class  NativeArray
 
class  Ne2Matcher
 
class  NeMatcher
 
class  NoDefaultContructor
 
class  NotMatcher
 
class  NotMatcherImpl
 
class  NotNullMatcher
 
class  OnCallSpec
 
class  OsStackTraceGetter
 
class  OsStackTraceGetterInterface
 
class  PairMatchBase
 
class  PairMatcher
 
class  PairMatcherImpl
 
class  PointeeMatcher
 
struct  PointeeOf
 
struct  PointeeOf< T * >
 
class  PointwiseMatcher
 
class  PredicateFormatterFromMatcher
 
class  PrettyUnitTestResultPrinter
 
class  PropertyMatcher
 
class  QuantifierMatcherImpl
 
class  Random
 
class  RE
 
class  ReferenceOrValueWrapper
 
class  ReferenceOrValueWrapper< T & >
 
class  ReferenceWrapper
 
class  RefMatcher
 
class  RefMatcher< T & >
 
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  ResultOfMatcher
 
class  ReturnAction
 
class  ReturnNullAction
 
class  ReturnRefAction
 
class  ReturnRefOfCopyAction
 
class  ReturnVoidAction
 
class  scoped_ptr
 
class  ScopedPrematureExitFile
 
class  ScopedTrace
 
class  SelectArgs
 
class  SelectArgs< Result, ArgumentTuple, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, -1, -1, -1, -1, -1, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, -1, -1, -1, -1, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, -1, -1, -1, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, k4, -1, -1, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, k4, k5, -1, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, k4, k5, k6, -1, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, k4, k5, k6, k7, -1, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, k4, k5, k6, k7, k8, -1, -1 >
 
class  SelectArgs< Result, ArgumentTuple, k1, k2, k3, k4, k5, k6, k7, k8, k9, -1 >
 
class  SetArgumentPointeeAction
 
class  SetArgumentPointeeAction< N, Proto, true >
 
class  SetErrnoAndReturnAction
 
class  SingleFailureChecker
 
class  SizeIsMatcher
 
class  StartsWithMatcher
 
struct  StaticAssertTypeEqHelper
 
struct  StaticAssertTypeEqHelper< T, T >
 
class  StlContainerView
 
class  StlContainerView< ::testing::tuple< ElementPointer, Size > >
 
class  StlContainerView< Element[N]>
 
class  StreamMatchResultListener
 
class  StrEqualityMatcher
 
class  String
 
class  TestCaseNameIs
 
class  TestEventListenersAccessor
 
class  TestEventRepeater
 
class  TestFactoryBase
 
class  TestFactoryImpl
 
class  TestPropertyKeyIs
 
class  TestResultAccessor
 
class  ThreadLocal
 
class  To
 
struct  TraceInfo
 
class  TransformTupleValuesHelper
 
class  TrulyMatcher
 
class  TupleFields
 
class  TupleFields< Tuple, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, -1, -1, -1, -1, -1, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, -1, -1, -1, -1, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, -1, -1, -1, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, k3, -1, -1, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, k3, k4, -1, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, k3, k4, k5, -1, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, -1, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, -1, -1 >
 
class  TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, -1 >
 
struct  TuplePolicy
 
class  TuplePrefix
 
class  TuplePrefix< 0 >
 
struct  type_equals
 
struct  type_equals< T, T >
 
class  TypedExpectation
 
class  TypeIdHelper
 
class  TypeWithSize
 
class  TypeWithSize< 4 >
 
class  TypeWithSize< 8 >
 
class  UnitTestHelper
 
class  UnitTestImpl
 
class  UnitTestOptions
 
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  UnorderedElementsAreArrayMatcher
 
class  UnorderedElementsAreMatcher
 
class  UnorderedElementsAreMatcherImpl
 
class  UnorderedElementsAreMatcherImplBase
 
class  UntypedActionResultHolderBase
 
class  UntypedFunctionMockerBase
 
class  UntypedOnCallSpecBase
 
class  WhenDynamicCastToMatcher
 
class  WhenDynamicCastToMatcher< To & >
 
class  WhenDynamicCastToMatcherBase
 
class  WhenSortedByMatcher
 
class  WithArgsAction
 
class  XmlUnitTestResultPrinter
 

Typedefs

typedef ::std::pair< size_t, size_t > ElementMatcherPair
 
typedef ::std::vector< ElementMatcherPairElementMatcherPairs
 
typedef ::std::vector< stringStrings
 
typedef FloatingPoint< float > Float
 
typedef FloatingPoint< double > Double
 
typedef const void * TypeId
 
typedef void(* SetUpTestCaseFunc) ()
 
typedef void(* TearDownTestCaseFunc) ()
 
typedef int IsContainer
 
typedef char IsNotContainer
 
typedef ::std::string string
 
typedef GTestMutexLock MutexLock
 
typedef bool_constant< falsefalse_type
 
typedef bool_constant< truetrue_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  CallReaction { kAllow , kWarn , kFail , kDefault = kWarn }
 
enum  TypeKind { kBool , kInteger , kFloatingPoint , kOther }
 
enum  LogSeverity { kInfo = 0 , kWarning = 1 }
 
enum  GTestLogSeverity {
  GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL ,
  GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL
}
 
enum  CharFormat {
  kAsIs , kHexEscape , kSpecialEscape , kAsIs ,
  kHexEscape , kSpecialEscape
}
 
enum  GTestColor {
  COLOR_DEFAULT , COLOR_RED , COLOR_GREEN , COLOR_YELLOW ,
  COLOR_DEFAULT , COLOR_RED , COLOR_GREEN , COLOR_YELLOW
}
 
enum  GTestLogSeverity {
  GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL ,
  GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL
}
 
enum  CharFormat {
  kAsIs , kHexEscape , kSpecialEscape , kAsIs ,
  kHexEscape , kSpecialEscape
}
 
enum  GTestColor {
  COLOR_DEFAULT , COLOR_RED , COLOR_GREEN , COLOR_YELLOW ,
  COLOR_DEFAULT , COLOR_RED , COLOR_GREEN , COLOR_YELLOW
}
 

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 int, 0U)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed int, 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 T >
void PrintTo (const ReferenceWrapper< T > &ref, ::std::ostream *os)
 
void PrintIfNotEmpty (const internal::string &explanation, ::std::ostream *os)
 
bool IsReadableTypeName (const string &type_name)
 
template<typename Value , typename T >
bool MatchPrintAndExplain (Value &value, const Matcher< T > &matcher, MatchResultListener *listener)
 
template<typename MatcherTuple , typename ValueTuple >
bool TupleMatches (const MatcherTuple &matcher_tuple, const ValueTuple &value_tuple)
 
template<typename MatcherTuple , typename ValueTuple >
void ExplainMatchFailureTupleTo (const MatcherTuple &matchers, const ValueTuple &values, ::std::ostream *os)
 
template<typename Tuple , typename Func , typename OutIter >
OutIter TransformTupleValues (Func f, const Tuple &t, OutIter out)
 
bool CaseInsensitiveCStringEquals (const char *lhs, const char *rhs)
 
bool CaseInsensitiveCStringEquals (const wchar_t *lhs, const wchar_t *rhs)
 
template<typename StringType >
bool CaseInsensitiveStringEquals (const StringType &s1, const StringType &s2)
 
template<typename M >
PredicateFormatterFromMatcher< MMakePredicateFormatterFromMatcher (M matcher)
 
GTEST_API_ ElementMatcherPairs FindMaxBipartiteMatching (const MatchMatrix &g)
 
GTEST_API_ bool FindPairing (const MatchMatrix &matrix, MatchResultListener *listener)
 
template<typename Tuple2Matcher , typename Second >
BoundSecondMatcher< Tuple2Matcher, Second > MatcherBindSecond (const Tuple2Matcher &tm, const Second &second)
 
GTEST_API_ string FormatMatcherDescription (bool negation, const char *matcher_name, const Strings &param_values)
 
template<typename InputIterator , typename OutputIterator >
OutputIterator CopyElements (InputIterator first, InputIterator last, OutputIterator output)
 
GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_ (g_gmock_mutex)
 
GTEST_API_ void LogWithLocation (testing::internal::LogSeverity severity, const char *file, int line, const string &message)
 
void ReportUninterestingCall (CallReaction reaction, const string &msg)
 
GTEST_API_ 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_ (unsigned short, kInteger)
 
 GMOCK_DECLARE_KIND_ (int, kInteger)
 
 GMOCK_DECLARE_KIND_ (unsigned int, kInteger)
 
 GMOCK_DECLARE_KIND_ (long, kInteger)
 
 GMOCK_DECLARE_KIND_ (unsigned long, 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 string &msg)
 
void Expect (bool condition, const char *file, int line)
 
GTEST_API_ bool LogIsVisible (LogSeverity severity)
 
GTEST_API_ void Log (LogSeverity severity, const string &message, int stack_frames_to_skip)
 
template<typename T >
T Invalid ()
 
GTEST_API_ FailureReporterInterface * GetFailureReporter ()
 
static GTEST_DEFINE_STATIC_MUTEX_ (g_log_mutex)
 
GTEST_API_ string JoinAsTuple (const Strings &fields)
 
static void LogElementMatcherPairVec (const ElementMatcherPairs &pairs, ::std::ostream *stream)
 
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_ (g_gmock_mutex)
 
static const char * ParseGoogleMockFlagValue (const char *str, const char *flag, bool def_optional)
 
static bool ParseGoogleMockBoolFlag (const char *str, const char *flag, bool *value)
 
template<typename String >
static bool ParseGoogleMockStringFlag (const char *str, const char *flag, String *value)
 
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 (IsContainer, false_type, const C &container, ::std::ostream *os)
 
template<typename T >
void DefaultPrintTo (IsNotContainer, true_type, T *p, ::std::ostream *os)
 
template<typename T >
void DefaultPrintTo (IsNotContainer, false_type, const T &value, ::std::ostream *os)
 
template<typename T >
void PrintTo (const T &value, ::std::ostream *os)
 
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)
 
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)
 
class UnitTestImplGetUnitTestImpl ()
 
void ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
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_DECLARE_string_ (internal_run_death_test)
 
char IsNullLiteralHelper (Secret *p)
 
char(& IsNullLiteralHelper (...))[2]
 
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 ()
 
GTEST_API_ TestInfoMakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestCaseFunc set_up_tc, TearDownTestCaseFunc 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 >
IsContainer IsContainerTest (int, typename C::iterator *=NULL, typename C::const_iterator *=NULL)
 
template<class C >
IsNotContainer IsContainerTest (long)
 
template<typename T , typename U >
bool ArrayEq (const T *lhs, size_t size, const U *rhs)
 
template<typename T , typename U >
bool ArrayEq (const T &lhs, const U &rhs)
 
template<typename T , typename U , size_t N>
bool ArrayEq (const T(&lhs)[N], const U(&rhs)[N])
 
template<typename Iter , typename Element >
Iter ArrayAwareFind (Iter begin, Iter end, const Element &elem)
 
template<typename T , typename U >
void CopyArray (const T *from, size_t size, U *to)
 
template<typename T , typename U >
void CopyArray (const T &from, U *to)
 
template<typename T , typename U , size_t N>
void CopyArray (const T(&from)[N], U(*to)[N])
 
GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_ (g_linked_ptr_mutex)
 
template<typename T >
bool operator== (T *ptr, const linked_ptr< T > &x)
 
template<typename T >
bool operator!= (T *ptr, const linked_ptr< T > &x)
 
template<typename T >
linked_ptr< Tmake_linked_ptr (T *ptr)
 
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 T >
const Tmove (const T &t)
 
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_ std::string TempDir ()
 
GTEST_API_ size_t GetFileSize (FILE *file)
 
GTEST_API_ std::string ReadEntireFile (FILE *file)
 
GTEST_API_ const ::std::vector< testing::internal::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 StringFromGTestEnv (const char *flag, const char *default_val)
 
GTEST_API_ std::string StringStreamToString (::std::stringstream *stream)
 
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.")
 
static bool IsPathSeparator (char c)
 
GTEST_API_ TimeInMillis GetTimeInMillis ()
 
GTEST_API_ bool ShouldUseColor (bool stdout_is_tty)
 
GTEST_API_ std::string FormatTimeInMillisAsSeconds (TimeInMillis ms)
 
GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms)
 
GTEST_API_ bool ParseInt32Flag (const char *str, const char *flag, Int32 *value)
 
int GetRandomSeedFromFlag (Int32 random_seed_flag)
 
int GetNextRandomSeed (int seed)
 
GTEST_API_ std::string CodePointToUtf8 (UInt32 code_point)
 
GTEST_API_ std::string WideStringToUtf8 (const wchar_t *str, int num_chars)
 
void WriteToShardStatusFileIfNeeded ()
 
GTEST_API_ bool ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test)
 
GTEST_API_ Int32 Int32FromEnvOrDie (const char *env_var, Int32 default_val)
 
GTEST_API_ bool ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
 
template<class Container , typename Predicate >
int CountIf (const Container &c, Predicate predicate)
 
template<class Container , typename Functor >
void ForEach (const Container &c, Functor functor)
 
template<typename E >
E GetElementOr (const std::vector< E > &v, int i, E default_value)
 
template<typename E >
void ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v)
 
template<typename E >
void Shuffle (internal::Random *random, std::vector< E > *v)
 
template<typename T >
static void Delete (T *x)
 
GTEST_API_ FilePath GetCurrentExecutableName ()
 
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, char **argv)
 
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)
 
static std::string FlagToEnvVar (const char *flag)
 
bool IsPrintableAscii (wchar_t c)
 
template<typename UnsignedChar , typename Char >
static CharFormat PrintAsCharLiteralTo (Char c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (wchar_t c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (char c, ostream *os)
 
template<typename UnsignedChar , typename Char >
void PrintCharAndCodeTo (Char c, ostream *os)
 
void PrintTo (wchar_t wc, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os)
 
void UniversalPrintArray (const char *begin, size_t len, ostream *os)
 
void UniversalPrintArray (const wchar_t *begin, size_t len, ostream *os)
 
void PrintTo (const char *s, ostream *os)
 
void PrintTo (const wchar_t *s, ostream *os)
 
void PrintStringTo (const ::std::string &s, ostream *os)
 
static bool GTestIsInitialized ()
 
static int SumOverTestCaseList (const std::vector< TestCase * > &case_list, int(TestCase::*method)() const)
 
static bool TestCasePassed (const TestCase *test_case)
 
static bool TestCaseFailed (const TestCase *test_case)
 
static bool ShouldRunTestCase (const TestCase *test_case)
 
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_ (g_linked_ptr_mutex)
 
AssertionResult HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const string &substr)
 
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)
 
bool IsUtf16SurrogatePair (wchar_t first, wchar_t second)
 
UInt32 CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second)
 
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)
 
static std::string PrintTestPartResultToString (const TestPartResult &test_part_result)
 
static void PrintTestPartResult (const TestPartResult &test_part_result)
 
const char * GetAnsiColorCode (GTestColor color)
 
void ColoredPrintf (GTestColor color, const char *fmt,...)
 
void PrintFullTestCommentIfPresent (const TestInfo &test_info)
 
static bool PortableLocaltime (time_t seconds, struct tm *out)
 
static void SetUpEnvironment (Environment *env)
 
static void TearDownEnvironment (Environment *env)
 
static void PrintOnOneLine (const char *str, int max_length)
 
const char * ParseFlagValue (const char *str, const char *flag, bool def_optional)
 
bool ParseBoolFlag (const char *str, const char *flag, bool *value)
 
bool ParseStringFlag (const char *str, const char *flag, std::string *value)
 
static bool HasGoogleTestFlagPrefix (const char *str)
 
static void PrintColorEncoded (const char *str)
 
bool ParseGoogleTestFlag (const char *const arg)
 
template<typename CharType >
void ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **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 (ScopedPtrTest, DefinesElementType)
 
 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, TestCaseImmutableAccessorsWork)
 
 TEST (ApiTest, TestCaseDisabledAccessorsWork)
 
 TEST (ApiTest, DISABLED_Dummy1)
 
 TEST (DISABLED_Test, Dummy2)
 
static bool IsPathSeparator (char c)
 
template<typename T >
static void Delete (T *x)
 
static std::string FlagToEnvVar (const char *flag)
 
template<typename UnsignedChar , typename Char >
static CharFormat PrintAsCharLiteralTo (Char c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (wchar_t c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (char c, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os)
 
static bool GTestIsInitialized ()
 
static int SumOverTestCaseList (const std::vector< TestCase * > &case_list, int(TestCase::*method)() const)
 
static bool TestCasePassed (const TestCase *test_case)
 
static bool TestCaseFailed (const TestCase *test_case)
 
static bool ShouldRunTestCase (const TestCase *test_case)
 
static std::string PrintTestPartResultToString (const TestPartResult &test_part_result)
 
static void PrintTestPartResult (const TestPartResult &test_part_result)
 
static bool PortableLocaltime (time_t seconds, struct tm *out)
 
static void SetUpEnvironment (Environment *env)
 
static void TearDownEnvironment (Environment *env)
 
static void PrintOnOneLine (const char *str, int max_length)
 
static bool HasGoogleTestFlagPrefix (const char *str)
 
static void PrintColorEncoded (const char *str)
 

Variables

GTEST_API_ ThreadLocal< Sequence * > g_gmock_implicit_sequence
 
const char kInfoVerbosity [] = "info"
 
const char kWarningVerbosity [] = "warning"
 
const char kErrorVerbosity [] = "error"
 
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"
 
class GTEST_API_ testing::internal::ScopedTrace GTEST_ATTRIBUTE_UNUSED_
 
const BiggestInt kMaxBiggestInt
 
const char kPathSeparator = '/'
 
const char kCurrentDirectoryString [] = "./"
 
GTEST_API_ const TypeId kTestTypeIdInGoogleTest = GetTestTypeId()
 
const char kAlsoRunDisabledTestsFlag [] = "also_run_disabled_tests"
 
const char kBreakOnFailureFlag [] = "break_on_failure"
 
const char kCatchExceptionsFlag [] = "catch_exceptions"
 
const char kColorFlag [] = "color"
 
const char kFilterFlag [] = "filter"
 
const char kListTestsFlag [] = "list_tests"
 
const char kOutputFlag [] = "output"
 
const char kPrintTimeFlag [] = "print_time"
 
const char kRandomSeedFlag [] = "random_seed"
 
const char kRepeatFlag [] = "repeat"
 
const char kShuffleFlag [] = "shuffle"
 
const char kStackTraceDepthFlag [] = "stack_trace_depth"
 
const char kStreamResultToFlag [] = "stream_result_to"
 
const char kThrowOnFailureFlag [] = "throw_on_failure"
 
const char kFlagfileFlag [] = "flagfile"
 
const int kMaxRandomSeed = 99999
 
GTEST_API_ bool g_help_flag = false
 
const int kStdOutFileno = STDOUT_FILENO
 
const int kStdErrFileno = STDERR_FILENO
 
const char kUnknownFile [] = "unknown file"
 
::std::vector< testing::internal::stringg_argvs
 
const UInt32 kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1
 
const UInt32 kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1
 
const UInt32 kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1
 
const UInt32 kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1
 
static const char kTypeParamLabel [] = "TypeParam"
 
static const char kValueParamLabel [] = "GetParam()"
 
static const char kColorEncodedHelpMessage []
 
const int kTypedTestCases = 0
 
const int kTypedTests = 0
 
static const char kTypeParamLabel [] = "TypeParam"
 
static const char kValueParamLabel [] = "GetParam()"
 
static const char kColorEncodedHelpMessage []
 

Typedef Documentation

◆ BiggestInt

typedef long long testing::internal::BiggestInt

◆ Double

◆ ElementMatcherPair

typedef ::std::pair<size_t, size_t> testing::internal::ElementMatcherPair

◆ ElementMatcherPairs

◆ false_type

◆ Float

◆ Int32

◆ Int64

◆ IsContainer

◆ IsNotContainer

◆ MutexLock

◆ SetUpTestCaseFunc

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

◆ string

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

◆ Strings

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

◆ TearDownTestCaseFunc

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

◆ TimeInMillis

◆ true_type

◆ TypeId

◆ UInt32

◆ UInt64

Enumeration Type Documentation

◆ CallReaction

Enumerator
kAllow 
kWarn 
kFail 
kDefault 

◆ CharFormat [1/2]

Enumerator
kAsIs 
kHexEscape 
kSpecialEscape 
kAsIs 
kHexEscape 
kSpecialEscape 

◆ CharFormat [2/2]

Enumerator
kAsIs 
kHexEscape 
kSpecialEscape 
kAsIs 
kHexEscape 
kSpecialEscape 

◆ GTestColor [1/2]

Enumerator
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 

◆ GTestColor [2/2]

Enumerator
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 
COLOR_DEFAULT 
COLOR_RED 
COLOR_GREEN 
COLOR_YELLOW 

◆ GTestLogSeverity [1/2]

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

◆ GTestLogSeverity [2/2]

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

◆ LogSeverity

Enumerator
kInfo 
kWarning 

◆ TypeKind

Enumerator
kBool 
kInteger 
kFloatingPoint 
kOther 

Function Documentation

◆ AlwaysFalse()

bool testing::internal::AlwaysFalse ( )
inline

◆ AlwaysTrue()

bool testing::internal::AlwaysTrue ( )

◆ AppendUserMessage()

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 )

◆ 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

◆ Assert()

template<typename From , typename To >
void testing::internal::Assert ( bool condition,
const char * file,
int line )
inline

◆ BoolFromGTestEnv()

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

◆ CaseInsensitiveCStringEquals() [1/2]

bool testing::internal::CaseInsensitiveCStringEquals ( const char * lhs,
const char * rhs )
inline

◆ CaseInsensitiveCStringEquals() [2/2]

bool testing::internal::CaseInsensitiveCStringEquals ( const wchar_t * lhs,
const wchar_t * rhs )
inline

◆ CaseInsensitiveStringEquals()

template<typename StringType >
bool testing::internal::CaseInsensitiveStringEquals ( const StringType & s1,
const StringType & s2 )

◆ CheckedDowncastToActualType()

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

◆ ChopLowBits()

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

◆ CmpHelperEQ() [1/2]

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 )

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

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

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

◆ CmpHelperSTRCASENE()

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

◆ CmpHelperSTREQ() [1/2]

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

◆ CmpHelperSTREQ() [2/2]

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

◆ CmpHelperSTRNE() [1/2]

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

◆ CmpHelperSTRNE() [2/2]

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

◆ CodePointToUtf8()

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

◆ ColoredPrintf()

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

◆ ConvertIdentifierNameToWords()

GTEST_API_ string testing::internal::ConvertIdentifierNameToWords ( const char * id_name)

◆ 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

◆ CopyElements()

template<typename InputIterator , typename OutputIterator >
OutputIterator testing::internal::CopyElements ( InputIterator first,
InputIterator last,
OutputIterator output )
inline

◆ CountIf()

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

◆ CreateCodePointFromUtf16SurrogatePair()

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

◆ DefaultPrintTo() [1/3]

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

◆ DefaultPrintTo() [2/3]

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

◆ DefaultPrintTo() [3/3]

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

◆ Delete() [1/2]

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

◆ Delete() [2/2]

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

◆ DiffStrings()

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

◆ DoubleNearPredFormat()

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

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 )

◆ Expect() [1/2]

void testing::internal::Expect ( bool condition,
const char * file,
int line )
inline

◆ Expect() [2/2]

void testing::internal::Expect ( bool condition,
const char * file,
int line,
const string & msg )
inline

◆ ExplainMatchFailureTupleTo()

template<typename MatcherTuple , typename ValueTuple >
void testing::internal::ExplainMatchFailureTupleTo ( const MatcherTuple & matchers,
const ValueTuple & values,
::std::ostream * os )

◆ FindMaxBipartiteMatching()

GTEST_API_ ElementMatcherPairs testing::internal::FindMaxBipartiteMatching ( const MatchMatrix & g)

◆ FindPairing()

GTEST_API_ bool testing::internal::FindPairing ( const MatchMatrix & matrix,
MatchResultListener * listener )

◆ FlagToEnvVar() [1/2]

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

◆ FlagToEnvVar() [2/2]

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

◆ FloatingPointLE()

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

◆ FlushInfoLog()

void testing::internal::FlushInfoLog ( )
inline

◆ ForEach()

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

◆ FormatCompilerIndependentFileLocation()

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

◆ FormatEpochTimeInMillisAsIso8601()

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

◆ FormatFileLocation()

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

◆ FormatForComparisonFailureMessage()

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

◆ FormatMatcherDescription()

GTEST_API_ string testing::internal::FormatMatcherDescription ( bool negation,
const char * matcher_name,
const Strings & param_values )

◆ FormatTimeInMillisAsSeconds()

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

◆ GetAnsiColorCode()

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

◆ GetArgvs()

const::std::vector< testing::internal::string > & testing::internal::GetArgvs ( )

◆ GetBoolAssertionFailureMessage()

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

◆ GetCurrentExecutableName()

FilePath testing::internal::GetCurrentExecutableName ( )

◆ GetCurrentOsStackTraceExceptTop()

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

◆ GetElementOr()

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

◆ GetFailureReporter()

GTEST_API_ FailureReporterInterface * testing::internal::GetFailureReporter ( )

◆ GetFileSize()

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

◆ GetNextRandomSeed()

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

◆ GetRandomSeedFromFlag()

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

◆ GetRawPointer() [1/2]

template<typename Pointer >
const Pointer::element_type * testing::internal::GetRawPointer ( const Pointer & p)
inline

◆ GetRawPointer() [2/2]

template<typename Element >
Element * testing::internal::GetRawPointer ( Element * p)
inline

◆ GetTestTypeId()

TypeId testing::internal::GetTestTypeId ( )

◆ GetThreadCount()

size_t testing::internal::GetThreadCount ( )

◆ GetTimeInMillis()

TimeInMillis testing::internal::GetTimeInMillis ( )

◆ GetTypeId()

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

◆ GetTypeName()

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

◆ GetUnitTestImpl()

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

◆ GMOCK_DECLARE_KIND_() [1/15]

testing::internal::GMOCK_DECLARE_KIND_ ( bool ,
kBool  )

◆ GMOCK_DECLARE_KIND_() [2/15]

testing::internal::GMOCK_DECLARE_KIND_ ( char ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [3/15]

testing::internal::GMOCK_DECLARE_KIND_ ( double ,
kFloatingPoint  )

◆ GMOCK_DECLARE_KIND_() [4/15]

testing::internal::GMOCK_DECLARE_KIND_ ( float ,
kFloatingPoint  )

◆ GMOCK_DECLARE_KIND_() [5/15]

testing::internal::GMOCK_DECLARE_KIND_ ( int ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [6/15]

testing::internal::GMOCK_DECLARE_KIND_ ( Int64 ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [7/15]

testing::internal::GMOCK_DECLARE_KIND_ ( long double ,
kFloatingPoint  )

◆ GMOCK_DECLARE_KIND_() [8/15]

testing::internal::GMOCK_DECLARE_KIND_ ( long ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [9/15]

testing::internal::GMOCK_DECLARE_KIND_ ( short ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [10/15]

testing::internal::GMOCK_DECLARE_KIND_ ( signed char ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [11/15]

testing::internal::GMOCK_DECLARE_KIND_ ( UInt64 ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [12/15]

testing::internal::GMOCK_DECLARE_KIND_ ( unsigned char ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [13/15]

testing::internal::GMOCK_DECLARE_KIND_ ( unsigned int ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [14/15]

testing::internal::GMOCK_DECLARE_KIND_ ( unsigned long ,
kInteger  )

◆ GMOCK_DECLARE_KIND_() [15/15]

testing::internal::GMOCK_DECLARE_KIND_ ( unsigned short ,
kInteger  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [1/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( ::std::string ,
""  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [2/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( bool ,
false  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [3/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( char ,
'\0'  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [4/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( double ,
0  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [5/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( float ,
0  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [6/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( Int64 ,
0  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [7/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed char ,
'\0'  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [8/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed int ,
0  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [9/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed long ,
0L  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [10/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed short ,
0  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [11/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( UInt64 ,
0  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [12/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned char ,
'\0'  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [13/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned int ,
0U  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [14/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned long ,
0UL  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [15/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned short ,
0U  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [16/16]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( void )

◆ GTEST_DECLARE_STATIC_MUTEX_() [1/2]

GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ ( g_gmock_mutex )

◆ GTEST_DECLARE_STATIC_MUTEX_() [2/2]

GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ ( g_linked_ptr_mutex )

◆ GTEST_DECLARE_string_()

testing::internal::GTEST_DECLARE_string_ ( internal_run_death_test )

◆ GTEST_DEFINE_STATIC_MUTEX_() [1/3]

GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ ( g_gmock_mutex )

◆ GTEST_DEFINE_STATIC_MUTEX_() [2/3]

GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ ( g_linked_ptr_mutex )

◆ GTEST_DEFINE_STATIC_MUTEX_() [3/3]

static testing::internal::GTEST_DEFINE_STATIC_MUTEX_ ( g_log_mutex )
static

◆ GTEST_DEFINE_string_()

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

◆ GTEST_IMPL_CMP_HELPER_() [1/5]

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

◆ GTEST_IMPL_CMP_HELPER_() [2/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( GT )

◆ GTEST_IMPL_CMP_HELPER_() [3/5]

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

◆ GTEST_IMPL_CMP_HELPER_() [4/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( LT )

◆ GTEST_IMPL_CMP_HELPER_() [5/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( NE ,
!  )

◆ GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_() [1/2]

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( char )

◆ GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_() [2/2]

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( wchar_t )

◆ GTEST_IMPL_FORMAT_C_STRING_AS_STRING_()

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

◆ GTestIsInitialized() [1/2]

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

◆ GTestIsInitialized() [2/2]

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

◆ HandleExceptionsInMethodIfSupported()

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

◆ HandleSehExceptionsInMethodIfSupported()

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

◆ HasGoogleTestFlagPrefix() [1/2]

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

◆ HasGoogleTestFlagPrefix() [2/2]

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

◆ HasOneFailure()

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

◆ ImplicitCast_()

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

◆ InitGoogleMockImpl()

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

◆ InitGoogleTestImpl()

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

◆ Int32FromEnvOrDie()

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

◆ Int32FromGTestEnv()

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

◆ Invalid()

template<typename T >
T testing::internal::Invalid ( )
inline

◆ IsAlNum()

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

◆ IsAlpha()

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

◆ IsContainerTest() [1/2]

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

◆ 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

◆ IsNull()

AssertionResult testing::internal::IsNull ( const char * str)

◆ IsNullLiteralHelper() [1/2]

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

◆ IsNullLiteralHelper() [2/2]

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

◆ IsPathSeparator() [1/2]

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

◆ IsPathSeparator() [2/2]

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

◆ IsPrintableAscii()

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

◆ IsReadableTypeName()

bool testing::internal::IsReadableTypeName ( const string & type_name)
inline

◆ IsSpace()

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

◆ IsTrue()

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

◆ IsUpper()

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

◆ IsUtf16SurrogatePair()

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

◆ IsXDigit() [1/2]

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

◆ IsXDigit() [2/2]

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

◆ JoinAsTuple()

GTEST_API_ string testing::internal::JoinAsTuple ( const Strings & fields)

◆ Log()

GTEST_API_ void testing::internal::Log ( LogSeverity severity,
const string & message,
int stack_frames_to_skip )

◆ LogElementMatcherPairVec()

static void testing::internal::LogElementMatcherPairVec ( const ElementMatcherPairs & pairs,
::std::ostream * stream )
static

◆ LogIsVisible()

GTEST_API_ bool testing::internal::LogIsVisible ( LogSeverity severity)

◆ LogToStderr()

void testing::internal::LogToStderr ( )
inline

◆ LogWithLocation()

GTEST_API_ void testing::internal::LogWithLocation ( testing::internal::LogSeverity severity,
const char * file,
int line,
const string & message )

◆ make_linked_ptr()

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

◆ MakeAndRegisterTestInfo()

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

◆ MakePredicateFormatterFromMatcher()

template<typename M >
PredicateFormatterFromMatcher< M > testing::internal::MakePredicateFormatterFromMatcher ( M matcher)
inline

◆ MatcherBindSecond()

template<typename Tuple2Matcher , typename Second >
BoundSecondMatcher< Tuple2Matcher, Second > testing::internal::MatcherBindSecond ( const Tuple2Matcher & tm,
const Second & second )

◆ MatchPrintAndExplain()

template<typename Value , typename T >
bool testing::internal::MatchPrintAndExplain ( Value & value,
const Matcher< T > & matcher,
MatchResultListener * listener )

◆ move()

template<typename T >
const T & testing::internal::move ( const T & t)

◆ operator!=()

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

◆ operator==()

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

◆ ParseBoolFlag()

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

◆ ParseFlagValue()

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

◆ ParseGoogleMockBoolFlag()

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

◆ ParseGoogleMockFlagValue()

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

◆ ParseGoogleMockStringFlag()

template<typename String >
static bool testing::internal::ParseGoogleMockStringFlag ( const char * str,
const char * flag,
String * value )
static

◆ ParseGoogleTestFlag()

bool testing::internal::ParseGoogleTestFlag ( const char *const arg)

◆ ParseGoogleTestFlagsOnly() [1/2]

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

◆ ParseGoogleTestFlagsOnly() [2/2]

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

◆ ParseGoogleTestFlagsOnlyImpl()

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

◆ ParseInt32()

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

◆ ParseInt32Flag()

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

◆ ParseStringFlag()

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

◆ PortableLocaltime() [1/2]

static bool testing::internal::PortableLocaltime ( time_t seconds,
struct tm * out )
static

◆ PortableLocaltime() [2/2]

static bool testing::internal::PortableLocaltime ( time_t seconds,
struct tm * out )
static

◆ PrintAsCharLiteralTo() [1/2]

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

◆ PrintAsCharLiteralTo() [2/2]

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

◆ PrintAsStringLiteralTo() [1/4]

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

◆ PrintAsStringLiteralTo() [2/4]

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

◆ PrintAsStringLiteralTo() [3/4]

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

◆ PrintAsStringLiteralTo() [4/4]

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

◆ PrintCharAndCodeTo()

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

◆ PrintCharsAsStringTo() [1/2]

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

◆ PrintCharsAsStringTo() [2/2]

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

◆ PrintColorEncoded() [1/2]

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

◆ PrintColorEncoded() [2/2]

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

◆ PrintFullTestCommentIfPresent()

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

◆ PrintIfNotEmpty()

void testing::internal::PrintIfNotEmpty ( const internal::string & explanation,
::std::ostream * os )
inline

◆ PrintOnOneLine() [1/2]

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

◆ PrintOnOneLine() [2/2]

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

◆ PrintRawArrayTo()

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

◆ PrintStringTo() [1/2]

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

◆ PrintStringTo() [2/2]

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

◆ PrintTestPartResult() [1/2]

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

◆ PrintTestPartResult() [2/2]

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

◆ PrintTestPartResultToString() [1/2]

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

◆ PrintTestPartResultToString() [2/2]

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

◆ PrintTo() [1/20]

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

◆ PrintTo() [2/20]

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

◆ PrintTo() [3/20]

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

◆ PrintTo() [4/20]

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

◆ PrintTo() [5/20]

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

◆ PrintTo() [6/20]

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

◆ PrintTo() [7/20]

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

◆ PrintTo() [8/20]

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

◆ PrintTo() [9/20]

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

◆ PrintTo() [10/20]

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

◆ PrintTo() [11/20]

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

◆ PrintTo() [12/20]

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

◆ PrintTo() [13/20]

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

◆ PrintTo() [14/20]

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

◆ PrintTo() [15/20]

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

◆ PrintTo() [16/20]

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

◆ PrintTo() [17/20]

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

◆ PrintTo() [18/20]

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

◆ PrintTo() [19/20]

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

◆ PrintTo() [20/20]

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

◆ ReadEntireFile()

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

◆ ReportFailureInUnknownLocation()

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

◆ ReportUninterestingCall()

void testing::internal::ReportUninterestingCall ( CallReaction reaction,
const string & msg )

◆ SetUpEnvironment() [1/2]

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

◆ SetUpEnvironment() [2/2]

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

◆ ShouldRunTestCase() [1/2]

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

◆ ShouldRunTestCase() [2/2]

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

◆ ShouldRunTestOnShard()

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

◆ ShouldShard()

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

◆ ShouldUseColor()

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

◆ Shuffle()

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

◆ ShuffleRange()

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

◆ SkipPrefix()

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

◆ SplitString()

void testing::internal::SplitString ( const ::std::string & str,
char delimiter,
::std::vector< ::std::string > * dest )

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

◆ StringStreamToString()

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

◆ StripTrailingSpaces()

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

◆ SumOverTestCaseList() [1/2]

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

◆ SumOverTestCaseList() [2/2]

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

◆ TearDownEnvironment() [1/2]

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

◆ TearDownEnvironment() [2/2]

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

◆ TempDir()

std::string testing::internal::TempDir ( )

◆ TEST() [1/41]

testing::internal::TEST ( ApiTest ,
DISABLED_Dummy1  )

◆ TEST() [2/41]

testing::internal::TEST ( ApiTest ,
TestCaseDisabledAccessorsWork  )

◆ TEST() [3/41]

testing::internal::TEST ( ApiTest ,
TestCaseImmutableAccessorsWork  )

◆ TEST() [4/41]

testing::internal::TEST ( ApiTest ,
UnitTestImmutableAccessorsWork  )

◆ TEST() [5/41]

testing::internal::TEST ( CaptureDeathTest ,
CannotReenterStdoutCapture  )

◆ TEST() [6/41]

testing::internal::TEST ( CaptureTest ,
CapturesStderr  )

◆ TEST() [7/41]

testing::internal::TEST ( CaptureTest ,
CapturesStdout  )

◆ TEST() [8/41]

testing::internal::TEST ( CaptureTest ,
CapturesStdoutAndStderr  )

◆ TEST() [9/41]

testing::internal::TEST ( DISABLED_Test ,
Dummy2  )

◆ TEST() [10/41]

testing::internal::TEST ( FormatCompilerIndependentFileLocationTest ,
FormatsFileLocation  )

◆ TEST() [11/41]

testing::internal::TEST ( FormatCompilerIndependentFileLocationTest ,
FormatsUknownFile  )

◆ TEST() [12/41]

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

◆ TEST() [13/41]

testing::internal::TEST ( FormatCompilerIndependentFileLocationTest ,
FormatsUknownLine  )

◆ TEST() [14/41]

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

◆ TEST() [15/41]

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

◆ TEST() [16/41]

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

◆ TEST() [17/41]

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

◆ TEST() [18/41]

testing::internal::TEST ( GetThreadCountTest ,
ReturnsZeroWhenUnableToCountThreads  )

◆ TEST() [19/41]

testing::internal::TEST ( GtestCheckDeathTest ,
DiesWithCorrectOutputOnFailure  )

◆ TEST() [20/41]

testing::internal::TEST ( GtestCheckSyntaxTest ,
BehavesLikeASingleStatement  )

◆ TEST() [21/41]

testing::internal::TEST ( GtestCheckSyntaxTest ,
WorksWithSwitch  )

◆ TEST() [22/41]

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

◆ TEST() [23/41]

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

◆ TEST() [24/41]

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

◆ TEST() [25/41]

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

◆ TEST() [26/41]

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

◆ TEST() [27/41]

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

◆ TEST() [28/41]

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

◆ TEST() [29/41]

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

◆ TEST() [30/41]

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

◆ TEST() [31/41]

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

◆ TEST() [32/41]

testing::internal::TEST ( IteratorTraitsTest ,
WorksForPointerToConst  )

◆ TEST() [33/41]

testing::internal::TEST ( IteratorTraitsTest ,
WorksForPointerToNonConst  )

◆ TEST() [34/41]

testing::internal::TEST ( IteratorTraitsTest ,
WorksForSTLContainerIterators  )

◆ TEST() [35/41]

testing::internal::TEST ( RegexEngineSelectionTest ,
SelectsCorrectRegexEngine  )

◆ TEST() [36/41]

testing::internal::TEST ( ScopedPtrTest ,
DefinesElementType  )

◆ TEST() [37/41]

testing::internal::TEST ( ThreadLocalTest ,
DefaultConstructorInitializesToDefaultValues  )

◆ TEST() [38/41]

testing::internal::TEST ( ThreadLocalTest ,
GetAndPointerReturnSameValue  )

◆ TEST() [39/41]

testing::internal::TEST ( ThreadLocalTest ,
PointerAndConstPointerReturnSameValue  )

◆ TEST() [40/41]

testing::internal::TEST ( ThreadLocalTest ,
SingleParamConstructorInitializesToParam  )

◆ TEST() [41/41]

testing::internal::TEST ( ThreadLocalTest ,
ValueDefaultContructorIsNotRequiredForParamVersion  )

◆ TEST_F() [1/2]

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

◆ TEST_F() [2/2]

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

◆ TestCaseFailed() [1/2]

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

◆ TestCaseFailed() [2/2]

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

◆ TestCasePassed() [1/2]

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

◆ TestCasePassed() [2/2]

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

◆ ToLower()

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

◆ ToUpper()

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

◆ TransformTupleValues()

template<typename Tuple , typename Func , typename OutIter >
OutIter testing::internal::TransformTupleValues ( Func f,
const Tuple & t,
OutIter out )

◆ TupleMatches()

template<typename MatcherTuple , typename ValueTuple >
bool testing::internal::TupleMatches ( const MatcherTuple & matcher_tuple,
const ValueTuple & value_tuple )

◆ UniversalPrint()

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

◆ UniversalPrintArray() [1/5]

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

◆ UniversalPrintArray() [2/5]

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

◆ UniversalPrintArray() [3/5]

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

◆ UniversalPrintArray() [4/5]

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

◆ UniversalPrintArray() [5/5]

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

◆ UniversalPrintCharArray() [1/2]

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

◆ UniversalPrintCharArray() [2/2]

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

◆ UniversalTersePrint()

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

◆ WideStringToUtf8()

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

◆ WriteToShardStatusFileIfNeeded()

void testing::internal::WriteToShardStatusFileIfNeeded ( )

Variable Documentation

◆ g_argvs

std::vector< testing::internal::string > testing::internal::g_argvs

◆ g_gmock_implicit_sequence

GTEST_API_ ThreadLocal< Sequence * > testing::internal::g_gmock_implicit_sequence

◆ g_help_flag

bool testing::internal::g_help_flag = false

◆ GTEST_ATTRIBUTE_UNUSED_

class testing::internal::GTestFlagSaver testing::internal::GTEST_ATTRIBUTE_UNUSED_

◆ kAlsoRunDisabledTestsFlag

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

◆ kBreakOnFailureFlag

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

◆ kCatchExceptionsFlag

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

◆ kColorEncodedHelpMessage [1/2]

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

◆ kColorEncodedHelpMessage [2/2]

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

◆ kColorFlag

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

◆ kCurrentDirectoryString

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

◆ kDeathTestStyleFlag

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

◆ kDeathTestUseFork

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

◆ kErrorVerbosity

const char testing::internal::kErrorVerbosity[] = "error"

◆ kFilterFlag

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

◆ kFlagfileFlag

const char testing::internal::kFlagfileFlag = "flagfile"

◆ kInfoVerbosity

const char testing::internal::kInfoVerbosity[] = "info"

◆ kInternalRunDeathTestFlag

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

◆ kListTestsFlag

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

◆ kMaxBiggestInt

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

◆ kMaxCodePoint1

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

◆ kMaxCodePoint2

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

◆ kMaxCodePoint3

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

◆ kMaxCodePoint4

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

◆ kMaxRandomSeed

const int testing::internal::kMaxRandomSeed = 99999

◆ kOutputFlag

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

◆ kPathSeparator

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

◆ kPrintTimeFlag

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

◆ kRandomSeedFlag

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

◆ kRepeatFlag

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

◆ kShuffleFlag

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

◆ kStackTraceDepthFlag

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

◆ kStackTraceMarker

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

◆ kStdErrFileno

const int testing::internal::kStdErrFileno = STDERR_FILENO

◆ kStdOutFileno

const int testing::internal::kStdOutFileno = STDOUT_FILENO

◆ kStreamResultToFlag

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

◆ kTestTypeIdInGoogleTest

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

◆ kThrowOnFailureFlag

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

◆ kTypedTestCases

const int testing::internal::kTypedTestCases = 0

◆ kTypedTests

const int testing::internal::kTypedTests = 0

◆ kTypeParamLabel [1/2]

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

◆ kTypeParamLabel [2/2]

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

◆ kUnknownFile

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

◆ kValueParamLabel [1/2]

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

◆ kValueParamLabel [2/2]

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

◆ kWarningVerbosity

const char testing::internal::kWarningVerbosity[] = "warning"