Electroneum
Loading...
Searching...
No Matches
testing::internal Namespace Reference

Namespaces

namespace  invoke_argument
namespace  edit_distance
namespace  posix

Classes

class  ActionAdaptor
struct  BuiltInDefaultValueGetter
struct  BuiltInDefaultValueGetter< T, false >
class  BuiltInDefaultValue
class  BuiltInDefaultValue< const T >
class  BuiltInDefaultValue< T * >
struct  ByMoveWrapper
class  ReturnAction
class  ReturnNullAction
class  ReturnVoidAction
class  ReturnRefAction
class  ReturnRefOfCopyAction
class  DoDefaultAction
class  AssignAction
class  SetErrnoAndReturnAction
class  SetArgumentPointeeAction
class  SetArgumentPointeeAction< N, Proto, true >
class  InvokeWithoutArgsAction
class  InvokeMethodWithoutArgsAction
class  IgnoreResultAction
class  ReferenceWrapper
class  DoBothAction
class  InvokeHelper
class  InvokeHelper< R, ::testing::tuple<> >
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  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  WithArgsAction
struct  ExcessiveArg
class  ActionHelper
class  FunctionMockerBase
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  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 >
class  ArgsMatcherImpl
class  ArgsMatcher
struct  AllOfResult1
struct  AllOfResult2
struct  AllOfResult3
struct  AllOfResult4
struct  AllOfResult5
struct  AllOfResult6
struct  AllOfResult7
struct  AllOfResult8
struct  AllOfResult9
struct  AllOfResult10
struct  AnyOfResult1
struct  AnyOfResult2
struct  AnyOfResult3
struct  AnyOfResult4
struct  AnyOfResult5
struct  AnyOfResult6
struct  AnyOfResult7
struct  AnyOfResult8
struct  AnyOfResult9
struct  AnyOfResult10
struct  AnyEq
struct  AnyNe
struct  AnyLt
struct  AnyGt
struct  AnyLe
struct  AnyGe
class  DummyMatchResultListener
class  StreamMatchResultListener
class  MatcherBase
class  MatcherCastImpl
class  MatcherCastImpl< T, Matcher< U > >
class  MatcherCastImpl< T, Matcher< T > >
class  TuplePrefix
class  TuplePrefix< 0 >
class  TransformTupleValuesHelper
class  AnyMatcherImpl
class  AnythingMatcher
class  ComparisonBase
class  EqMatcher
class  NeMatcher
class  LtMatcher
class  GtMatcher
class  LeMatcher
class  GeMatcher
class  IsNullMatcher
class  NotNullMatcher
class  RefMatcher
class  RefMatcher< T & >
class  StrEqualityMatcher
class  HasSubstrMatcher
class  StartsWithMatcher
class  EndsWithMatcher
class  MatchesRegexMatcher
class  PairMatchBase
class  Eq2Matcher
class  Ne2Matcher
class  Lt2Matcher
class  Gt2Matcher
class  Le2Matcher
class  Ge2Matcher
class  NotMatcherImpl
class  NotMatcher
class  BothOfMatcherImpl
class  BothOfMatcher
class  EitherOfMatcherImpl
class  EitherOfMatcher
class  TrulyMatcher
class  MatcherAsPredicate
class  PredicateFormatterFromMatcher
class  FloatingEqMatcher
class  PointeeMatcher
class  WhenDynamicCastToMatcherBase
class  WhenDynamicCastToMatcher
class  WhenDynamicCastToMatcher< To & >
class  FieldMatcher
class  PropertyMatcher
struct  CallableTraits
struct  CallableTraits< ResType(*)(ArgType)>
class  ResultOfMatcher
class  SizeIsMatcher
class  BeginEndDistanceIsMatcher
class  ContainerEqMatcher
struct  LessComparator
class  WhenSortedByMatcher
class  PointwiseMatcher
class  QuantifierMatcherImpl
class  ContainsMatcherImpl
class  EachMatcherImpl
class  ContainsMatcher
class  EachMatcher
class  KeyMatcherImpl
class  KeyMatcher
class  PairMatcherImpl
class  PairMatcher
class  ElementsAreMatcherImpl
class  MatchMatrix
class  UnorderedElementsAreMatcherImplBase
class  UnorderedElementsAreMatcherImpl
struct  CastAndAppendTransform
class  UnorderedElementsAreMatcher
class  ElementsAreMatcher
class  UnorderedElementsAreArrayMatcher
class  ElementsAreArrayMatcher
class  BoundSecondMatcher
class  InvokeAction
class  InvokeMethodAction
class  TypedExpectation
class  UntypedFunctionMockerBase
class  UntypedOnCallSpecBase
class  OnCallSpec
class  ExpectationBase
class  MockSpec
class  ReferenceOrValueWrapper
class  ReferenceOrValueWrapper< T & >
class  UntypedActionResultHolderBase
class  ActionResultHolder
class  ActionResultHolder< void >
class  IgnoredValue
struct  MatcherTuple
struct  MatcherTuple< ::testing::tuple<> >
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  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)>
struct  PointeeOf
struct  PointeeOf< T * >
struct  LinkedPtrLessThan
struct  KindOf
struct  LosslessArithmeticConvertibleImpl
struct  LosslessArithmeticConvertibleImpl< kBool, bool, kBool, bool >
struct  LosslessArithmeticConvertibleImpl< kBool, bool, kInteger, To >
struct  LosslessArithmeticConvertibleImpl< kBool, bool, kFloatingPoint, To >
struct  LosslessArithmeticConvertibleImpl< kInteger, From, kBool, bool >
struct  LosslessArithmeticConvertibleImpl< kInteger, From, kInteger, To >
struct  LosslessArithmeticConvertibleImpl< kInteger, From, kFloatingPoint, To >
struct  LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kBool, bool >
struct  LosslessArithmeticConvertibleImpl< kFloatingPoint, From, kInteger, To >
struct  is_reference
struct  is_reference< T & >
struct  type_equals
struct  type_equals< T, T >
struct  remove_reference
struct  remove_reference< T & >
struct  DecayArray
struct  DecayArray< T[N]>
struct  DecayArray< T[]>
class  StlContainerView
class  StlContainerView< Element[N]>
class  StlContainerView< ::testing::tuple< ElementPointer, Size > >
struct  RemoveConstFromKey
struct  RemoveConstFromKey< std::pair< const K, V > >
struct  BooleanConstant
class  FormatForComparison
class  FormatForComparison< ToPrint[N], OtherOperand >
class  UniversalPrinter
class  UniversalPrinter< T[N]>
class  UniversalPrinter< T & >
class  UniversalTersePrinter
class  UniversalTersePrinter< T & >
class  UniversalTersePrinter< T[N]>
class  UniversalTersePrinter< const char * >
class  UniversalTersePrinter< char * >
class  UniversalTersePrinter< wchar_t * >
struct  TuplePolicy
class  SingleFailureChecker
class  HasNewFatalFailureHelper
class  EqHelper
class  EqHelper< true >
class  AssertHelper
class  FilePath
class  ScopedTrace
class  FloatingPoint
class  TypeIdHelper
class  TestFactoryBase
class  TestFactoryImpl
struct  CodeLocation
struct  ConstCharPtr
class  Random
struct  CompileAssertTypesEqual
struct  CompileAssertTypesEqual< T, T >
struct  RemoveReference
struct  RemoveReference< T & >
struct  RemoveConst
struct  RemoveConst< const T >
struct  RemoveConst< const T[N]>
struct  AddReference
struct  AddReference< T & >
class  ImplicitlyConvertible
struct  IsAProtocolMessage
struct  EnableIf
struct  EnableIf< true >
struct  RelationToSourceReference
struct  RelationToSourceCopy
class  NativeArray
class  linked_ptr_internal
class  linked_ptr
struct  CompileAssert
struct  StaticAssertTypeEqHelper
struct  StaticAssertTypeEqHelper< T, T >
class  scoped_ptr
class  RE
class  GTestLog
class  Mutex
class  GTestMutexLock
class  ThreadLocal
struct  bool_constant
struct  is_pointer
struct  is_pointer< T * >
struct  IteratorTraits
struct  IteratorTraits< T * >
struct  IteratorTraits< const T * >
class  TypeWithSize
class  TypeWithSize< 4 >
class  TypeWithSize< 8 >
class  String
class  GTestFlagSaver
class  TestPropertyKeyIs
class  UnitTestOptions
class  OsStackTraceGetterInterface
class  OsStackTraceGetter
struct  TraceInfo
class  DefaultGlobalTestPartResultReporter
class  DefaultPerThreadTestPartResultReporter
class  UnitTestImpl
class  TestResultAccessor

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 ::std::wstring wstring
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  GTestLogSeverity {
  GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL ,
  GTEST_INFO , GTEST_WARNING , GTEST_ERROR , GTEST_FATAL
}

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_ (wchar_t, 0U)
 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< M > MakePredicateFormatterFromMatcher (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_ (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 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 ()
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_ void CaptureStdout ()
GTEST_API_ std::string GetCapturedStdout ()
GTEST_API_ void CaptureStderr ()
GTEST_API_ std::string GetCapturedStderr ()
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_API_ TimeInMillis GetTimeInMillis ()
GTEST_API_ bool ShouldUseColor (bool stdout_is_tty)
GTEST_API_ std::string FormatTimeInMillisAsSeconds (TimeInMillis ms)
GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms)
GTEST_API_ bool ParseInt32Flag (const char *str, const char *flag, Int32 *value)
int GetRandomSeedFromFlag (Int32 random_seed_flag)
int GetNextRandomSeed (int seed)
GTEST_API_ std::string CodePointToUtf8 (UInt32 code_point)
GTEST_API_ std::string WideStringToUtf8 (const wchar_t *str, int num_chars)
void WriteToShardStatusFileIfNeeded ()
GTEST_API_ bool ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test)
GTEST_API_ Int32 Int32FromEnvOrDie (const char *env_var, Int32 default_val)
GTEST_API_ bool ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
template<class Container, typename Predicate>
int CountIf (const Container &c, Predicate predicate)
template<class Container, typename Functor>
void ForEach (const Container &c, Functor functor)
template<typename E>
GetElementOr (const std::vector< E > &v, int i, E default_value)
template<typename E>
void ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v)
template<typename E>
void Shuffle (internal::Random *random, std::vector< E > *v)
GTEST_API_ FilePath GetCurrentExecutableName ()
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, char **argv)
GTEST_API_ void ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)

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 []
class GTEST_API_ testing::internal::ScopedTrace GTEST_ATTRIBUTE_UNUSED_
template<typename T>
bool TypeIdHelper< T >::dummy_ = false
template<typename From, typename To>
const bool ImplicitlyConvertible< From, To >::value
template<bool bool_value>
const bool bool_constant< bool_value >::value
const BiggestInt kMaxBiggestInt
GTEST_API_ const TypeId kTestTypeIdInGoogleTest
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

Typedef Documentation

◆ BiggestInt

typedef long long testing::internal::BiggestInt

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

◆ Double

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

◆ ElementMatcherPair

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

Definition at line 3297 of file gmock-matchers.h.

◆ ElementMatcherPairs

Definition at line 3298 of file gmock-matchers.h.

◆ false_type

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

◆ Float

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

◆ Int32

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

◆ Int64

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

◆ IsContainer

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

◆ IsNotContainer

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

◆ MutexLock

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

◆ SetUpTestCaseFunc

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

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

◆ string

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

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

◆ Strings

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

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

◆ TearDownTestCaseFunc

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

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

◆ TimeInMillis

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

◆ true_type

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

◆ TypeId

typedef const void * testing::internal::TypeId

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

◆ UInt32

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

◆ UInt64

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

◆ wstring

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

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

Enumeration Type Documentation

◆ CallReaction

Enumerator
kAllow 
kWarn 
kFail 
kDefault 

Definition at line 361 of file gmock-spec-builders.h.

361 {
362 kAllow,
363 kWarn,
364 kFail,
365 kDefault = kWarn // By default, warn about uninteresting calls.
366};

◆ GTestLogSeverity [1/2]

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

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

◆ GTestLogSeverity [2/2]

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

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

1245 {
1246 GTEST_INFO,
1250};

◆ LogSeverity

Enumerator
kInfo 
kWarning 

Definition at line 306 of file gmock-internal-utils.h.

◆ TypeKind

Enumerator
kBool 
kInteger 
kFloatingPoint 
kOther 

Definition at line 126 of file gmock-internal-utils.h.

Function Documentation

◆ AlwaysFalse()

bool testing::internal::AlwaysFalse ( )
inline

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

736{ return !AlwaysTrue(); }
GTEST_API_ bool AlwaysTrue()
Here is the call graph for this function:

◆ AlwaysTrue()

GTEST_API_ bool testing::internal::AlwaysTrue ( )
Here is the caller graph for this function:

◆ AppendUserMessage()

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

◆ ArrayAwareFind()

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

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

983 {
984 for (Iter it = begin; it != end; ++it) {
985 if (internal::ArrayEq(*it, elem))
986 return it;
987 }
988 return end;
989}
bool ArrayEq(const T *lhs, size_t size, const U *rhs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ArrayEq() [1/3]

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

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

960{ return lhs == rhs; }

◆ ArrayEq() [2/3]

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

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

972 {
973 for (size_t i = 0; i != size; i++) {
974 if (!internal::ArrayEq(lhs[i], rhs[i]))
975 return false;
976 }
977 return true;
978}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ArrayEq() [3/3]

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

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

964 {
965 return internal::ArrayEq(lhs, N, rhs);
966}
Here is the call graph for this function:

◆ Assert()

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

Definition at line 288 of file gmock-internal-utils.h.

288 {
289 Assert(condition, file, line, "Assertion failed.");
290}
void Assert(bool condition, const char *file, int line)
Here is the caller graph for this function:

◆ BoolFromGTestEnv()

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

◆ CaptureStderr()

GTEST_API_ void testing::internal::CaptureStderr ( )

◆ CaptureStdout()

GTEST_API_ void testing::internal::CaptureStdout ( )

◆ CaseInsensitiveCStringEquals() [1/2]

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

Definition at line 1090 of file gmock-matchers.h.

1090 {
1091 return String::CaseInsensitiveCStringEquals(lhs, rhs);
1092}
static bool CaseInsensitiveCStringEquals(const char *lhs, const char *rhs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CaseInsensitiveCStringEquals() [2/2]

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

Definition at line 1094 of file gmock-matchers.h.

1095 {
1097}
static bool CaseInsensitiveWideCStringEquals(const wchar_t *lhs, const wchar_t *rhs)
Here is the call graph for this function:

◆ CaseInsensitiveStringEquals()

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

Definition at line 1102 of file gmock-matchers.h.

1103 {
1104 // Are the heads equal?
1105 if (!CaseInsensitiveCStringEquals(s1.c_str(), s2.c_str())) {
1106 return false;
1107 }
1108
1109 // Skip the equal heads.
1110 const typename StringType::value_type nul = 0;
1111 const size_t i1 = s1.find(nul), i2 = s2.find(nul);
1112
1113 // Are we at the end of either s1 or s2?
1114 if (i1 == StringType::npos || i2 == StringType::npos) {
1115 return i1 == i2;
1116 }
1117
1118 // Are the tails equal?
1119 return CaseInsensitiveStringEquals(s1.substr(i1 + 1), s2.substr(i2 + 1));
1120}
bool CaseInsensitiveStringEquals(const StringType &s1, const StringType &s2)
bool CaseInsensitiveCStringEquals(const char *lhs, const char *rhs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckedDowncastToActualType()

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

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

1392 {
1393#if GTEST_HAS_RTTI
1394 GTEST_CHECK_(typeid(*base) == typeid(Derived));
1395#endif
1396
1397#if GTEST_HAS_DOWNCAST_
1398 return ::down_cast<Derived*>(base);
1399#elif GTEST_HAS_RTTI
1400 return dynamic_cast<Derived*>(base); // NOLINT
1401#else
1402 return static_cast<Derived*>(base); // Poor man's downcast.
1403#endif
1404}
#define GTEST_CHECK_(condition)

◆ CmpHelperEQ() [1/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperEQ ( const char * lhs_expression,
const char * rhs_expression,
BiggestInt lhs,
BiggestInt rhs )
Here is the call graph for this function:

◆ CmpHelperEQ() [2/2]

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

Definition at line 1387 of file gtest.h.

1390 {
1391GTEST_DISABLE_MSC_WARNINGS_PUSH_(4389 /* signed/unsigned mismatch */)
1392 if (lhs == rhs) {
1393 return AssertionSuccess();
1394 }
1396
1397 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs);
1398}
else if(0==res)
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
Definition gtest-port.h:317
#define GTEST_DISABLE_MSC_WARNINGS_POP_()
Definition gtest-port.h:318
AssertionResult CmpHelperEQFailure(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition gtest.h:1375
GTEST_API_ AssertionResult AssertionSuccess()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperEQFailure()

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

Definition at line 1375 of file gtest.h.

1377 {
1378 return EqFailure(lhs_expression,
1379 rhs_expression,
1382 false);
1383}
std::string FormatForComparisonFailureMessage(const T1 &value, const T2 &)
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)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperFloatingPointEQ()

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

Definition at line 1631 of file gtest.h.

1634 {
1635 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value);
1636
1637 if (lhs.AlmostEquals(rhs)) {
1638 return AssertionSuccess();
1639 }
1640
1641 ::std::stringstream lhs_ss;
1642 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1643 << lhs_value;
1644
1645 ::std::stringstream rhs_ss;
1646 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1647 << rhs_value;
1648
1649 return EqFailure(lhs_expression,
1650 rhs_expression,
1651 StringStreamToString(&lhs_ss),
1652 StringStreamToString(&rhs_ss),
1653 false);
1654}
GTEST_API_ std::string StringStreamToString(::std::stringstream *stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperOpFailure()

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

Definition at line 1486 of file gtest.h.

1488 {
1489 return AssertionFailure()
1490 << "Expected: (" << expr1 << ") " << op << " (" << expr2
1491 << "), actual: " << FormatForComparisonFailureMessage(val1, val2)
1492 << " vs " << FormatForComparisonFailureMessage(val2, val1);
1493}
GTEST_API_ AssertionResult AssertionFailure()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperSTRCASEEQ()

GTEST_API_ AssertionResult testing::internal::CmpHelperSTRCASEEQ ( const char * s1_expression,
const char * s2_expression,
const char * s1,
const char * s2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperSTRCASENE()

GTEST_API_ AssertionResult testing::internal::CmpHelperSTRCASENE ( const char * s1_expression,
const char * s2_expression,
const char * s1,
const char * s2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperSTREQ() [1/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperSTREQ ( const char * s1_expression,
const char * s2_expression,
const char * s1,
const char * s2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperSTREQ() [2/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperSTREQ ( const char * s1_expression,
const char * s2_expression,
const wchar_t * s1,
const wchar_t * s2 )
Here is the call graph for this function:

◆ CmpHelperSTRNE() [1/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperSTRNE ( const char * s1_expression,
const char * s2_expression,
const char * s1,
const char * s2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CmpHelperSTRNE() [2/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperSTRNE ( const char * s1_expression,
const char * s2_expression,
const wchar_t * s1,
const wchar_t * s2 )
Here is the call graph for this function:

◆ CodePointToUtf8()

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

◆ 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

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

1000{ *to = from; }

◆ CopyArray() [2/3]

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

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

1012 {
1013 for (size_t i = 0; i != size; i++) {
1014 internal::CopyArray(from[i], to + i);
1015 }
1016}
void CopyArray(const T *from, size_t size, U *to)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyArray() [3/3]

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

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

1004 {
1005 internal::CopyArray(from, N, *to);
1006}
Here is the call graph for this function:

◆ CopyElements()

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

Definition at line 98 of file gmock-more-actions.h.

100 {
101 for (; first != last; ++first, ++output) {
102 *output = *first;
103 }
104 return output;
105}
Here is the caller graph for this function:

◆ CountIf()

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

Definition at line 283 of file gtest-internal-inl.h.

283 {
284 // Implemented as an explicit loop since std::count_if() in libCstd on
285 // Solaris has a non-standard signature.
286 int count = 0;
287 for (typename Container::const_iterator it = c.begin(); it != c.end(); ++it) {
288 if (predicate(*it))
289 ++count;
290 }
291 return count;
292}

◆ DefaultPrintTo() [1/3]

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

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

372 {
373 const size_t kMaxCount = 32; // The maximum number of elements to print.
374 *os << '{';
375 size_t count = 0;
376 for (typename C::const_iterator it = container.begin();
377 it != container.end(); ++it, ++count) {
378 if (count > 0) {
379 *os << ',';
380 if (count == kMaxCount) { // Enough has been printed.
381 *os << " ...";
382 break;
383 }
384 }
385 *os << ' ';
386 // We cannot call PrintTo(*it, os) here as PrintTo() doesn't
387 // handle *it being a native array.
389 }
390
391 if (count > 0) {
392 *os << ' ';
393 }
394 *os << '}';
395}
void UniversalPrint(const T &value, ::std::ostream *os)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DefaultPrintTo() [2/3]

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

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

438 {
440}
const bool ImplicitlyConvertible< From, To >::value
void DefaultPrintNonContainerTo(const T &value, ::std::ostream *os)
Here is the call graph for this function:

◆ DefaultPrintTo() [3/3]

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

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

406 {
407 if (p == NULL) {
408 *os << "NULL";
409 } else {
410 // C++ doesn't allow casting from a function pointer to any object
411 // pointer.
412 //
413 // IsTrue() silences warnings: "Condition is always true",
414 // "unreachable code".
416 // T is not a function type. We just call << to print p,
417 // relying on ADL to pick up user-defined << for their pointer
418 // types, if any.
419 *os << p;
420 } else {
421 // T is a function type, so '*os << p' doesn't do what we want
422 // (it just prints p as bool). We want to print p as a const
423 // void*. However, we cannot cast it to const void* directly,
424 // even using reinterpret_cast, as earlier versions of gcc
425 // (e.g. 3.4.5) cannot compile the cast when p is a function
426 // pointer. Casting to UInt64 first solves the problem.
427 *os << reinterpret_cast<const void*>(
428 reinterpret_cast<internal::UInt64>(p));
429 }
430 }
431}
GTEST_API_ bool IsTrue(bool condition)
TypeWithSize< 8 >::UInt UInt64
Here is the call graph for this function:

◆ DiffStrings()

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

◆ DoubleNearPredFormat()

GTEST_API_ AssertionResult testing::internal::DoubleNearPredFormat ( const char * expr1,
const char * expr2,
const char * abs_error_expr,
double val1,
double val2,
double abs_error )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DownCast_()

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

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

1367 { // so we only accept pointers
1368 // Ensures that To is a sub-type of From *. This test is here only
1369 // for compile-time type checking, and has no overhead in an
1370 // optimized build at run-time, as it will be optimized away
1371 // completely.
1373 if (false) {
1375 const To to = NULL;
1376 ::testing::internal::ImplicitCast_<From*>(to);
1377 }
1378
1379#if GTEST_HAS_RTTI
1380 // RTTI: debug mode only!
1381 GTEST_CHECK_(f == NULL || dynamic_cast<To>(f) != NULL);
1382#endif
1383 return static_cast<To>(f);
1384}
#define GTEST_INTENTIONAL_CONST_COND_PUSH_()
Definition gtest-port.h:897
#define GTEST_INTENTIONAL_CONST_COND_POP_()
Definition gtest-port.h:899
To ImplicitCast_(To x)
#define false
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EqFailure()

GTEST_API_ AssertionResult testing::internal::EqFailure ( const char * expected_expression,
const char * actual_expression,
const std::string & expected_value,
const std::string & actual_value,
bool ignoring_case )
Here is the caller graph for this function:

◆ Expect() [1/2]

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

Definition at line 301 of file gmock-internal-utils.h.

301 {
302 Expect(condition, file, line, "Expectation failed.");
303}
void Expect(bool condition, const char *file, int line, const string &msg)
Here is the call graph for this function:

◆ Expect() [2/2]

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

Definition at line 294 of file gmock-internal-utils.h.

295 {
296 if (!condition) {
297 GetFailureReporter()->ReportFailure(FailureReporterInterface::kNonfatal,
298 file, line, msg);
299 }
300}
Here is the caller graph for this function:

◆ ExplainMatchFailureTupleTo()

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

Definition at line 810 of file gmock-matchers.h.

812 {
813 TuplePrefix<tuple_size<MatcherTuple>::value>::ExplainMatchFailuresTo(
814 matchers, values, os);
815}

◆ FindMaxBipartiteMatching()

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

◆ FindPairing()

GTEST_API_ bool testing::internal::FindPairing ( const MatchMatrix & matrix,
MatchResultListener * listener )
Here is the caller graph for this function:

◆ FlushInfoLog()

void testing::internal::FlushInfoLog ( )
inline

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

1276{ fflush(NULL); }

◆ ForEach()

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

Definition at line 296 of file gtest-internal-inl.h.

296 {
297 std::for_each(c.begin(), c.end(), functor);
298}
Here is the caller graph for this function:

◆ FormatCompilerIndependentFileLocation()

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

◆ FormatEpochTimeInMillisAsIso8601()

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

◆ FormatFileLocation()

GTEST_API_::std::string testing::internal::FormatFileLocation ( const char * file,
int line )
Here is the caller graph for this function:

◆ FormatForComparisonFailureMessage()

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

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

350 {
352}
::std::string Format(const ToPrint &value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FormatMatcherDescription()

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

◆ FormatTimeInMillisAsSeconds()

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

◆ GetArgvs()

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

◆ GetBoolAssertionFailureMessage()

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

◆ GetCapturedStderr()

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

◆ GetCapturedStdout()

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

◆ GetCurrentExecutableName()

GTEST_API_ FilePath testing::internal::GetCurrentExecutableName ( )

◆ GetCurrentOsStackTraceExceptTop()

GTEST_API_ 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

Definition at line 303 of file gtest-internal-inl.h.

303 {
304 return (i < 0 || i >= static_cast<int>(v.size())) ? default_value : v[i];
305}
Here is the caller graph for this function:

◆ GetFileSize()

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

◆ GetNextRandomSeed()

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

Definition at line 152 of file gtest-internal-inl.h.

152 {
153 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed)
154 << "Invalid random seed " << seed << " - must be in [1, "
155 << kMaxRandomSeed << "].";
156 const int next_seed = seed + 1;
157 return (next_seed > kMaxRandomSeed) ? 1 : next_seed;
158}

◆ GetRandomSeedFromFlag()

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

Definition at line 136 of file gtest-internal-inl.h.

136 {
137 const unsigned int raw_seed = (random_seed_flag == 0) ?
138 static_cast<unsigned int>(GetTimeInMillis()) :
139 static_cast<unsigned int>(random_seed_flag);
140
141 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that
142 // it's easy to type.
143 const int normalized_seed =
144 static_cast<int>((raw_seed - 1U) %
145 static_cast<unsigned int>(kMaxRandomSeed)) + 1;
146 return normalized_seed;
147}
GTEST_API_ TimeInMillis GetTimeInMillis()
Here is the call graph for this function:

◆ GetRawPointer() [1/2]

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

Definition at line 76 of file gmock-internal-utils.h.

76 {
77 return p.get();
78}
Here is the caller graph for this function:

◆ GetRawPointer() [2/2]

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

Definition at line 81 of file gmock-internal-utils.h.

81{ return p; }

◆ GetTestTypeId()

GTEST_API_ TypeId testing::internal::GetTestTypeId ( )

◆ GetThreadCount()

GTEST_API_ size_t testing::internal::GetThreadCount ( )

◆ GetTimeInMillis()

GTEST_API_ TimeInMillis testing::internal::GetTimeInMillis ( )
Here is the caller graph for this function:

◆ GetTypeId()

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

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

447 {
448 // The compiler is required to allocate a different
449 // TypeIdHelper<T>::dummy_ variable for each T used to instantiate
450 // the template. Therefore, the address of dummy_ is guaranteed to
451 // be unique.
452 return &(TypeIdHelper<T>::dummy_);
453}

◆ GetTypeName()

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

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

64 {
65# if GTEST_HAS_RTTI
66
67 const char* const name = typeid(T).name();
68# if GTEST_HAS_CXXABI_H_ || defined(__HP_aCC)
69 int status = 0;
70 // gcc's implementation of typeid(T).name() mangles the type name,
71 // so we have to demangle it.
72# if GTEST_HAS_CXXABI_H_
73 using abi::__cxa_demangle;
74# endif // GTEST_HAS_CXXABI_H_
75 char* const readable_name = __cxa_demangle(name, 0, 0, &status);
76 const std::string name_str(status == 0 ? readable_name : name);
77 free(readable_name);
78 return name_str;
79# else
80 return name;
81# endif // GTEST_HAS_CXXABI_H_ || __HP_aCC
82
83# else
84
85 return "<type>";
86
87# endif // GTEST_HAS_RTTI
88}
#define T(x)
Here is the caller graph for this function:

◆ GetUnitTestImpl()

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

Definition at line 927 of file gtest-internal-inl.h.

927 {
928 return UnitTest::GetInstance()->impl();
929}
static UnitTest * GetInstance()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GMOCK_DECLARE_KIND_() [1/16]

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

◆ GMOCK_DECLARE_KIND_() [2/16]

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

◆ GMOCK_DECLARE_KIND_() [3/16]

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

◆ GMOCK_DECLARE_KIND_() [4/16]

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

◆ GMOCK_DECLARE_KIND_() [5/16]

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

◆ GMOCK_DECLARE_KIND_() [6/16]

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

◆ GMOCK_DECLARE_KIND_() [7/16]

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

◆ GMOCK_DECLARE_KIND_() [8/16]

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

◆ GMOCK_DECLARE_KIND_() [9/16]

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

◆ GMOCK_DECLARE_KIND_() [10/16]

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

◆ GMOCK_DECLARE_KIND_() [11/16]

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

◆ GMOCK_DECLARE_KIND_() [12/16]

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

◆ GMOCK_DECLARE_KIND_() [13/16]

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

◆ GMOCK_DECLARE_KIND_() [14/16]

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

◆ GMOCK_DECLARE_KIND_() [15/16]

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

◆ GMOCK_DECLARE_KIND_() [16/16]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [1/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [2/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [3/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [4/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [5/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [6/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [7/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [8/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [9/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [10/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [11/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [12/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [13/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [14/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [15/17]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [16/17]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( void )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [17/17]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( wchar_t ,
0U  )

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

◆ ImplicitCast_()

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

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

1343{ return x; }
Here is the caller graph for this function:

◆ Int32FromEnvOrDie()

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

◆ Int32FromGTestEnv()

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

◆ Invalid()

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

Definition at line 377 of file gmock-internal-utils.h.

377 {
378 Assert(false, "", -1, "Internal error: attempt to return invalid value");
379 // This statement is unreachable, and would never terminate even if it
380 // could be reached. It is provided only to placate compiler warnings
381 // about missing return statements.
382 return Invalid<T>();
383}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsAlNum()

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

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

2254 {
2255 return isalnum(static_cast<unsigned char>(ch)) != 0;
2256}

◆ IsAlpha()

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

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

2251 {
2252 return isalpha(static_cast<unsigned char>(ch)) != 0;
2253}

◆ IsContainerTest() [1/2]

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

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

934 {
935 return 0;
936}
Here is the caller graph for this function:

◆ IsContainerTest() [2/2]

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

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

940{ return '\0'; }

◆ IsDigit()

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

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

2257 {
2258 return isdigit(static_cast<unsigned char>(ch)) != 0;
2259}
Here is the caller graph for this function:

◆ IsLower()

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

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

2260 {
2261 return islower(static_cast<unsigned char>(ch)) != 0;
2262}

◆ IsNullLiteralHelper() [1/2]

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

◆ IsNullLiteralHelper() [2/2]

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

◆ IsReadableTypeName()

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

Definition at line 688 of file gmock-matchers.h.

688 {
689 // We consider a type name readable if it's short or doesn't contain
690 // a template or function type.
691 return (type_name.length() <= 20 ||
692 type_name.find_first_of("<(") == string::npos);
693}
Here is the caller graph for this function:

◆ IsSpace()

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

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

2263 {
2264 return isspace(static_cast<unsigned char>(ch)) != 0;
2265}
Here is the caller graph for this function:

◆ IsTrue()

GTEST_API_ bool testing::internal::IsTrue ( bool condition)
Here is the caller graph for this function:

◆ IsUpper()

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

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

2266 {
2267 return isupper(static_cast<unsigned char>(ch)) != 0;
2268}

◆ IsXDigit() [1/2]

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

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

2269 {
2270 return isxdigit(static_cast<unsigned char>(ch)) != 0;
2271}

◆ IsXDigit() [2/2]

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

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

2272 {
2273 const unsigned char low_byte = static_cast<unsigned char>(ch);
2274 return ch == low_byte && isxdigit(low_byte) != 0;
2275}

◆ Log()

GTEST_API_ void testing::internal::Log ( LogSeverity severity,
const string & message,
int stack_frames_to_skip )
Here is the call graph for this function:

◆ LogIsVisible()

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

◆ LogToStderr()

void testing::internal::LogToStderr ( )
inline

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

1275{}

◆ LogWithLocation()

GTEST_API_ void testing::internal::LogWithLocation ( testing::internal::LogSeverity severity,
const char * file,
int line,
const string & message )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_linked_ptr()

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

Definition at line 236 of file gtest-linked_ptr.h.

◆ MakeAndRegisterTestInfo()

GTEST_API_ 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 )
Here is the caller graph for this function:

◆ MakePredicateFormatterFromMatcher()

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

Definition at line 1879 of file gmock-matchers.h.

Here is the call graph for this function:

◆ MatcherBindSecond()

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

Definition at line 3612 of file gmock-matchers.h.

Here is the caller graph for this function:

◆ MatchPrintAndExplain()

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

Definition at line 701 of file gmock-matchers.h.

702 {
703 if (!listener->IsInterested()) {
704 // If the listener is not interested, we do not need to construct the
705 // inner explanation.
706 return matcher.Matches(value);
707 }
708
709 StringMatchResultListener inner_listener;
710 const bool match = matcher.MatchAndExplain(value, &inner_listener);
711
712 UniversalPrint(value, listener->stream());
713#if GTEST_HAS_RTTI
714 const string& type_name = GetTypeName<Value>();
715 if (IsReadableTypeName(type_name))
716 *listener->stream() << " (of type " << type_name << ")";
717#endif
718 PrintIfNotEmpty(inner_listener.str(), listener->stream());
719
720 return match;
721}
bool MatchAndExplain(T x, MatchResultListener *listener) const
bool IsReadableTypeName(const string &type_name)
std::string GetTypeName()
void PrintIfNotEmpty(const internal::string &explanation, ::std::ostream *os)
const GenericPointer< typename T::ValueType > T2 value
Definition pointer.h:1225
Here is the call graph for this function:
Here is the caller graph for this function:

◆ move()

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

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

1317 {
1318 return t;
1319}
Here is the caller graph for this function:

◆ operator!=()

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

Definition at line 228 of file gtest-linked_ptr.h.

228 {
229 return ptr != x.get();
230}
Here is the call graph for this function:

◆ operator==()

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

Definition at line 223 of file gtest-linked_ptr.h.

223 {
224 return ptr == x.get();
225}
Here is the call graph for this function:

◆ ParseGoogleTestFlagsOnly() [1/2]

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

◆ ParseGoogleTestFlagsOnly() [2/2]

GTEST_API_ void testing::internal::ParseGoogleTestFlagsOnly ( int * argc,
wchar_t ** argv )
Here is the call graph for this function:

◆ ParseInt32()

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

◆ ParseInt32Flag()

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

◆ PrintIfNotEmpty()

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

Definition at line 678 of file gmock-matchers.h.

679 {
680 if (explanation != "" && os != NULL) {
681 *os << ", " << explanation;
682 }
683}
Here is the caller graph for this function:

◆ PrintRawArrayTo()

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

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

548 {
549 UniversalPrint(a[0], os);
550 for (size_t i = 1; i != count; i++) {
551 *os << ", ";
552 UniversalPrint(a[i], os);
553 }
554}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1124
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintStringTo()

GTEST_API_ void testing::internal::PrintStringTo ( const ::std::string & s,
::std::ostream * os )
Here is the caller graph for this function:

◆ PrintTo() [1/17]

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

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

495 {
496 *os << (x ? "true" : "false");
497}

◆ PrintTo() [2/17]

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

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

510 {
512}
void PrintTo(const ReferenceWrapper< T > &ref, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [3/17]

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

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

487 {
488 // When printing a plain char, we always treat it as unsigned. This
489 // way, the output won't be affected by whether the compiler thinks
490 // char is signed or not.
491 PrintTo(static_cast<unsigned char>(c), os);
492}
Here is the call graph for this function:

◆ PrintTo() [4/17]

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

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

676 {
677 *os << '(';
678 // We cannot use UniversalPrint(value.first, os) here, as T1 may be
679 // a reference type. The same for printing value.second.
681 *os << ", ";
683 *os << ')';
684}
static void Print(const T &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [5/17]

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

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

565 {
566 PrintStringTo(s, os);
567}
GTEST_API_ void PrintStringTo(const ::std::string &s, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [6/17]

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

◆ PrintTo() [7/17]

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

Definition at line 964 of file gmock-actions.h.

964 {
965 T& value = ref;
967}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintTo() [8/17]

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

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

516 {
518}
Here is the call graph for this function:

◆ PrintTo() [9/17]

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

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

454 {
455 // DefaultPrintTo() is overloaded. The type of its first two
456 // arguments determine which version will be picked. If T is an
457 // STL-style container, the version for container will be called; if
458 // T is a pointer, the pointer version will be called; otherwise the
459 // generic version will be called.
460 //
461 // Note that we check for container types here, prior to we check
462 // for protocol message types in our operator<<. The rationale is:
463 //
464 // For protocol messages, we want to give people a chance to
465 // override Google Mock's format by defining a PrintTo() or
466 // operator<<. For STL containers, other formats can be
467 // incompatible with Google Mock's format for the container
468 // elements; therefore we check for container types here to ensure
469 // that our format is used.
470 //
471 // The second argument of DefaultPrintTo() is needed to bypass a bug
472 // in Symbian's C++ compiler that prevents it from picking the right
473 // overload between:
474 //
475 // PrintTo(const T& x, ...);
476 // PrintTo(T* x, ...);
478}
void DefaultPrintTo(IsContainer, false_type, const C &container, ::std::ostream *os)
IsContainer IsContainerTest(int, typename C::iterator *=NULL, typename C::const_iterator *=NULL)
Here is the call graph for this function:

◆ PrintTo() [10/17]

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

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

522 {
524}
Here is the call graph for this function:

◆ PrintTo() [11/17]

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

◆ PrintTo() [12/17]

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

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

519 {
521}
Here is the call graph for this function:

◆ PrintTo() [13/17]

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

◆ PrintTo() [14/17]

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

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

525 {
527}
Here is the call graph for this function:

◆ PrintTo() [15/17]

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

◆ PrintTo() [16/17]

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

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

537 {
539}
Here is the call graph for this function:

◆ PrintTo() [17/17]

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

◆ ReadEntireFile()

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

◆ ReportFailureInUnknownLocation()

void testing::internal::ReportFailureInUnknownLocation ( TestPartResult::Type result_type,
const std::string & message )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReportUninterestingCall()

void testing::internal::ReportUninterestingCall ( CallReaction reaction,
const string & msg )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShouldRunTestOnShard()

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

◆ ShouldShard()

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

◆ ShouldUseColor()

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

◆ Shuffle()

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

Definition at line 333 of file gtest-internal-inl.h.

333 {
334 ShuffleRange(random, 0, static_cast<int>(v->size()), v);
335}
void ShuffleRange(internal::Random *random, int begin, int end, std::vector< E > *v)
uint64_t random(const uint64_t max_value)
Here is the call graph for this function:

◆ ShuffleRange()

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

Definition at line 312 of file gtest-internal-inl.h.

313 {
314 const int size = static_cast<int>(v->size());
315 GTEST_CHECK_(0 <= begin && begin <= size)
316 << "Invalid shuffle range start " << begin << ": must be in range [0, "
317 << size << "].";
318 GTEST_CHECK_(begin <= end && end <= size)
319 << "Invalid shuffle range finish " << end << ": must be in range ["
320 << begin << ", " << size << "].";
321
322 // Fisher-Yates shuffle, from
323 // http://en.wikipedia.org/wiki/Fisher-Yates_shuffle
324 for (int range_width = end - begin; range_width >= 2; range_width--) {
325 const int last_in_range = begin + range_width - 1;
326 const int selected = begin + random->Generate(range_width);
327 std::swap((*v)[selected], (*v)[last_in_range]);
328 }
329}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SkipPrefix()

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

◆ StreamableToString()

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

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

243 {
244 return (Message() << streamable).GetString();
245}

◆ StringFromGTestEnv()

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

◆ StringStreamToString()

GTEST_API_ std::string testing::internal::StringStreamToString ( ::std::stringstream * stream)
Here is the caller graph for this function:

◆ StripTrailingSpaces()

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

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

2284 {
2285 std::string::iterator it = str.end();
2286 while (it != str.begin() && IsSpace(*--it))
2287 it = str.erase(it);
2288 return str;
2289}
bool IsSpace(char ch)
Here is the call graph for this function:

◆ TempDir()

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

◆ ToLower()

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

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

2277 {
2278 return static_cast<char>(tolower(static_cast<unsigned char>(ch)));
2279}

◆ ToUpper()

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

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

2280 {
2281 return static_cast<char>(toupper(static_cast<unsigned char>(ch)));
2282}

◆ TransformTupleValues()

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

Definition at line 853 of file gmock-matchers.h.

853 {
855}
static OutIter Run(Func f, const Tuple &t, OutIter out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TupleMatches()

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

Definition at line 796 of file gmock-matchers.h.

797 {
798 // Makes sure that matcher_tuple and value_tuple have the same
799 // number of fields.
800 GTEST_COMPILE_ASSERT_(tuple_size<MatcherTuple>::value ==
801 tuple_size<ValueTuple>::value,
802 matcher_and_value_have_different_numbers_of_fields);
804 Matches(matcher_tuple, value_tuple);
805}
#define GTEST_COMPILE_ASSERT_(expr, msg)
internal::MatcherAsPredicate< M > Matches(M matcher)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UniversalPrint()

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

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

852 {
853 // A workarond for the bug in VC++ 7.1 that prevents us from instantiating
854 // UniversalPrinter with T directly.
855 typedef T T1;
857}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UniversalPrintArray() [1/3]

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

◆ UniversalPrintArray() [2/3]

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

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

716 {
717 if (len == 0) {
718 *os << "{}";
719 } else {
720 *os << "{ ";
721 const size_t kThreshold = 18;
722 const size_t kChunkSize = 8;
723 // If the array has more than kThreshold elements, we'll have to
724 // omit some details by printing only the first and the last
725 // kChunkSize elements.
726 // TODO(wan@google.com): let the user control the threshold using a flag.
727 if (len <= kThreshold) {
728 PrintRawArrayTo(begin, len, os);
729 } else {
730 PrintRawArrayTo(begin, kChunkSize, os);
731 *os << ", ..., ";
732 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os);
733 }
734 *os << " }";
735 }
736}
void PrintRawArrayTo(const T a[], size_t count, ::std::ostream *os)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UniversalPrintArray() [3/3]

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

◆ UniversalTersePrint()

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

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

843 {
845}
static void Print(const T &value, ::std::ostream *os)
Here is the call graph for this function:

◆ WideStringToUtf8()

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

◆ WriteToShardStatusFileIfNeeded()

void testing::internal::WriteToShardStatusFileIfNeeded ( )

Variable Documentation

◆ bool_constant< bool_value >::value

template<bool bool_value>
const bool testing::internal::bool_constant< bool_value >::value

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

◆ g_gmock_implicit_sequence

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

◆ g_help_flag

GTEST_API_ bool testing::internal::g_help_flag
extern

Definition at line 110 of file gtest-internal-inl.h.

◆ GTEST_ATTRIBUTE_UNUSED_

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

◆ ImplicitlyConvertible< From, To >::value

template<typename From, typename To>
const bool testing::internal::ImplicitlyConvertible< From, To >::value

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

◆ kAlsoRunDisabledTestsFlag

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

Definition at line 89 of file gtest-internal-inl.h.

◆ kBreakOnFailureFlag

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

Definition at line 90 of file gtest-internal-inl.h.

◆ kCatchExceptionsFlag

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

Definition at line 91 of file gtest-internal-inl.h.

◆ kColorFlag

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

Definition at line 92 of file gtest-internal-inl.h.

◆ kDeathTestStyleFlag

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

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

◆ kDeathTestUseFork

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

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

◆ kErrorVerbosity

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

Definition at line 318 of file gmock-internal-utils.h.

◆ kFilterFlag

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

Definition at line 93 of file gtest-internal-inl.h.

◆ kFlagfileFlag

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

Definition at line 103 of file gtest-internal-inl.h.

◆ kInfoVerbosity

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

Definition at line 314 of file gmock-internal-utils.h.

◆ kInternalRunDeathTestFlag

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

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

◆ kListTestsFlag

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

Definition at line 94 of file gtest-internal-inl.h.

◆ kMaxBiggestInt

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

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

◆ kMaxRandomSeed

const int testing::internal::kMaxRandomSeed = 99999

Definition at line 106 of file gtest-internal-inl.h.

◆ kOutputFlag

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

Definition at line 95 of file gtest-internal-inl.h.

◆ kPrintTimeFlag

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

Definition at line 96 of file gtest-internal-inl.h.

◆ kRandomSeedFlag

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

Definition at line 97 of file gtest-internal-inl.h.

◆ kRepeatFlag

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

Definition at line 98 of file gtest-internal-inl.h.

◆ kShuffleFlag

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

Definition at line 99 of file gtest-internal-inl.h.

◆ kStackTraceDepthFlag

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

Definition at line 100 of file gtest-internal-inl.h.

◆ kStackTraceMarker

GTEST_API_ const char testing::internal::kStackTraceMarker
extern

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

◆ kStreamResultToFlag

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

Definition at line 101 of file gtest-internal-inl.h.

◆ kTestTypeIdInGoogleTest

GTEST_API_ const TypeId testing::internal::kTestTypeIdInGoogleTest
extern

Definition at line 86 of file gtest-internal-inl.h.

◆ kThrowOnFailureFlag

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

Definition at line 102 of file gtest-internal-inl.h.

◆ kWarningVerbosity

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

Definition at line 316 of file gmock-internal-utils.h.

◆ TypeIdHelper< T >::dummy_

template<typename T>
bool testing::internal::TypeIdHelper< T >::dummy_ = false

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