Electroneum
testing::internal Namespace Reference

Namespaces

 edit_distance
 
 invoke_argument
 
 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  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)>
 
struct  CastAndAppendTransform
 
struct  CodeLocation
 
class  ComparisonBase
 
struct  CompileAssert
 
struct  CompileAssertTypesEqual
 
struct  CompileAssertTypesEqual< T, T >
 
struct  ConstCharPtr
 
class  ContainerEqMatcher
 
class  ContainsMatcher
 
class  ContainsMatcherImpl
 
struct  DecayArray
 
struct  DecayArray< T[]>
 
struct  DecayArray< T[N]>
 
class  DefaultGlobalTestPartResultReporter
 
class  DefaultPerThreadTestPartResultReporter
 
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  Eq2Matcher
 
class  EqHelper
 
class  EqHelper< true >
 
class  EqMatcher
 
struct  ExcessiveArg
 
class  ExpectationBase
 
class  FieldMatcher
 
class  FilePath
 
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  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  LessComparator
 
class  linked_ptr
 
class  linked_ptr_internal
 
struct  LinkedPtrLessThan
 
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  MockSpec
 
class  Mutex
 
class  NativeArray
 
class  Ne2Matcher
 
class  NeMatcher
 
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  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  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  TestFactoryBase
 
class  TestFactoryImpl
 
class  TestPropertyKeyIs
 
class  TestResultAccessor
 
class  ThreadLocal
 
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  UnitTestImpl
 
class  UnitTestOptions
 
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
 

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_ (unsigned short, 0U)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed short, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned long, 0UL)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed long, 0L)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (UInt64, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (Int64, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (float, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (double, 0)
 
template<typename 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_ (int, kInteger)
 
 GMOCK_DECLARE_KIND_ (long, kInteger)
 
 GMOCK_DECLARE_KIND_ (wchar_t, kInteger)
 
 GMOCK_DECLARE_KIND_ (Int64, kInteger)
 
 GMOCK_DECLARE_KIND_ (UInt64, kInteger)
 
 GMOCK_DECLARE_KIND_ (float, kFloatingPoint)
 
 GMOCK_DECLARE_KIND_ (double, kFloatingPoint)
 
 GMOCK_DECLARE_KIND_ (long double, kFloatingPoint)
 
template<typename From , typename To >
void Assert (bool condition, const char *file, int line)
 
void Expect (bool condition, const char *file, int line, const 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_
 
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.

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

◆ LogSeverity

Enumerator
kInfo 
kWarning 

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

◆ TypeKind

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)[N], const U(&rhs)[N])
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,
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 }
bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N])
Here is the caller graph for this function:

◆ ArrayEq() [2/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() [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 }
bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N])
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 }
bool CaseInsensitiveCStringEquals(const wchar_t *lhs, const wchar_t *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  {
1096  return String::CaseInsensitiveWideCStringEquals(lhs, rhs);
1097 }
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 CaseInsensitiveCStringEquals(const wchar_t *lhs, const wchar_t *rhs)
bool CaseInsensitiveStringEquals(const StringType &s1, const StringType &s2)
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)
Definition: gtest-port.h:1295

◆ CmpHelperEQ() [1/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  {
1391 GTEST_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 }
GTEST_API_ AssertionResult AssertionSuccess()
AssertionResult CmpHelperEQFailure(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1375
#define GTEST_DISABLE_MSC_WARNINGS_POP_()
Definition: gtest-port.h:318
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
Definition: gtest-port.h:317
else if(0==res)
Here is the call graph for this function:

◆ CmpHelperEQ() [2/2]

GTEST_API_ AssertionResult testing::internal::CmpHelperEQ ( const char *  lhs_expression,
const char *  rhs_expression,
BiggestInt  lhs,
BiggestInt  rhs 
)
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_ AssertionResult AssertionSuccess()
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 StringStreamToString(::std::stringstream *stream)
Here is the call 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 }
std::string FormatForComparisonFailureMessage(const T1 &value, const T2 &)
GTEST_API_ AssertionResult AssertionFailure(const Message &msg)
Here is the call 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 
)

◆ CmpHelperSTRCASENE()

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

◆ CmpHelperSTREQ() [1/2]

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

◆ CmpHelperSTREQ() [2/2]

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

◆ CmpHelperSTRNE() [1/2]

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

◆ CmpHelperSTRNE() [2/2]

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

◆ 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,
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)[N], U(*to)[N])
Here is the caller graph for this function:

◆ CopyArray() [2/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() [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 }
void CopyArray(const T(&from)[N], U(*to)[N])
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 }
mdb_size_t count(MDB_cursor *cur)
Here is the call graph for this function:

◆ 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.
388  internal::UniversalPrint(*it, os);
389  }
390 
391  if (count > 0) {
392  *os << ' ';
393  }
394  *os << '}';
395 }
mdb_size_t count(MDB_cursor *cur)
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  ,
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
Definition: gtest-port.h:2497
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
Here is the call graph for this function:

◆ DefaultPrintTo() [3/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 }
void DefaultPrintNonContainerTo(const T &value, ::std::ostream *os)
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
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 
)

◆ 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 }
To ImplicitCast_(To x)
Definition: gtest-port.h:1343
#define GTEST_INTENTIONAL_CONST_COND_PUSH_()
Definition: gtest-port.h:897
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1295
#define GTEST_INTENTIONAL_CONST_COND_POP_()
Definition: gtest-port.h:899
#define false
Definition: stdbool.h:38
else if(0==res)

◆ 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,
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:

◆ Expect() [2/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)
Here is the call 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 }
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225

◆ 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  {
351  return FormatForComparison<T1, T2>::Format(value);
352 }
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:

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

◆ 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 }
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1295

◆ 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 }
const uint32_t T[512]
::std::string string
Definition: gtest-port.h:1097
const char * name

◆ GetUnitTestImpl()

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

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

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

◆ GMOCK_DECLARE_KIND_() [1/13]

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

◆ GMOCK_DECLARE_KIND_() [2/13]

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

◆ GMOCK_DECLARE_KIND_() [3/13]

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

◆ GMOCK_DECLARE_KIND_() [4/13]

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

◆ GMOCK_DECLARE_KIND_() [5/13]

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

◆ GMOCK_DECLARE_KIND_() [6/13]

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

◆ GMOCK_DECLARE_KIND_() [7/13]

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

◆ GMOCK_DECLARE_KIND_() [8/13]

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

◆ GMOCK_DECLARE_KIND_() [9/13]

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

◆ GMOCK_DECLARE_KIND_() [10/13]

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

◆ GMOCK_DECLARE_KIND_() [11/13]

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

◆ GMOCK_DECLARE_KIND_() [12/13]

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

◆ GMOCK_DECLARE_KIND_() [13/13]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [1/14]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( void  )

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [2/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [3/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [4/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [5/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [6/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [7/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [8/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [9/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [10/14]

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

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [11/14]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( UInt64  ,
 
)

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [12/14]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( Int64  ,
 
)

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [13/14]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( float  ,
 
)

◆ GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_() [14/14]

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( double  ,
 
)

◆ GTEST_DECLARE_STATIC_MUTEX_() [1/2]

GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ ( g_linked_ptr_mutex  )

◆ GTEST_DECLARE_STATIC_MUTEX_() [2/2]

GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ ( g_gmock_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_ ( NE  ,
 
)

◆ GTEST_IMPL_CMP_HELPER_() [2/5]

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

◆ GTEST_IMPL_CMP_HELPER_() [3/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( LT  )

◆ GTEST_IMPL_CMP_HELPER_() [4/5]

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

◆ GTEST_IMPL_CMP_HELPER_() [5/5]

testing::internal::GTEST_IMPL_CMP_HELPER_ ( GT  )

◆ 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; }

◆ 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 }
void Assert(bool condition, const char *file, int line)
Here is the call 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 }

◆ 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 call 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 ( Secret *  p)

◆ IsNullLiteralHelper() [2/2]

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

◆ 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 call graph for this function:
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 
)

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

236  {
237  return linked_ptr<T>(ptr);
238 }

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

◆ MakePredicateFormatterFromMatcher()

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

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

1879  {
1880  return PredicateFormatterFromMatcher<M>(internal::move(matcher));
1881 }
const T & move(const T &t)
Definition: gtest-port.h:1317
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.

3613  {
3614  return BoundSecondMatcher<Tuple2Matcher, Second>(tm, second);
3615 }
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 }
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
void PrintIfNotEmpty(const internal::string &explanation, ::std::ostream *os)
bool IsReadableTypeName(const string &type_name)
void UniversalPrint(const T &value, ::std::ostream *os)
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 }

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

◆ 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 }
mdb_size_t count(MDB_cursor *cur)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
void UniversalPrint(const T &value, ::std::ostream *os)
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]

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, ...);
477  DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
478 }
void DefaultPrintTo(IsNotContainer, false_type, const T &value, ::std::ostream *os)
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
Here is the call graph for this function:

◆ PrintTo() [2/17]

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

◆ PrintTo() [3/17]

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

◆ PrintTo() [4/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 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [5/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() [6/17]

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

◆ PrintTo() [7/17]

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

◆ PrintTo() [8/17]

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

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

510  {
511  PrintTo(ImplicitCast_<const char*>(s), os);
512 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [9/17]

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

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

516  {
517  PrintTo(ImplicitCast_<const void*>(s), os);
518 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [10/17]

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

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

519  {
520  PrintTo(ImplicitCast_<const void*>(s), os);
521 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [11/17]

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

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

522  {
523  PrintTo(ImplicitCast_<const void*>(s), os);
524 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [12/17]

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

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

525  {
526  PrintTo(ImplicitCast_<const void*>(s), os);
527 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [13/17]

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

◆ PrintTo() [14/17]

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

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

537  {
538  PrintTo(ImplicitCast_<const wchar_t*>(s), os);
539 }
void PrintTo(const ::std::pair< T1, T2 > &value, ::std::ostream *os)
Here is the call graph for this function:

◆ PrintTo() [15/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() [16/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.
680  UniversalPrinter<T1>::Print(value.first, os);
681  *os << ", ";
682  UniversalPrinter<T2>::Print(value.second, os);
683  *os << ')';
684 }
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
Here is the call graph for this function:

◆ PrintTo() [17/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;
966  UniversalPrinter<T&>::Print(value, os);
967 }
const uint32_t T[512]
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:

◆ ReadEntireFile()

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

◆ 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 }
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1295
uint64_t random(const uint64_t max_value)
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)
Definition: gtest-port.h:2263
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  {
854  return TransformTupleValuesHelper<Tuple, Func, OutIter>::Run(f, t, out);
855 }
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.
802  matcher_and_value_have_different_numbers_of_fields);
804  Matches(matcher_tuple, value_tuple);
805 }
internal::MatcherAsPredicate< M > Matches(M matcher)
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
#define GTEST_COMPILE_ASSERT_(expr, msg)
Definition: gtest-port.h:1032
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;
856  UniversalPrinter<T1>::Print(value, os);
857 }
const uint32_t T[512]
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:

◆ UniversalPrintArray() [1/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() [2/3]

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

◆ UniversalPrintArray() [3/3]

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

◆ UniversalTersePrint()

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

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

843  {
844  UniversalTersePrinter<T>::Print(value, os);
845 }
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
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

◆ g_gmock_implicit_sequence

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

◆ g_help_flag

GTEST_API_ bool testing::internal::g_help_flag

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

◆ GTEST_ATTRIBUTE_UNUSED_

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

◆ 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: gtest-port.h:2241

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

Definition at line 101 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

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.