Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
testing::internal Namespace Reference

Namespaces

 invoke_argument
 
 gmockpp
 
 internal_stream
 
 edit_distance
 
 posix
 

Classes

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  ReturnRoundRobinAction
 
class  DoDefaultAction
 
class  AssignAction
 
class  SetErrnoAndReturnAction
 
struct  SetArgumentPointeeAction
 
struct  InvokeMethodAction
 
struct  InvokeWithoutArgsAction
 
struct  InvokeMethodWithoutArgsAction
 
class  IgnoreResultAction
 
struct  WithArgsAction
 
struct  DoAllAction
 
struct  ReturnNewAction
 
struct  ExcessiveArg
 
class  ActionHelper
 
class  ActionImpl
 
class  ActionImpl< Derived< Ts...> >
 
struct  PointeeOf
 
struct  PointeeOf< T * >
 
struct  KindOf
 
class  FailureReporterInterface
 
class  WithoutMatchers
 
class  StlContainerView
 
class  StlContainerView< Element[N]>
 
class  StlContainerView< ::std::tuple< ElementPointer, Size > >
 
struct  RemoveConstFromKey
 
struct  RemoveConstFromKey< std::pair< const K, V > >
 
struct  Function
 
struct  Function< R(Args...)>
 
class  GoogleTestFailureReporter
 
class  MaxBipartiteMatchState
 
class  ExpectationTester
 
struct  ContainerPrinter
 
struct  FunctionPointerPrinter
 
struct  PointerPrinter
 
struct  StreamPrinter
 
struct  ProtobufPrinter
 
struct  ConvertibleToIntegerPrinter
 
struct  ConvertibleToStringViewPrinter
 
struct  FallbackPrinter
 
struct  FindFirstPrinter
 
struct  FindFirstPrinter< T, decltype(Printer::PrintValue(std::declval< const T & >(), nullptr)), Printer, Printers...>
 
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  faketype
 
class  EqHelper
 
class  AssertHelper
 
class  IgnoredValue
 
class  FloatingPoint
 
class  TypeIdHelper
 
class  TestFactoryBase
 
class  TestFactoryImpl
 
struct  CodeLocation
 
struct  SuiteApiResolver
 
struct  ConstCharPtr
 
struct  TrueWithString
 
class  Random
 
struct  IsAProtocolMessage
 
struct  IsHashTable
 
struct  IsRecursiveContainerImpl
 
struct  IsRecursiveContainerImpl< C, false >
 
struct  IsRecursiveContainerImpl< C, true >
 
struct  IsRecursiveContainer
 
struct  RelationToSourceReference
 
struct  RelationToSourceCopy
 
class  NativeArray
 
struct  IndexSequence
 
struct  DoubleSequence
 
struct  DoubleSequence< true, IndexSequence< I...>, sizeofT >
 
struct  DoubleSequence< false, IndexSequence< I...>, sizeofT >
 
struct  MakeIndexSequence
 
struct  MakeIndexSequence< 0 >
 
struct  Ignore
 
struct  ElemFromListImpl
 
struct  ElemFromListImpl< IndexSequence< I...> >
 
struct  ElemFromList
 
class  FlatTuple
 
struct  FlatTupleElemBase
 
struct  FlatTupleElemBase< FlatTuple< T...>, I >
 
struct  FlatTupleBase
 
struct  FlatTupleBase< FlatTuple< T...>, IndexSequence< Idx...> >
 
class  ParamGeneratorInterface
 
class  ParamGenerator
 
class  ParamIteratorInterface
 
class  ParamIterator
 
class  RangeGenerator
 
class  ValuesInIteratorRangeGenerator
 
class  ParameterizedTestFactory
 
class  TestMetaFactoryBase
 
class  TestMetaFactory
 
class  ParameterizedTestSuiteInfoBase
 
struct  MarkAsIgnored
 
class  ParameterizedTestSuiteInfo
 
class  ParameterizedTestSuiteRegistry
 
class  TypeParameterizedTestSuiteRegistry
 
class  ValueArray
 
class  CartesianProductGenerator
 
class  CartesianProductHolder
 
class  RE
 
class  GTestLog
 
struct  ConstRef
 
struct  ConstRef< T & >
 
class  Mutex
 
class  GTestMutexLock
 
class  ThreadLocal
 
class  TypeWithSize
 
class  TypeWithSize< 4 >
 
class  TypeWithSize< 8 >
 
class  String
 
class  PrettyUnitTestResultPrinter
 
class  BriefUnitTestResultPrinter
 
class  TestEventRepeater
 
class  XmlUnitTestResultPrinter
 
class  JsonUnitTestResultPrinter
 
class  ScopedPrematureExitFile
 
class  TestSuiteNameIs
 
class  EventRecordingListener
 
class  EventRecordingListener2
 
class  EnvironmentInvocationCatcher
 
class  ListenerTest
 
class  Base
 
class  Derived
 
class  Castable
 
class  ConstCastable
 
class  ConstAndNonConstCastable
 
class  To
 
class  NoDefaultContructor
 
struct  LessByName
 
class  UnitTestHelper
 
class  FinalSuccessChecker
 
class  TestEventListenersAccessor
 
class  UnitTestRecordPropertyTestHelper
 

Typedefs

template<typename P , typename Q >
using disjunction = typename::std::conditional< P::value, P, Q >::type
 
template<typename T >
using identity_t = T
 
template<TypeKind kFromKind, typename From , TypeKind kToKind, typename To >
using LosslessArithmeticConvertibleImpl = std::integral_constant< bool,(kFromKind==kBool)?true:(kFromKind!=kToKind)?false:(kFromKind==kInteger &&(((sizeof(From)< sizeof(To))&&!(std::is_signed< From >::value &&!std::is_signed< To >::value))||((sizeof(From)==sizeof(To))&&(std::is_signed< From >::value==std::is_signed< To >::value))))?true:(kFromKind==kFloatingPoint &&(sizeof(From)<=sizeof(To)))?true:false >
 
template<typename From , typename To >
using LosslessArithmeticConvertible = LosslessArithmeticConvertibleImpl< GMOCK_KIND_OF_(From), From, GMOCK_KIND_OF_(To), To >
 
typedef ::std::vector
< ::std::string > 
Strings
 
typedef FloatingPoint< float > Float
 
typedef FloatingPoint< double > Double
 
typedef const voidTypeId
 
using SetUpTestSuiteFunc ) = void(*)(
 
using TearDownTestSuiteFunc ) = void(*)(
 
using SetUpTearDownSuiteFuncType ) = void(*)(
 
typedef int IsContainer
 
typedef char IsNotContainer
 
template<class TestCase >
using ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo< TestCase >
 
typedef GTestMutexLock MutexLock
 
using BiggestInt = long long
 
using TimeInMillis = int64_t
 

Enumerations

enum  TypeKind { kBool, kInteger, kFloatingPoint, kOther }
 
enum  LogSeverity { kInfo = 0, kWarning = 1 }
 
enum  GTestLogSeverity { GTEST_INFO, GTEST_WARNING, GTEST_ERROR, GTEST_FATAL }
 
enum  CharFormat { kAsIs, kHexEscape, kSpecialEscape }
 

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_ (unsigned long long, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed long long, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (float, 0)
 
 GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (double, 0)
 
template<typename MockType >
const MockType * AdjustConstness_const (const MockType *mock)
 
template<typename MockType >
MockType * AdjustConstness_ (const MockType *mock)
 
template<typename InputIterator , typename OutputIterator >
OutputIterator CopyElements (InputIterator first, InputIterator last, OutputIterator output)
 
GTEST_API_ std::string JoinAsTuple (const Strings &fields)
 
GTEST_API_ std::string ConvertIdentifierNameToWords (const char *id_name)
 
template<typename Pointer >
const Pointer::element_type * GetRawPointer (const Pointer &p)
 
template<typename Element >
Element * GetRawPointer (Element *p)
 
 GMOCK_DECLARE_KIND_ (bool, kBool)
 
 GMOCK_DECLARE_KIND_ (char, kInteger)
 
 GMOCK_DECLARE_KIND_ (signed char, kInteger)
 
 GMOCK_DECLARE_KIND_ (unsigned char, kInteger)
 
 GMOCK_DECLARE_KIND_ (short, kInteger)
 
 GMOCK_DECLARE_KIND_ (int, kInteger)
 
 GMOCK_DECLARE_KIND_ (long, kInteger)
 
 GMOCK_DECLARE_KIND_ (unsigned long long, kInteger)
 
 GMOCK_DECLARE_KIND_ (wchar_t, kInteger)
 
 GMOCK_DECLARE_KIND_ (float, kFloatingPoint)
 
 GMOCK_DECLARE_KIND_ (double, kFloatingPoint)
 
 GMOCK_DECLARE_KIND_ (long double, kFloatingPoint)
 
GTEST_API_
FailureReporterInterface
GetFailureReporter ()
 
void Assert (bool condition, const char *file, int line, const std::string &msg)
 
void Assert (bool condition, const char *file, int line)
 
void Expect (bool condition, const char *file, int line, const std::string &msg)
 
void Expect (bool condition, const char *file, int line)
 
GTEST_API_ bool LogIsVisible (LogSeverity severity)
 
GTEST_API_ void Log (LogSeverity severity, const std::string &message, int stack_frames_to_skip)
 
GTEST_API_ WithoutMatchers GetWithoutMatchers ()
 
template<typename T >
T Invalid ()
 
GTEST_API_ void IllegalDoDefault (const char *file, int line)
 
template<typename F , typename Tuple , size_t... Idx>
auto ApplyImpl (F &&f, Tuple &&args, IndexSequence< Idx...>) -> decltype(std::forward< F >(f)(std::get< Idx >(std::forward< Tuple >(args))...))
 
template<typename F , typename Tuple >
auto Apply (F &&f, Tuple &&args) -> decltype(ApplyImpl(std::forward< F >(f), std::forward< Tuple >(args), MakeIndexSequence< std::tuple_size< typename std::remove_reference< Tuple >::type >::value >()))
 
static GTEST_DEFINE_STATIC_MUTEX_ (g_log_mutex)
 
GTEST_API_ std::string FormatMatcherDescription (bool negation, const char *matcher_name, const Strings &param_values)
 
GTEST_API_ ElementMatcherPairs FindMaxBipartiteMatching (const MatchMatrix &g)
 
static void LogElementMatcherPairVec (const ElementMatcherPairs &pairs,::std::ostream *stream)
 
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_ (g_gmock_mutex)
 
GTEST_API_ void LogWithLocation (testing::internal::LogSeverity severity, const char *file, int line, const std::string &message)
 
void ReportUninterestingCall (CallReaction reaction, const std::string &msg)
 
CallReaction intToCallReaction (int mock_behavior)
 
static const char * ParseGoogleMockFlagValue (const char *str, const char *flag, bool def_optional)
 
static bool ParseGoogleMockBoolFlag (const char *str, const char *flag, bool *value)
 
template<typename String >
static bool ParseGoogleMockStringFlag (const char *str, const char *flag, String *value)
 
static bool ParseGoogleMockIntFlag (const char *str, const char *flag, int32_t *value)
 
template<typename CharType >
void InitGoogleMockImpl (int *argc, CharType **argv)
 
template<typename T >
std::string StreamableToString (const T &streamable)
 
template<typename T >
void UniversalPrint (const T &value,::std::ostream *os)
 
GTEST_API_ void PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count,::std::ostream *os)
 
template<typename T >
void PrintWithFallback (const T &value,::std::ostream *os)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (wchar_t)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char16_t)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char32_t)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char,::std::string)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char16_t,::std::u16string)
 
 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char32_t,::std::u32string)
 
template<typename T1 , typename T2 >
std::string FormatForComparisonFailureMessage (const T1 &value, const T2 &)
 
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 (char32_t c,::std::ostream *os)
 
void PrintTo (char16_t c,::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)
 
void PrintTo (const char16_t *s,::std::ostream *os)
 
void PrintTo (char16_t *s,::std::ostream *os)
 
void PrintTo (const char32_t *s,::std::ostream *os)
 
void PrintTo (char32_t *s,::std::ostream *os)
 
GTEST_API_ void PrintTo (const wchar_t *s,::std::ostream *os)
 
void PrintTo (wchar_t *s,::std::ostream *os)
 
template<typename T >
void PrintRawArrayTo (const T a[], size_t count,::std::ostream *os)
 
GTEST_API_ void PrintStringTo (const ::std::string &s,::std::ostream *os)
 
void PrintTo (const ::std::string &s,::std::ostream *os)
 
void PrintTo (std::nullptr_t,::std::ostream *os)
 
template<typename T >
void PrintTo (std::reference_wrapper< T > ref,::std::ostream *os)
 
template<typename T >
void PrintTupleTo (const T &, std::integral_constant< size_t, 0 >,::std::ostream *)
 
template<typename T , size_t I>
void PrintTupleTo (const T &t, std::integral_constant< size_t, I >,::std::ostream *os)
 
template<typename... Types>
void PrintTo (const ::std::tuple< Types...> &t,::std::ostream *os)
 
template<typename T1 , typename T2 >
void PrintTo (const ::std::pair< T1, T2 > &value,::std::ostream *os)
 
template<typename T >
void UniversalPrintArray (const T *begin, size_t len,::std::ostream *os)
 
GTEST_API_ void UniversalPrintArray (const char *begin, size_t len,::std::ostream *os)
 
GTEST_API_ void UniversalPrintArray (const wchar_t *begin, size_t len,::std::ostream *os)
 
template<typename T >
void UniversalTersePrint (const T &value,::std::ostream *os)
 
template<typename Tuple >
void TersePrintPrefixToStrings (const Tuple &, std::integral_constant< size_t, 0 >, Strings *)
 
template<typename Tuple , size_t I>
void TersePrintPrefixToStrings (const Tuple &t, std::integral_constant< size_t, I >, Strings *strings)
 
template<typename Tuple >
Strings UniversalTersePrintTupleFieldsToStrings (const Tuple &value)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
bool operator== (faketype, faketype)
 
bool operator!= (faketype, faketype)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
GTEST_API_ AssertionResult CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, BiggestInt lhs, BiggestInt rhs)
 
template<typename T1 , typename T2 >
AssertionResult CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op)
 
 GTEST_IMPL_CMP_HELPER_ (NE,!=)
 
 GTEST_IMPL_CMP_HELPER_ (LE,<=)
 
 GTEST_IMPL_CMP_HELPER_ (LT,<)
 
 GTEST_IMPL_CMP_HELPER_ (GE, >=)
 
 GTEST_IMPL_CMP_HELPER_ (GT, >)
 
GTEST_API_ AssertionResult CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRCASEEQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
GTEST_API_ AssertionResult CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
template<typename RawType >
AssertionResult CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value)
 
GTEST_API_ AssertionResult DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error)
 
 GTEST_DECLARE_string_ (internal_run_death_test)
 
GTEST_API_ std::string AppendUserMessage (const std::string &gtest_msg, const Message &user_msg)
 
GTEST_API_ std::string DiffStrings (const std::string &left, const std::string &right, size_t *total_line_count)
 
GTEST_API_ AssertionResult EqFailure (const char *expected_expression, const char *actual_expression, const std::string &expected_value, const std::string &actual_value, bool ignoring_case)
 
GTEST_API_ std::string GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value)
 
template<typename T >
TypeId GetTypeId ()
 
GTEST_API_ TypeId GetTestTypeId ()
 
SetUpTearDownSuiteFuncType GetNotDefaultOrNull (SetUpTearDownSuiteFuncType a, SetUpTearDownSuiteFuncType def)
 
GTEST_API_ TestInfoMakeAndRegisterTestInfo (const char *test_suite_name, const char *name, const char *type_param, const char *value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, TearDownTestSuiteFunc tear_down_tc, TestFactoryBase *factory)
 
GTEST_API_ bool SkipPrefix (const char *prefix, const char **pstr)
 
GTEST_API_ std::string GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count)
 
GTEST_API_ bool AlwaysTrue ()
 
bool AlwaysFalse ()
 
template<class C , class Iterator = decltype(::std::declval<const C&>().begin()), class = decltype(::std::declval<const C&>().end()), class = decltype(++::std::declval<Iterator&>()), class = decltype(*::std::declval<Iterator>()), class = typename C::const_iterator>
IsContainer IsContainerTest (int)
 
template<class C >
IsNotContainer IsContainerTest (long)
 
template<typename T , typename U >
bool ArrayEq (const T *lhs, size_t size, const U *rhs)
 
template<typename T , typename U >
bool ArrayEq (const T &lhs, const U &rhs)
 
template<typename T , typename U , size_t N>
bool ArrayEq (const T(&lhs)[N], const U(&rhs)[N])
 
template<typename Iter , typename Element >
Iter ArrayAwareFind (Iter begin, Iter end, const Element &elem)
 
template<typename T , typename U >
void CopyArray (const T *from, size_t size, U *to)
 
template<typename T , typename U >
void CopyArray (const T &from, U *to)
 
template<typename T , typename U , size_t N>
void CopyArray (const T(&from)[N], U(*to)[N])
 
 GTEST_INTERNAL_DEPRECATED ("INSTANTIATE_TEST_CASE_P is deprecated, please use ""INSTANTIATE_TEST_SUITE_P") const expr bool InstantiateTestCase_P_IsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("TYPED_TEST_CASE_P is deprecated, please use ""TYPED_TEST_SUITE_P") const expr bool TypedTestCase_P_IsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("TYPED_TEST_CASE is deprecated, please use ""TYPED_TEST_SUITE") const expr bool TypedTestCaseIsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("REGISTER_TYPED_TEST_CASE_P is deprecated, please use ""REGISTER_TYPED_TEST_SUITE_P") const expr bool RegisterTypedTestCase_P_IsDeprecated()
 
 GTEST_INTERNAL_DEPRECATED ("INSTANTIATE_TYPED_TEST_CASE_P is deprecated, please use ""INSTANTIATE_TYPED_TEST_SUITE_P") const expr bool InstantiateTypedTestCase_P_IsDeprecated()
 
GTEST_API_ void ReportInvalidTestSuiteType (const char *test_suite_name, CodeLocation code_location)
 
template<class ParamType >
std::string DefaultParamName (const TestParamInfo< ParamType > &info)
 
template<typename T = int>
void TestNotEmpty ()
 
template<typename T = int>
void TestNotEmpty (const T &)
 
GTEST_API_ void InsertSyntheticTestCase (const std::string &name, CodeLocation location, bool has_test_p)
 
GTEST_API_ bool IsTrue (bool condition)
 
GTEST_API_::std::string FormatFileLocation (const char *file, int line)
 
GTEST_API_::std::string FormatCompilerIndependentFileLocation (const char *file, int line)
 
void LogToStderr ()
 
void FlushInfoLog ()
 
template<typename To >
To ImplicitCast_ (To x)
 
template<typename To , typename From >
To DownCast_ (From *f)
 
template<class Derived , class Base >
Derived * CheckedDowncastToActualType (Base *base)
 
GTEST_API_ void CaptureStdout ()
 
GTEST_API_ std::string GetCapturedStdout ()
 
GTEST_API_ void CaptureStderr ()
 
GTEST_API_ std::string GetCapturedStderr ()
 
GTEST_API_ size_t GetFileSize (FILE *file)
 
GTEST_API_ std::string ReadEntireFile (FILE *file)
 
GTEST_API_ std::vector
< std::string > 
GetArgvs ()
 
GTEST_API_ size_t GetThreadCount ()
 
bool IsAlpha (char ch)
 
bool IsAlNum (char ch)
 
bool IsDigit (char ch)
 
bool IsLower (char ch)
 
bool IsSpace (char ch)
 
bool IsUpper (char ch)
 
bool IsXDigit (char ch)
 
bool IsXDigit (wchar_t ch)
 
char ToLower (char ch)
 
char ToUpper (char ch)
 
std::string StripTrailingSpaces (std::string str)
 
GTEST_API_ bool ParseInt32 (const Message &src_text, const char *str, int32_t *value)
 
bool BoolFromGTestEnv (const char *flag, bool default_val)
 
GTEST_API_ int32_t Int32FromGTestEnv (const char *flag, int32_t default_val)
 
std::string OutputFlagAlsoCheckEnvVar ()
 
const char * StringFromGTestEnv (const char *flag, const char *default_val)
 
GTEST_API_ std::string StringStreamToString (::std::stringstream *stream)
 
std::string CanonicalizeForStdLibVersioning (std::string s)
 
template<typename T >
std::string GetTypeName ()
 
 GTEST_DEFINE_string_ (internal_run_death_test,"","Indicates the file, line number, temporal index of ""the single death test to run, and a file descriptor to ""which a success code may be sent, all separated by ""the '|' characters. This flag is specified if and only if the ""current process is a sub-process launched for running a thread-safe ""death test. FOR INTERNAL USE ONLY.")
 
static bool IsPathSeparator (char c)
 
static std::string FlagToEnvVar (const char *flag)
 
void PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count, ostream *os)
 
bool IsPrintableAscii (wchar_t c)
 
template<typename UnsignedChar , typename Char >
static CharFormat PrintAsCharLiteralTo (Char c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (wchar_t c, ostream *os)
 
static CharFormat PrintAsStringLiteralTo (char c, ostream *os)
 
template<typename UnsignedChar , typename Char >
void PrintCharAndCodeTo (Char c, ostream *os)
 
void PrintTo (wchar_t wc, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_
static
GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_
CharFormat 
PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_
static
GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_
void 
UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os)
 
void UniversalPrintArray (const char *begin, size_t len, ostream *os)
 
void UniversalPrintArray (const wchar_t *begin, size_t len, ostream *os)
 
void PrintTo (const char *s, ostream *os)
 
void PrintTo (const wchar_t *s, ostream *os)
 
void PrintStringTo (const ::std::string &s, ostream *os)
 
static FILE * OpenFileForWriting (const std::string &output_file)
 
static bool GTestIsInitialized ()
 
static int SumOverTestSuiteList (const std::vector< TestSuite * > &case_list, int(TestSuite::*method)() const)
 
static bool TestSuitePassed (const TestSuite *test_suite)
 
static bool TestSuiteFailed (const TestSuite *test_suite)
 
static bool ShouldRunTestSuite (const TestSuite *test_suite)
 
std::set< std::string > * GetIgnoredParameterizedTestSuites ()
 
void RegisterTypeParameterizedTestSuite (const char *test_suite_name, CodeLocation code_location)
 
void RegisterTypeParameterizedTestSuiteInstantiation (const char *case_name)
 
FilePath GetCurrentExecutableName ()
 
static AssertionResult HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const std::string &substr)
 
TimeInMillis GetTimeInMillis ()
 
void SplitString (const ::std::string &str, char delimiter,::std::vector< ::std::string > *dest)
 
template<typename RawType >
AssertionResult FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2)
 
uint32_t ChopLowBits (uint32_t *bits, int n)
 
std::string CodePointToUtf8 (uint32_t code_point)
 
bool IsUtf16SurrogatePair (wchar_t first, wchar_t second)
 
uint32_t CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second)
 
std::string WideStringToUtf8 (const wchar_t *str, int num_chars)
 
void ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
template<class T , typename Result >
Result HandleSehExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location)
 
template<class T , typename Result >
Result HandleExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location)
 
static std::string PrintTestPartResultToString (const TestPartResult &test_part_result)
 
static void PrintTestPartResult (const TestPartResult &test_part_result)
 
static const char * GetAnsiColorCode (GTestColor color)
 
bool ShouldUseColor (bool stdout_is_tty)
 
void ColoredPrintf (GTestColor color, const char *fmt,...)
 
static void PrintFullTestCommentIfPresent (const TestInfo &test_info)
 
std::string FormatTimeInMillisAsSeconds (TimeInMillis ms)
 
static bool PortableLocaltime (time_t seconds, struct tm *out)
 
std::string FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms)
 
static std::string FormatTimeInMillisAsDuration (TimeInMillis ms)
 
static std::string FormatEpochTimeInMillisAsRFC3339 (TimeInMillis ms)
 
static std::string Indent (size_t width)
 
static void SetUpEnvironment (Environment *env)
 
static void TearDownEnvironment (Environment *env)
 
void WriteToShardStatusFileIfNeeded ()
 
bool ShouldShard (const char *total_shards_env, const char *shard_index_env, bool in_subprocess_for_death_test)
 
int32_t Int32FromEnvOrDie (const char *var, int32_t default_val)
 
bool ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
 
static void PrintOnOneLine (const char *str, int max_length)
 
static const char * ParseFlagValue (const char *str, const char *flag, bool def_optional)
 
static bool ParseBoolFlag (const char *str, const char *flag, bool *value)
 
bool ParseInt32Flag (const char *str, const char *flag, int32_t *value)
 
template<typename String >
static bool ParseStringFlag (const char *str, const char *flag, String *value)
 
static bool HasGoogleTestFlagPrefix (const char *str)
 
static void PrintColorEncoded (const char *str)
 
static bool ParseGoogleTestFlag (const char *const arg)
 
template<typename CharType >
void ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv)
 
void ParseGoogleTestFlagsOnly (int *argc, char **argv)
 
void ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)
 
template<typename CharType >
void InitGoogleTestImpl (int *argc, CharType **argv)
 
 TEST_F (ListenerTest, DoesFoo)
 
 TEST_F (ListenerTest, DoesBar)
 
 TEST (IsXDigitTest, WorksForNarrowAscii)
 
 TEST (IsXDigitTest, ReturnsFalseForNarrowNonAscii)
 
 TEST (IsXDigitTest, WorksForWideAscii)
 
 TEST (IsXDigitTest, ReturnsFalseForWideNonAscii)
 
 TEST (ImplicitCastTest, ConvertsPointers)
 
 TEST (ImplicitCastTest, CanUseInheritance)
 
 TEST (ImplicitCastTest, CanUseNonConstCastOperator)
 
 TEST (ImplicitCastTest, CanUseConstCastOperatorOnConstValues)
 
 TEST (ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately)
 
 TEST (ImplicitCastTest, CanUseImplicitConstructor)
 
 TEST (GtestCheckSyntaxTest, BehavesLikeASingleStatement)
 
 TEST (GtestCheckSyntaxTest, WorksWithSwitch)
 
 TEST (FormatFileLocationTest, FormatsFileLocation)
 
 TEST (FormatFileLocationTest, FormatsUnknownFile)
 
 TEST (FormatFileLocationTest, FormatsUknownLine)
 
 TEST (FormatFileLocationTest, FormatsUknownFileAndLine)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsFileLocation)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFile)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownLine)
 
 TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFileAndLine)
 
 TEST (GetThreadCountTest, ReturnsZeroWhenUnableToCountThreads)
 
 TEST (GtestCheckDeathTest, DiesWithCorrectOutputOnFailure)
 
 TEST (RegexEngineSelectionTest, SelectsCorrectRegexEngine)
 
 TEST (CaptureTest, CapturesStdout)
 
 TEST (CaptureTest, CapturesStderr)
 
 TEST (CaptureTest, CapturesStdoutAndStderr)
 
 TEST (CaptureDeathTest, CannotReenterStdoutCapture)
 
 TEST (ThreadLocalTest, DefaultConstructorInitializesToDefaultValues)
 
 TEST (ThreadLocalTest, SingleParamConstructorInitializesToParam)
 
 TEST (ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion)
 
 TEST (ThreadLocalTest, GetAndPointerReturnSameValue)
 
 TEST (ThreadLocalTest, PointerAndConstPointerReturnSameValue)
 
 TEST (ApiTest, UnitTestImmutableAccessorsWork)
 
AssertionResult IsNull (const char *str)
 
 TEST (ApiTest, TestSuiteImmutableAccessorsWork)
 
 TEST (ApiTest, TestSuiteDisabledAccessorsWork)
 
 TEST (ApiTest, DISABLED_Dummy1)
 
 TEST (DISABLED_Test, Dummy2)
 

Variables

const char kInfoVerbosity [] = "info"
 
const char kWarningVerbosity [] = "warning"
 
const char kErrorVerbosity [] = "error"
 
GTEST_API_ ThreadLocal
< Sequence * > 
g_gmock_implicit_sequence
 
const char kDeathTestStyleFlag [] = "death_test_style"
 
const char kDeathTestUseFork [] = "death_test_use_fork"
 
const char kInternalRunDeathTestFlag [] = "internal_run_death_test"
 
GTEST_API_ const char kStackTraceMarker [] = "\nStack trace:\n"
 
constexpr BiggestInt kMaxBiggestInt = (std::numeric_limits<BiggestInt>::max)()
 
const char kPathSeparator = '/'
 
const char kCurrentDirectoryString [] = "./"
 
const int kStdOutFileno = STDOUT_FILENO
 
const int kStdErrFileno = STDERR_FILENO
 
const char kUnknownFile [] = "unknown file"
 
bool g_help_flag = false
 
static::std::vector< std::string > g_argvs
 
const TypeId kTestTypeIdInGoogleTest = GetTestTypeId()
 
constexpr uint32_t kMaxCodePoint1 = (static_cast<uint32_t>(1) << 7) - 1
 
constexpr uint32_t kMaxCodePoint2 = (static_cast<uint32_t>(1) << (5 + 6)) - 1
 
constexpr uint32_t kMaxCodePoint3 = (static_cast<uint32_t>(1) << (4 + 2*6)) - 1
 
constexpr uint32_t kMaxCodePoint4 = (static_cast<uint32_t>(1) << (3 + 3*6)) - 1
 
static const char kTypeParamLabel [] = "TypeParam"
 
static const char kValueParamLabel [] = "GetParam()"
 
static const char kColorEncodedHelpMessage []
 
const int kTypedTestSuites = 0
 
const int kTypedTests = 0
 

Typedef Documentation

template<typename P , typename Q >
using testing::internal::disjunction = typedef typename ::std::conditional<P::value, P, Q>::type

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

template<typename T >
using testing::internal::identity_t = typedef T

Definition at line 49 of file gmock-function-mocker.h.

template<TypeKind kFromKind, typename From , TypeKind kToKind, typename To >
using testing::internal::LosslessArithmeticConvertibleImpl = typedef std::integral_constant< bool, (kFromKind == kBool) ? true : (kFromKind != kToKind) ? false : (kFromKind == kInteger && (((sizeof(From) < sizeof(To)) && !(std::is_signed<From>::value && !std::is_signed<To>::value)) || ((sizeof(From) == sizeof(To)) && (std::is_signed<From>::value == std::is_signed<To>::value))) ) ? true : (kFromKind == kFloatingPoint && (sizeof(From) <= sizeof(To))) ? true : false >

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

template<typename From , typename To >
using testing::internal::LosslessArithmeticConvertible = typedef LosslessArithmeticConvertibleImpl<GMOCK_KIND_OF_(From), From, GMOCK_KIND_OF_(To), To>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

using testing::internal::BiggestInt = typedef long long

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

using testing::internal::TimeInMillis = typedef int64_t

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

Enumeration Type Documentation

Enumerator
kBool 
kInteger 
kFloatingPoint 
kOther 

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

Enumerator
kInfo 
kWarning 

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

Enumerator
GTEST_INFO 
GTEST_WARNING 
GTEST_ERROR 
GTEST_FATAL 

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

Enumerator
kAsIs 
kHexEscape 
kSpecialEscape 

Definition at line 125 of file gtest-printers.cc.

Function Documentation

testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( void  )
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( ::std::string  ,
""   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( bool  ,
false   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned  char,
'\0'   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed  char,
'\0'   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( char  ,
'\0'   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned  short,
0U   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed  short,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned  long,
0UL   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed  long,
0L   
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( unsigned long  long,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( signed long  long,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( float  ,
 
)
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ ( double  ,
 
)
template<typename MockType >
const MockType* testing::internal::AdjustConstness_const ( const MockType *  mock)

Definition at line 52 of file gmock-function-mocker.h.

template<typename MockType >
MockType* testing::internal::AdjustConstness_ ( const MockType *  mock)

Definition at line 57 of file gmock-function-mocker.h.

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

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

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

Definition at line 51 of file gmock-internal-utils.cc.

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

Definition at line 72 of file gmock-internal-utils.cc.

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

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

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

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

testing::internal::GMOCK_DECLARE_KIND_ ( bool  ,
kBool   
)
testing::internal::GMOCK_DECLARE_KIND_ ( char  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( signed  char,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( unsigned  char,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( short  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( int  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( long  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( unsigned long  long,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( wchar_t  ,
kInteger   
)
testing::internal::GMOCK_DECLARE_KIND_ ( float  ,
kFloatingPoint   
)
testing::internal::GMOCK_DECLARE_KIND_ ( double  ,
kFloatingPoint   
)
testing::internal::GMOCK_DECLARE_KIND_ ( long  double,
kFloatingPoint   
)
GTEST_API_ FailureReporterInterface * testing::internal::GetFailureReporter ( )

Definition at line 112 of file gmock-internal-utils.cc.

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

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

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

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

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

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

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

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

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

Definition at line 128 of file gmock-internal-utils.cc.

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

Definition at line 149 of file gmock-internal-utils.cc.

GTEST_API_ WithoutMatchers testing::internal::GetWithoutMatchers ( )

Definition at line 187 of file gmock-internal-utils.cc.

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

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

GTEST_API_ void testing::internal::IllegalDoDefault ( const char *  file,
int  line 
)

Definition at line 189 of file gmock-internal-utils.cc.

template<typename F , typename Tuple , size_t... Idx>
auto testing::internal::ApplyImpl ( F &&  f,
Tuple &&  args,
IndexSequence< Idx...>   
) -> decltype( std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...))

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

template<typename F , typename Tuple >
auto testing::internal::Apply ( F &&  f,
Tuple &&  args 
) -> decltype( ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), MakeIndexSequence<std::tuple_size< typename std::remove_reference<Tuple>::type>::value>()))

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

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

Definition at line 51 of file gmock-matchers.cc.

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

Definition at line 225 of file gmock-matchers.cc.

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

Definition at line 229 of file gmock-matchers.cc.

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

Definition at line 72 of file gmock-spec-builders.cc.

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

Definition at line 283 of file gmock-spec-builders.cc.

CallReaction testing::internal::intToCallReaction ( int  mock_behavior)

Definition at line 554 of file gmock-spec-builders.cc.

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

Definition at line 61 of file gmock.cc.

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

Definition at line 94 of file gmock.cc.

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

Definition at line 113 of file gmock.cc.

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

Definition at line 126 of file gmock.cc.

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

Definition at line 144 of file gmock.cc.

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

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

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

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

GTEST_API_ void testing::internal::PrintBytesInObjectTo ( const unsigned char *  obj_bytes,
size_t  count,
::std::ostream *  os 
)
template<typename T >
void testing::internal::PrintWithFallback ( const T value,
::std::ostream *  os 
)

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

testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( char  )
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( wchar_t  )
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( char16_t  )
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ ( char32_t  )
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ ( char  ,
::std::string   
)
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ ( char16_t  ,
::std::u16string   
)
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ ( char32_t  ,
::std::u32string   
)
template<typename T1 , typename T2 >
std::string testing::internal::FormatForComparisonFailureMessage ( const T1 value,
const T2  
)

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

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

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

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

Definition at line 242 of file gtest-printers.cc.

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

Definition at line 245 of file gtest-printers.cc.

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

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

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

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

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

Definition at line 255 of file gtest-printers.cc.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

template<typename T >
void testing::internal::PrintTupleTo ( const T ,
std::integral_constant< size_t, 0 >  ,
::std::ostream *   
)

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

template<typename T , size_t I>
void testing::internal::PrintTupleTo ( const T t,
std::integral_constant< size_t, I >  ,
::std::ostream *  os 
)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 1521 of file gtest.h.

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

Definition at line 1535 of file gtest.h.

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

Definition at line 1536 of file gtest.h.

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 1540 of file gtest.h.

AssertionResult testing::internal::CmpHelperEQ ( const char *  lhs_expression,
const char *  rhs_expression,
BiggestInt  lhs,
BiggestInt  rhs 
)

Definition at line 1622 of file gtest.cc.

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 1602 of file gtest.h.

testing::internal::GTEST_IMPL_CMP_HELPER_ ( NE  ,
 
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( LE  ,
<=   
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( LT  )
testing::internal::GTEST_IMPL_CMP_HELPER_ ( GE  ,
>=   
)
testing::internal::GTEST_IMPL_CMP_HELPER_ ( GT  )
AssertionResult testing::internal::CmpHelperSTREQ ( const char *  s1_expression,
const char *  s2_expression,
const char *  s1,
const char *  s2 
)

Definition at line 1672 of file gtest.cc.

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

Definition at line 1688 of file gtest.cc.

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

Definition at line 1704 of file gtest.cc.

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

Definition at line 1718 of file gtest.cc.

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

Definition at line 2055 of file gtest.cc.

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

Definition at line 2071 of file gtest.cc.

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

Definition at line 1747 of file gtest.h.

AssertionResult testing::internal::DoubleNearPredFormat ( const char *  expr1,
const char *  expr2,
const char *  abs_error_expr,
double  val1,
double  val2,
double  abs_error 
)

Definition at line 1549 of file gtest.cc.

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

Definition at line 2190 of file gtest.cc.

GTEST_API_ std::string testing::internal::DiffStrings ( const std::string &  left,
const std::string &  right,
size_t *  total_line_count 
)
AssertionResult testing::internal::EqFailure ( const char *  expected_expression,
const char *  actual_expression,
const std::string &  expected_value,
const std::string &  actual_value,
bool  ignoring_case 
)

Definition at line 1498 of file gtest.cc.

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

Definition at line 1533 of file gtest.cc.

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

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

TypeId testing::internal::GetTestTypeId ( )

Definition at line 819 of file gtest.cc.

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

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

TestInfo * testing::internal::MakeAndRegisterTestInfo ( const char *  test_suite_name,
const char *  name,
const char *  type_param,
const char *  value_param,
CodeLocation  code_location,
TypeId  fixture_class_id,
SetUpTestSuiteFunc  set_up_tc,
TearDownTestSuiteFunc  tear_down_tc,
TestFactoryBase *  factory 
)

Definition at line 2762 of file gtest.cc.

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

Definition at line 6120 of file gtest.cc.

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

Definition at line 6092 of file gtest.cc.

bool testing::internal::AlwaysTrue ( )

Definition at line 6107 of file gtest.cc.

bool testing::internal::AlwaysFalse ( )
inline

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

template<class C , class Iterator = decltype(::std::declval<const C&>().begin()), class = decltype(::std::declval<const C&>().end()), class = decltype(++::std::declval<Iterator&>()), class = decltype(*::std::declval<Iterator>()), class = typename C::const_iterator>
IsContainer testing::internal::IsContainerTest ( int  )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

testing::internal::GTEST_INTERNAL_DEPRECATED ( "REGISTER_TYPED_TEST_CASE_P is  deprecated,
please use" "REGISTER_TYPED_TEST_SUITE_P  
) const

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

testing::internal::GTEST_INTERNAL_DEPRECATED ( "INSTANTIATE_TYPED_TEST_CASE_P is  deprecated,
please use" "INSTANTIATE_TYPED_TEST_SUITE_P  
) const

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

void testing::internal::ReportInvalidTestSuiteType ( const char *  test_suite_name,
CodeLocation  code_location 
)

Definition at line 2774 of file gtest.cc.

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

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

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

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

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

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

void testing::internal::InsertSyntheticTestCase ( const std::string &  name,
CodeLocation  location,
bool  has_test_p 
)

Definition at line 476 of file gtest.cc.

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

Definition at line 6105 of file gtest.cc.

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

Definition at line 1023 of file gtest-port.cc.

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

Definition at line 1041 of file gtest-port.cc.

void testing::internal::LogToStderr ( )
inline

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

void testing::internal::FlushInfoLog ( )
inline

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

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

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

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

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

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

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

GTEST_API_ void testing::internal::CaptureStdout ( )
GTEST_API_ std::string testing::internal::GetCapturedStdout ( )
GTEST_API_ void testing::internal::CaptureStderr ( )
GTEST_API_ std::string testing::internal::GetCapturedStderr ( )
size_t testing::internal::GetFileSize ( FILE *  file)

Definition at line 1213 of file gtest-port.cc.

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

Definition at line 1218 of file gtest-port.cc.

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

Definition at line 587 of file gtest.cc.

size_t testing::internal::GetThreadCount ( )

Definition at line 273 of file gtest-port.cc.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 1294 of file gtest-port.cc.

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

Definition at line 1336 of file gtest-port.cc.

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

Definition at line 1350 of file gtest-port.cc.

std::string testing::internal::OutputFlagAlsoCheckEnvVar ( )

Definition at line 1382 of file gtest-port.cc.

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

Definition at line 1393 of file gtest-port.cc.

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

Definition at line 2171 of file gtest.cc.

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

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

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

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

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

Definition at line 85 of file gtest-filepath.cc.

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

Definition at line 1279 of file gtest-port.cc.

void testing::internal::PrintBytesInObjectTo ( const unsigned char *  obj_bytes,
size_t  count,
ostream *  os 
)

Definition at line 115 of file gtest-printers.cc.

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

Definition at line 134 of file gtest-printers.cc.

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

Definition at line 143 of file gtest-printers.cc.

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

Definition at line 193 of file gtest-printers.cc.

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

Definition at line 208 of file gtest-printers.cc.

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

Definition at line 218 of file gtest-printers.cc.

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

Definition at line 251 of file gtest-printers.cc.

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

Definition at line 269 of file gtest-printers.cc.

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

Definition at line 300 of file gtest-printers.cc.

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

Definition at line 323 of file gtest-printers.cc.

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

Definition at line 329 of file gtest-printers.cc.

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

Definition at line 334 of file gtest-printers.cc.

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

Definition at line 351 of file gtest-printers.cc.

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

Definition at line 428 of file gtest-printers.cc.

static FILE* testing::internal::OpenFileForWriting ( const std::string &  output_file)
static

Definition at line 188 of file gtest.cc.

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

Definition at line 375 of file gtest.cc.

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

Definition at line 380 of file gtest.cc.

static bool testing::internal::TestSuitePassed ( const TestSuite *  test_suite)
static

Definition at line 390 of file gtest.cc.

static bool testing::internal::TestSuiteFailed ( const TestSuite *  test_suite)
static

Definition at line 395 of file gtest.cc.

static bool testing::internal::ShouldRunTestSuite ( const TestSuite *  test_suite)
static

Definition at line 401 of file gtest.cc.

std::set<std::string>* testing::internal::GetIgnoredParameterizedTestSuites ( )

Definition at line 465 of file gtest.cc.

void testing::internal::RegisterTypeParameterizedTestSuite ( const char *  test_suite_name,
CodeLocation  code_location 
)

Definition at line 519 of file gtest.cc.

void testing::internal::RegisterTypeParameterizedTestSuiteInstantiation ( const char *  case_name)

Definition at line 525 of file gtest.cc.

FilePath testing::internal::GetCurrentExecutableName ( )

Definition at line 600 of file gtest.cc.

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

Definition at line 830 of file gtest.cc.

TimeInMillis testing::internal::GetTimeInMillis ( )

Definition at line 1007 of file gtest.cc.

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

Definition at line 1118 of file gtest.cc.

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

Definition at line 1569 of file gtest.cc.

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

Definition at line 1930 of file gtest.cc.

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

Definition at line 1942 of file gtest.cc.

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

Definition at line 1977 of file gtest.cc.

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

Definition at line 1983 of file gtest.cc.

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

Definition at line 2009 of file gtest.cc.

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

Definition at line 2462 of file gtest.cc.

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

Definition at line 2595 of file gtest.cc.

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

Definition at line 2622 of file gtest.cc.

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

Definition at line 3143 of file gtest.cc.

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

Definition at line 3153 of file gtest.cc.

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

Definition at line 3223 of file gtest.cc.

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

Definition at line 3239 of file gtest.cc.

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

Definition at line 3280 of file gtest.cc.

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

Definition at line 3333 of file gtest.cc.

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

Definition at line 4077 of file gtest.cc.

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

Definition at line 4083 of file gtest.cc.

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

Definition at line 4100 of file gtest.cc.

static std::string testing::internal::FormatTimeInMillisAsDuration ( TimeInMillis  ms)
static

Definition at line 4481 of file gtest.cc.

static std::string testing::internal::FormatEpochTimeInMillisAsRFC3339 ( TimeInMillis  ms)
static

Definition at line 4489 of file gtest.cc.

static std::string testing::internal::Indent ( size_t  width)
inlinestatic

Definition at line 4502 of file gtest.cc.

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

Definition at line 5609 of file gtest.cc.

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

Definition at line 5610 of file gtest.cc.

void testing::internal::WriteToShardStatusFileIfNeeded ( )

Definition at line 5795 of file gtest.cc.

bool testing::internal::ShouldShard ( const char *  total_shards_env,
const char *  shard_index_env,
bool  in_subprocess_for_death_test 
)

Definition at line 5817 of file gtest.cc.

int32_t testing::internal::Int32FromEnvOrDie ( const char *  var,
int32_t  default_val 
)

Definition at line 5862 of file gtest.cc.

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

Definition at line 5880 of file gtest.cc.

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

Definition at line 5946 of file gtest.cc.

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

Definition at line 6134 of file gtest.cc.

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

Definition at line 6171 of file gtest.cc.

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

Definition at line 6187 of file gtest.cc.

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

Definition at line 6204 of file gtest.cc.

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

Definition at line 6222 of file gtest.cc.

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

Definition at line 6240 of file gtest.cc.

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

Definition at line 6366 of file gtest.cc.

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

Definition at line 6421 of file gtest.cc.

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

Definition at line 6474 of file gtest.cc.

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

Definition at line 6488 of file gtest.cc.

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

Definition at line 6497 of file gtest.cc.

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

Definition at line 226 of file googletest-listener-test.cc.

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

Definition at line 233 of file googletest-listener-test.cc.

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

Definition at line 54 of file googletest-port-test.cc.

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

Definition at line 67 of file googletest-port-test.cc.

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

Definition at line 72 of file googletest-port-test.cc.

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

Definition at line 85 of file googletest-port-test.cc.

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

Definition at line 109 of file googletest-port-test.cc.

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

Definition at line 114 of file googletest-port-test.cc.

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

Definition at line 132 of file googletest-port-test.cc.

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

Definition at line 151 of file googletest-port-test.cc.

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

Definition at line 176 of file googletest-port-test.cc.

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

Definition at line 197 of file googletest-port-test.cc.

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

Definition at line 204 of file googletest-port-test.cc.

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

Definition at line 220 of file googletest-port-test.cc.

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

Definition at line 234 of file googletest-port-test.cc.

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

Definition at line 239 of file googletest-port-test.cc.

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

Definition at line 245 of file googletest-port-test.cc.

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

Definition at line 249 of file googletest-port-test.cc.

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

Definition at line 254 of file googletest-port-test.cc.

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

Definition at line 258 of file googletest-port-test.cc.

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

Definition at line 263 of file googletest-port-test.cc.

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

Definition at line 267 of file googletest-port-test.cc.

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

Definition at line 314 of file googletest-port-test.cc.

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

Definition at line 319 of file googletest-port-test.cc.

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

Definition at line 350 of file googletest-port-test.cc.

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

Definition at line 893 of file googletest-port-test.cc.

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

Definition at line 903 of file googletest-port-test.cc.

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

Definition at line 914 of file googletest-port-test.cc.

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

Definition at line 923 of file googletest-port-test.cc.

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

Definition at line 935 of file googletest-port-test.cc.

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

Definition at line 943 of file googletest-port-test.cc.

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

Definition at line 958 of file googletest-port-test.cc.

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

Definition at line 963 of file googletest-port-test.cc.

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

Definition at line 973 of file googletest-port-test.cc.

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

Definition at line 113 of file gtest-unittest-api_test.cc.

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

Definition at line 139 of file gtest-unittest-api_test.cc.

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

Definition at line 146 of file gtest-unittest-api_test.cc.

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

Definition at line 209 of file gtest-unittest-api_test.cc.

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

Definition at line 230 of file gtest-unittest-api_test.cc.

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

Definition at line 231 of file gtest-unittest-api_test.cc.

Variable Documentation

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

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

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

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

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

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

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

Definition at line 279 of file gmock-spec-builders.cc.

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

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

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

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

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

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

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

Definition at line 181 of file gtest.cc.

constexpr BiggestInt testing::internal::kMaxBiggestInt = (std::numeric_limits<BiggestInt>::max)()

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

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

Definition at line 80 of file gtest-filepath.cc.

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

Definition at line 81 of file gtest-filepath.cc.

const int testing::internal::kStdOutFileno = STDOUT_FILENO

Definition at line 97 of file gtest-port.cc.

const int testing::internal::kStdErrFileno = STDERR_FILENO

Definition at line 98 of file gtest-port.cc.

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

Definition at line 1019 of file gtest-port.cc.

bool testing::internal::g_help_flag = false

Definition at line 185 of file gtest.cc.

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

Definition at line 585 of file gtest.cc.

const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId()
constexpr uint32_t testing::internal::kMaxCodePoint1 = (static_cast<uint32_t>(1) << 7) - 1

Definition at line 1916 of file gtest.cc.

constexpr uint32_t testing::internal::kMaxCodePoint2 = (static_cast<uint32_t>(1) << (5 + 6)) - 1

Definition at line 1919 of file gtest.cc.

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

Definition at line 1922 of file gtest.cc.

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

Definition at line 1925 of file gtest.cc.

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

Definition at line 3330 of file gtest.cc.

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

Definition at line 3331 of file gtest.cc.

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

Definition at line 6274 of file gtest.cc.

const int testing::internal::kTypedTestSuites = 0

Definition at line 106 of file gtest-unittest-api_test.cc.

const int testing::internal::kTypedTests = 0

Definition at line 107 of file gtest-unittest-api_test.cc.