proxygen
testing Namespace Reference

Namespaces

 gmock_generated_actions_test
 
 gmock_generated_function_mockers_test
 
 gmock_matchers_test
 
 gmock_more_actions_test
 
 gmock_nice_strict_test
 
 gtest_printers_test
 
 internal
 
 internal2
 

Classes

class  Action
 
class  ActionInterface
 
class  AssertionResult
 
class  Cardinality
 
class  CardinalityInterface
 
class  CodeLocationForTESTF
 
class  CodeLocationForTESTP
 
class  CodeLocationForTYPEDTEST
 
class  CodeLocationForTYPEDTESTP
 
class  CurrentTestInfoTest
 
class  DefaultValue
 
class  DefaultValue< T & >
 
class  DefaultValue< void >
 
class  EmptyTestEventListener
 
class  Environment
 
class  Expectation
 
class  ExpectationSet
 
struct  Flags
 
class  InitGoogleTestTest
 
class  InSequence
 
class  Matcher
 
class  Matcher< const internal::string & >
 
class  Matcher< internal::string >
 
class  MatcherDescriberInterface
 
class  MatcherInterface
 
class  MatchResultListener
 
class  Message
 
class  Mock
 
class  MockFunction
 
class  MockFunction< R(A0)>
 
class  MockFunction< R(A0, A1)>
 
class  MockFunction< R(A0, A1, A2)>
 
class  MockFunction< R(A0, A1, A2, A3)>
 
class  MockFunction< R(A0, A1, A2, A3, A4)>
 
class  MockFunction< R(A0, A1, A2, A3, A4, A5)>
 
class  MockFunction< R(A0, A1, A2, A3, A4, A5, A6)>
 
class  MockFunction< R(A0, A1, A2, A3, A4, A5, A6, A7)>
 
class  MockFunction< R(A0, A1, A2, A3, A4, A5, A6, A7, A8)>
 
class  MockFunction< R(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)>
 
class  NaggyMock
 
class  NiceMock
 
class  PolymorphicAction
 
class  PolymorphicMatcher
 
class  SafeMatcherCastImpl
 
class  ScopedFakeTestPartResultReporter
 
class  Sequence
 
class  SetUpTestCaseTest
 
class  StrictMock
 
class  StringMatchResultListener
 
class  Test
 
class  TestCase
 
class  TestEventListener
 
class  TestEventListeners
 
class  TestInfo
 
class  TestInfoTest
 
class  TestPartResult
 
class  TestPartResultArray
 
class  TestPartResultReporterInterface
 
class  TestProperty
 
class  TestResult
 
class  UnitTest
 

Typedefs

typedef internal::IgnoredValue Unused
 
typedef internal::TimeInMillis TimeInMillis
 

Functions

template<typename F >
Action< F > MakeAction (ActionInterface< F > *impl)
 
template<typename Impl >
PolymorphicAction< Impl > MakePolymorphicAction (const Impl &impl)
 
template<typename R >
internal::ReturnAction< R > Return (R value)
 
PolymorphicAction< internal::ReturnNullActionReturnNull ()
 
PolymorphicAction< internal::ReturnVoidActionReturn ()
 
template<typename R >
internal::ReturnRefAction< R > ReturnRef (R &x)
 
template<typename R >
internal::ReturnRefOfCopyAction< R > ReturnRefOfCopy (const R &x)
 
template<typename R >
internal::ByMoveWrapper< R > ByMove (R x)
 
internal::DoDefaultAction DoDefault ()
 
template<size_t N, typename T >
PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage< T >::value > > SetArgPointee (const T &x)
 
template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction< N, const char *, false > > SetArgPointee (const char *p)
 
template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction< N, const wchar_t *, false > > SetArgPointee (const wchar_t *p)
 
template<size_t N, typename T >
PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage< T >::value > > SetArgumentPointee (const T &x)
 
template<typename T1 , typename T2 >
PolymorphicAction< internal::AssignAction< T1, T2 > > Assign (T1 *ptr, T2 val)
 
template<typename T >
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > SetErrnoAndReturn (int errval, T result)
 
template<typename FunctionImpl >
PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > InvokeWithoutArgs (FunctionImpl function_impl)
 
template<class Class , typename MethodPtr >
PolymorphicAction< internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > > InvokeWithoutArgs (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename A >
internal::IgnoreResultAction< AIgnoreResult (const A &an_action)
 
template<typename T >
internal::ReferenceWrapper< TByRef (T &l_value)
 
GTEST_API_ Cardinality AtLeast (int n)
 
GTEST_API_ Cardinality AtMost (int n)
 
GTEST_API_ Cardinality AnyNumber ()
 
GTEST_API_ Cardinality Between (int min, int max)
 
GTEST_API_ Cardinality Exactly (int n)
 
Cardinality MakeCardinality (const CardinalityInterface *c)
 
template<int k1, typename InnerAction >
internal::WithArgsAction< InnerAction, k1 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, int k5, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7, k8 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7, k8, k9 > WithArgs (const InnerAction &action)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, int k10, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > WithArgs (const InnerAction &action)
 
template<typename Action1 , typename Action2 >
internal::DoBothAction< Action1, Action2 > DoAll (Action1 a1, Action2 a2)
 
template<typename Action1 , typename Action2 , typename Action3 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, Action3 > > DoAll (Action1 a1, Action2 a2, Action3 a3)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, Action4 > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, Action5 > > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, Action6 > > > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, Action7 > > > > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 , typename Action8 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, Action8 > > > > > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 , typename Action8 , typename Action9 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, Action9 > > > > > > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9)
 
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 , typename Action8 , typename Action9 , typename Action10 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll (Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
 
template<int k>
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction,)
 
template<int k>
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction,)< k > InvokeArgument()
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction,)< k >
 
template<int k, typename p0_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P)< k
 
p0_type InvokeArgument (p0_type p0)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P)< k
 
template<int k, typename p0_type , typename p1_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P2)
 
template<int k, typename p0_type , typename p1_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P2)< k
 
p1_type InvokeArgument (p0_type p0, p1_type p1)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P2)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P3)
 
template<int k, typename p0_type , typename p1_type , typename p2_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P3)< k
 
p2_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P3)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P4)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P4)< k
 
p3_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P4)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P5)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P5)< k
 
p4_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P5)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P6)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P6)< k
 
p5_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P6)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P7)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P7)< k
 
p6_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P7)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P8)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P8)< k
 
p7_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P8)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P9)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P9)< k
 
p8_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7, p8_type p8)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P9)< k
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
class GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P10)
 
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
 GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P10)< k
 
p9_type InvokeArgument (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7, p8_type p8, p9_type p9)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (InvokeArgumentAction, P10)< k
 
template<typename T >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction,)
 
template<typename T >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction,)< T > ReturnNew()
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction,)< T >
 
template<typename T , typename p0_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P)< T
 
p0_type ReturnNew (p0_type p0)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P)< T
 
template<typename T , typename p0_type , typename p1_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P2)
 
template<typename T , typename p0_type , typename p1_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P2)< T
 
p1_type ReturnNew (p0_type p0, p1_type p1)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P2)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P3)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P3)< T
 
p2_type ReturnNew (p0_type p0, p1_type p1, p2_type p2)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P3)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P4)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P4)< T
 
p3_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P4)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P5)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P5)< T
 
p4_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P5)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P6)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P6)< T
 
p5_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P6)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P7)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P7)< T
 
p6_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P7)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P8)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P8)< T
 
p7_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P8)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P9)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P9)< T
 
p8_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7, p8_type p8)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P9)< T
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
class GTEST_CONCAT_TOKEN_ (ReturnNewAction, P10)
 
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
 GTEST_CONCAT_TOKEN_ (ReturnNewAction, P10)< T
 
p9_type ReturnNew (p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7, p8_type p8, p9_type p9)
 
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function< F >::Result GTEST_CONCAT_TOKEN_ (ReturnNewAction, P10)< T
 
template<typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher > Args (const InnerMatcher &matcher)
 
template<int k1, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9 > Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, int k10, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args (const InnerMatcher &matcher)
 
internal::ElementsAreMatcher< ::testing::tuple<> > ElementsAre ()
 
template<typename T1 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type > > ElementsAre (const T1 &e1)
 
template<typename T1 , typename T2 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type > > ElementsAre (const T1 &e1, const T2 &e2)
 
template<typename T1 , typename T2 , typename T3 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type, typename internal::DecayArray< T8 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type, typename internal::DecayArray< T8 >::type, typename internal::DecayArray< T9 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8, const T9 &e9)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type, typename internal::DecayArray< T8 >::type, typename internal::DecayArray< T9 >::type, typename internal::DecayArray< T10 >::type > > ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8, const T9 &e9, const T10 &e10)
 
internal::UnorderedElementsAreMatcher< ::testing::tuple<> > UnorderedElementsAre ()
 
template<typename T1 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type > > UnorderedElementsAre (const T1 &e1)
 
template<typename T1 , typename T2 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2)
 
template<typename T1 , typename T2 , typename T3 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type, typename internal::DecayArray< T8 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type, typename internal::DecayArray< T8 >::type, typename internal::DecayArray< T9 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8, const T9 &e9)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray< T1 >::type, typename internal::DecayArray< T2 >::type, typename internal::DecayArray< T3 >::type, typename internal::DecayArray< T4 >::type, typename internal::DecayArray< T5 >::type, typename internal::DecayArray< T6 >::type, typename internal::DecayArray< T7 >::type, typename internal::DecayArray< T8 >::type, typename internal::DecayArray< T9 >::type, typename internal::DecayArray< T10 >::type > > UnorderedElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8, const T9 &e9, const T10 &e10)
 
template<typename M1 , typename M2 >
internal::AllOfResult2< M1, M2 >::type AllOf (M1 m1, M2 m2)
 
template<typename M1 , typename M2 , typename M3 >
internal::AllOfResult3< M1, M2, M3 >::type AllOf (M1 m1, M2 m2, M3 m3)
 
template<typename M1 , typename M2 , typename M3 , typename M4 >
internal::AllOfResult4< M1, M2, M3, M4 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 >
internal::AllOfResult5< M1, M2, M3, M4, M5 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 >
internal::AllOfResult6< M1, M2, M3, M4, M5, M6 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 >
internal::AllOfResult7< M1, M2, M3, M4, M5, M6, M7 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 >
internal::AllOfResult8< M1, M2, M3, M4, M5, M6, M7, M8 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 >
internal::AllOfResult9< M1, M2, M3, M4, M5, M6, M7, M8, M9 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 , typename M10 >
internal::AllOfResult10< M1, M2, M3, M4, M5, M6, M7, M8, M9, M10 >::type AllOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10)
 
template<typename M1 , typename M2 >
internal::AnyOfResult2< M1, M2 >::type AnyOf (M1 m1, M2 m2)
 
template<typename M1 , typename M2 , typename M3 >
internal::AnyOfResult3< M1, M2, M3 >::type AnyOf (M1 m1, M2 m2, M3 m3)
 
template<typename M1 , typename M2 , typename M3 , typename M4 >
internal::AnyOfResult4< M1, M2, M3, M4 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 >
internal::AnyOfResult5< M1, M2, M3, M4, M5 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 >
internal::AnyOfResult6< M1, M2, M3, M4, M5, M6 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 >
internal::AnyOfResult7< M1, M2, M3, M4, M5, M6, M7 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 >
internal::AnyOfResult8< M1, M2, M3, M4, M5, M6, M7, M8 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 >
internal::AnyOfResult9< M1, M2, M3, M4, M5, M6, M7, M8, M9 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9)
 
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 , typename M10 >
internal::AnyOfResult10< M1, M2, M3, M4, M5, M6, M7, M8, M9, M10 >::type AnyOf (M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10)
 
template<typename T >
Matcher< TMakeMatcher (const MatcherInterface< T > *impl)
 
template<class Impl >
PolymorphicMatcher< Impl > MakePolymorphicMatcher (const Impl &impl)
 
template<typename T , typename M >
Matcher< TMatcherCast (const M &matcher)
 
template<typename T , typename M >
Matcher< TSafeMatcherCast (const M &polymorphic_matcher)
 
template<typename T >
Matcher< TA ()
 
template<typename Iter >
internal::ElementsAreArrayMatcher< typename::std::iterator_traits< Iter >::value_type > ElementsAreArray (Iter first, Iter last)
 
template<typename T >
internal::ElementsAreArrayMatcher< TElementsAreArray (const T *pointer, size_t count)
 
template<typename T , size_t N>
internal::ElementsAreArrayMatcher< TElementsAreArray (const T(&array)[N])
 
template<typename Container >
internal::ElementsAreArrayMatcher< typename Container::value_type > ElementsAreArray (const Container &container)
 
template<typename Iter >
internal::UnorderedElementsAreArrayMatcher< typename::std::iterator_traits< Iter >::value_type > UnorderedElementsAreArray (Iter first, Iter last)
 
template<typename T >
internal::UnorderedElementsAreArrayMatcher< TUnorderedElementsAreArray (const T *pointer, size_t count)
 
template<typename T , size_t N>
internal::UnorderedElementsAreArrayMatcher< TUnorderedElementsAreArray (const T(&array)[N])
 
template<typename Container >
internal::UnorderedElementsAreArrayMatcher< typename Container::value_type > UnorderedElementsAreArray (const Container &container)
 
template<typename T >
Matcher< TAn ()
 
template<typename T >
internal::EqMatcher< TEq (T x)
 
template<typename Lhs , typename Rhs >
Matcher< Lhs > TypedEq (const Rhs &rhs)
 
template<typename Rhs >
internal::GeMatcher< Rhs > Ge (Rhs x)
 
template<typename Rhs >
internal::GtMatcher< Rhs > Gt (Rhs x)
 
template<typename Rhs >
internal::LeMatcher< Rhs > Le (Rhs x)
 
template<typename Rhs >
internal::LtMatcher< Rhs > Lt (Rhs x)
 
template<typename Rhs >
internal::NeMatcher< Rhs > Ne (Rhs x)
 
PolymorphicMatcher< internal::IsNullMatcherIsNull ()
 
PolymorphicMatcher< internal::NotNullMatcherNotNull ()
 
template<typename T >
internal::RefMatcher< T & > Ref (T &x)
 
internal::FloatingEqMatcher< double > DoubleEq (double rhs)
 
internal::FloatingEqMatcher< double > NanSensitiveDoubleEq (double rhs)
 
internal::FloatingEqMatcher< double > DoubleNear (double rhs, double max_abs_error)
 
internal::FloatingEqMatcher< double > NanSensitiveDoubleNear (double rhs, double max_abs_error)
 
internal::FloatingEqMatcher< float > FloatEq (float rhs)
 
internal::FloatingEqMatcher< float > NanSensitiveFloatEq (float rhs)
 
internal::FloatingEqMatcher< float > FloatNear (float rhs, float max_abs_error)
 
internal::FloatingEqMatcher< float > NanSensitiveFloatNear (float rhs, float max_abs_error)
 
template<typename InnerMatcher >
internal::PointeeMatcher< InnerMatcher > Pointee (const InnerMatcher &inner_matcher)
 
template<typename To >
PolymorphicMatcher< internal::WhenDynamicCastToMatcher< To > > WhenDynamicCastTo (const Matcher< To > &inner_matcher)
 
template<typename Class , typename FieldType , typename FieldMatcher >
PolymorphicMatcher< internal::FieldMatcher< Class, FieldType > > Field (FieldType Class::*field, const FieldMatcher &matcher)
 
template<typename Class , typename PropertyType , typename PropertyMatcher >
PolymorphicMatcher< internal::PropertyMatcher< Class, PropertyType > > Property (PropertyType(Class::*property)() const, const PropertyMatcher &matcher)
 
template<typename Callable , typename ResultOfMatcher >
internal::ResultOfMatcher< Callable > ResultOf (Callable callable, const ResultOfMatcher &matcher)
 
PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > StrEq (const internal::string &str)
 
PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > StrNe (const internal::string &str)
 
PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > StrCaseEq (const internal::string &str)
 
PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > StrCaseNe (const internal::string &str)
 
PolymorphicMatcher< internal::HasSubstrMatcher< internal::string > > HasSubstr (const internal::string &substring)
 
PolymorphicMatcher< internal::StartsWithMatcher< internal::string > > StartsWith (const internal::string &prefix)
 
PolymorphicMatcher< internal::EndsWithMatcher< internal::string > > EndsWith (const internal::string &suffix)
 
PolymorphicMatcher< internal::MatchesRegexMatcherMatchesRegex (const internal::RE *regex)
 
PolymorphicMatcher< internal::MatchesRegexMatcherMatchesRegex (const internal::string &regex)
 
PolymorphicMatcher< internal::MatchesRegexMatcherContainsRegex (const internal::RE *regex)
 
PolymorphicMatcher< internal::MatchesRegexMatcherContainsRegex (const internal::string &regex)
 
internal::Eq2Matcher Eq ()
 
internal::Ge2Matcher Ge ()
 
internal::Gt2Matcher Gt ()
 
internal::Le2Matcher Le ()
 
internal::Lt2Matcher Lt ()
 
internal::Ne2Matcher Ne ()
 
template<typename InnerMatcher >
internal::NotMatcher< InnerMatcher > Not (InnerMatcher m)
 
template<typename Predicate >
PolymorphicMatcher< internal::TrulyMatcher< Predicate > > Truly (Predicate pred)
 
template<typename SizeMatcher >
internal::SizeIsMatcher< SizeMatcher > SizeIs (const SizeMatcher &size_matcher)
 
template<typename DistanceMatcher >
internal::BeginEndDistanceIsMatcher< DistanceMatcher > BeginEndDistanceIs (const DistanceMatcher &distance_matcher)
 
template<typename Container >
PolymorphicMatcher< internal::ContainerEqMatcher< GTEST_REMOVE_CONST_(Container)> > ContainerEq (const Container &rhs)
 
template<typename Comparator , typename ContainerMatcher >
internal::WhenSortedByMatcher< Comparator, ContainerMatcher > WhenSortedBy (const Comparator &comparator, const ContainerMatcher &container_matcher)
 
template<typename ContainerMatcher >
internal::WhenSortedByMatcher< internal::LessComparator, ContainerMatcher > WhenSorted (const ContainerMatcher &container_matcher)
 
template<typename TupleMatcher , typename Container >
internal::PointwiseMatcher< TupleMatcher, GTEST_REMOVE_CONST_(Container)> Pointwise (const TupleMatcher &tuple_matcher, const Container &rhs)
 
template<typename Tuple2Matcher , typename RhsContainer >
internal::UnorderedElementsAreArrayMatcher< typename internal::BoundSecondMatcher< Tuple2Matcher, typename internal::StlContainerView< GTEST_REMOVE_CONST_(RhsContainer)>::type::value_type > > UnorderedPointwise (const Tuple2Matcher &tuple2_matcher, const RhsContainer &rhs_container)
 
template<typename M >
internal::ContainsMatcher< MContains (M matcher)
 
template<typename M >
internal::EachMatcher< MEach (M matcher)
 
template<typename M >
internal::KeyMatcher< MKey (M inner_matcher)
 
template<typename FirstMatcher , typename SecondMatcher >
internal::PairMatcher< FirstMatcher, SecondMatcher > Pair (FirstMatcher first_matcher, SecondMatcher second_matcher)
 
template<typename M >
internal::MatcherAsPredicate< MMatches (M matcher)
 
template<typename T , typename M >
bool Value (const T &value, M matcher)
 
template<typename T , typename M >
bool ExplainMatchResult (M matcher, const T &value, MatchResultListener *listener)
 
template<typename InnerMatcher >
InnerMatcher AllArgs (const InnerMatcher &matcher)
 
template<typename FunctionImpl >
PolymorphicAction< internal::InvokeAction< FunctionImpl > > Invoke (FunctionImpl function_impl)
 
template<class Class , typename MethodPtr >
PolymorphicAction< internal::InvokeMethodAction< Class, MethodPtr > > Invoke (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename InnerAction >
internal::WithArgsAction< InnerAction > WithoutArgs (const InnerAction &action)
 
template<int k, typename InnerAction >
internal::WithArgsAction< InnerAction, kWithArg (const InnerAction &action)
 
 ACTION_TEMPLATE (ReturnArg, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS())
 
 ACTION_TEMPLATE (SaveArg, HAS_1_TEMPLATE_PARAMS(int, k), AND_1_VALUE_PARAMS(pointer))
 
 ACTION_TEMPLATE (SaveArgPointee, HAS_1_TEMPLATE_PARAMS(int, k), AND_1_VALUE_PARAMS(pointer))
 
 ACTION_TEMPLATE (SetArgReferee, HAS_1_TEMPLATE_PARAMS(int, k), AND_1_VALUE_PARAMS(value))
 
 ACTION_TEMPLATE (SetArrayArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_2_VALUE_PARAMS(first, last))
 
 ACTION_TEMPLATE (DeleteArg, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS())
 
 ACTION_P (ReturnPointee, pointer)
 
 MATCHER (IsEmpty, negation?"isn't empty":"is empty")
 
template<typename T >
const TConst (const T &x)
 
 GMOCK_DECLARE_bool_ (catch_leaked_mocks)
 
 GMOCK_DECLARE_string_ (verbose)
 
GTEST_API_ void InitGoogleMock (int *argc, char **argv)
 
GTEST_API_ void InitGoogleMock (int *argc, wchar_t **argv)
 
 GMOCK_DEFINE_bool_ (catch_leaked_mocks, true,"true iff Google Mock should report leaked mock objects ""as failures.")
 
 GMOCK_DEFINE_string_ (verbose, internal::kWarningVerbosity,"Controls how verbose Google Mock's output is."" Valid values:\n"" info - prints all messages.\n"" warning - prints warnings and errors.\n"" error - prints errors only.")
 
 GTEST_DECLARE_string_ (death_test_style)
 
std::ostream & operator<< (std::ostream &os, const Message &sb)
 
template<typename T >
::std::string PrintToString (const T &value)
 
std::ostream & operator<< (std::ostream &os, const TestPartResult &result)
 
 GTEST_DECLARE_bool_ (also_run_disabled_tests)
 
 GTEST_DECLARE_bool_ (break_on_failure)
 
 GTEST_DECLARE_bool_ (catch_exceptions)
 
 GTEST_DECLARE_string_ (color)
 
 GTEST_DECLARE_string_ (filter)
 
 GTEST_DECLARE_bool_ (list_tests)
 
 GTEST_DECLARE_string_ (output)
 
 GTEST_DECLARE_bool_ (print_time)
 
 GTEST_DECLARE_int32_ (random_seed)
 
 GTEST_DECLARE_int32_ (repeat)
 
 GTEST_DECLARE_bool_ (show_internal_stack_frames)
 
 GTEST_DECLARE_bool_ (shuffle)
 
 GTEST_DECLARE_int32_ (stack_trace_depth)
 
 GTEST_DECLARE_bool_ (throw_on_failure)
 
 GTEST_DECLARE_string_ (stream_result_to)
 
GTEST_API_ AssertionResult AssertionSuccess ()
 
GTEST_API_ AssertionResult AssertionFailure ()
 
GTEST_API_ AssertionResult AssertionFailure (const Message &msg)
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
GTEST_API_ void InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void InitGoogleTest (int *argc, wchar_t **argv)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult FloatLE (const char *expr1, const char *expr2, float val1, float val2)
 
GTEST_API_ AssertionResult DoubleLE (const char *expr1, const char *expr2, double val1, double val2)
 
template<typename T1 , typename T2 >
bool StaticAssertTypeEq ()
 
 GTEST_DEFINE_string_ (death_test_style, internal::StringFromGTestEnv("death_test_style", kDefaultDeathTestStyle),"Indicates how to run a death test in a forked child process: ""\"threadsafe\" (child process re-executes the test binary ""from the beginning, running only the specific death test) or ""\"fast\" (child process runs the death test immediately ""after forking).")
 
 GTEST_DEFINE_bool_ (death_test_use_fork, internal::BoolFromGTestEnv("death_test_use_fork", false),"Instructs to use fork()/_exit() instead of clone() in death tests. ""Ignored and always uses fork() on POSIX systems where clone() is not ""implemented. Useful when running under valgrind or similar tools if ""those do not support clone(). Valgrind 3.3.1 will just fail if ""it sees an unsupported combination of clone() flags. ""It is not recommended to use this flag w/o valgrind though it will ""work in 99% of the cases. Once valgrind is fixed, this flag will ""most likely be removed.")
 
 GTEST_DECLARE_bool_ (death_test_use_fork)
 
static const char * GetDefaultFilter ()
 
 GTEST_DEFINE_bool_ (also_run_disabled_tests, internal::BoolFromGTestEnv("also_run_disabled_tests", false),"Run disabled tests too, in addition to the tests normally being run.")
 
 GTEST_DEFINE_bool_ (break_on_failure, internal::BoolFromGTestEnv("break_on_failure", false),"True iff a failed assertion should be a debugger break-point.")
 
 GTEST_DEFINE_bool_ (catch_exceptions, internal::BoolFromGTestEnv("catch_exceptions", true),"True iff "GTEST_NAME_" should catch exceptions and treat them as test failures.")
 
 GTEST_DEFINE_string_ (color, internal::StringFromGTestEnv("color","auto"),"Whether to use colors in the output. Valid values: yes, no, ""and auto. 'auto' means to use colors if the output is ""being sent to a terminal and the TERM environment variable ""is set to a terminal type that supports colors.")
 
 GTEST_DEFINE_string_ (filter, internal::StringFromGTestEnv("filter", GetDefaultFilter()),"A colon-separated list of glob (not regex) patterns ""for filtering the tests to run, optionally followed by a ""'-' and a : separated list of negative patterns (tests to ""exclude). A test is run if it matches one of the positive ""patterns and does not match any of the negative patterns.")
 
 GTEST_DEFINE_bool_ (list_tests, false,"List all tests without running them.")
 
 GTEST_DEFINE_string_ (output, internal::StringFromGTestEnv("output",""),"A format (currently must be \"xml\"), optionally followed ""by a colon and an output file name or directory. A directory ""is indicated by a trailing pathname separator. ""Examples: \"xml:filename.xml\", \"xml::directoryname/\". ""If a directory is specified, output files will be created ""within that directory, with file-names based on the test ""executable's name and, if necessary, made unique by adding ""digits.")
 
 GTEST_DEFINE_bool_ (print_time, internal::BoolFromGTestEnv("print_time", true),"True iff "GTEST_NAME_" should display elapsed time in text output.")
 
 GTEST_DEFINE_int32_ (random_seed, internal::Int32FromGTestEnv("random_seed", 0),"Random number seed to use when shuffling test orders. Must be in range ""[1, 99999], or 0 to use a seed based on the current time.")
 
 GTEST_DEFINE_int32_ (repeat, internal::Int32FromGTestEnv("repeat", 1),"How many times to repeat each test. Specify a negative number ""for repeating forever. Useful for shaking out flaky tests.")
 
 GTEST_DEFINE_bool_ (show_internal_stack_frames, false,"True iff "GTEST_NAME_" should include internal stack frames when ""printing test failure stack traces.")
 
 GTEST_DEFINE_bool_ (shuffle, internal::BoolFromGTestEnv("shuffle", false),"True iff "GTEST_NAME_" should randomize tests' order on every run.")
 
 GTEST_DEFINE_int32_ (stack_trace_depth, internal::Int32FromGTestEnv("stack_trace_depth", kMaxStackTraceDepth),"The maximum number of stack frames to print when an ""assertion fails. The valid range is 0 through 100, inclusive.")
 
 GTEST_DEFINE_string_ (stream_result_to, internal::StringFromGTestEnv("stream_result_to",""),"This flag specifies the host name and the port number on which to stream ""test results. Example: \"localhost:555\". The flag is effective only on ""Linux.")
 
 GTEST_DEFINE_bool_ (throw_on_failure, internal::BoolFromGTestEnv("throw_on_failure", false),"When this flag is specified, a failed assertion will throw an exception ""if exceptions are enabled or exit the program with a non-zero code ""otherwise.")
 
template<int kSize>
std::vector< std::stringArrayAsVector (const char *const (&array)[kSize])
 
static std::vector< std::stringGetReservedAttributesForElement (const std::string &xml_element)
 
static std::string FormatWordList (const std::vector< std::string > &words)
 
bool ValidateTestPropertyName (const std::string &property_name, const std::vector< std::string > &reserved_names)
 
static bool TestPartFatallyFailed (const TestPartResult &result)
 
static bool TestPartNonfatallyFailed (const TestPartResult &result)
 
static std::string FormatCountableNoun (int count, const char *singular_form, const char *plural_form)
 
static std::string FormatTestCount (int test_count)
 
static std::string FormatTestCaseCount (int test_case_count)
 
static const char * TestPartResultTypeToString (TestPartResult::Type type)
 
 TEST (GTestEnvVarTest, Dummy)
 
void PrintFlag (const char *flag)
 
 TEST (SuccessfulAssertionTest, SUCCEED)
 
 TEST (SuccessfulAssertionTest, EXPECT)
 
 TEST (SuccessfulAssertionTest, EXPECT_STR)
 
 TEST (SuccessfulAssertionTest, ASSERT)
 
 TEST (SuccessfulAssertionTest, ASSERT_STR)
 
 TEST_F (TestInfoTest, Names)
 
 TEST_F (TestInfoTest, result)
 
 TEST (CodeLocationForTEST, Verify)
 
 TEST_F (CodeLocationForTESTF, Verify)
 
 TEST_P (CodeLocationForTESTP, Verify)
 
 INSTANTIATE_TEST_CASE_P (, CodeLocationForTESTP, Values(0))
 
 TYPED_TEST_CASE (CodeLocationForTYPEDTEST, int)
 
 TYPED_TEST (CodeLocationForTYPEDTEST, Verify)
 
 TYPED_TEST_CASE_P (CodeLocationForTYPEDTESTP)
 
 TYPED_TEST_P (CodeLocationForTYPEDTESTP, Verify)
 
 REGISTER_TYPED_TEST_CASE_P (CodeLocationForTYPEDTESTP, Verify)
 
 INSTANTIATE_TYPED_TEST_CASE_P (My, CodeLocationForTYPEDTESTP, int)
 
 TEST_F (SetUpTestCaseTest, Test1)
 
 TEST_F (SetUpTestCaseTest, Test2)
 
 TEST_F (InitGoogleTestTest, Empty)
 
 TEST_F (InitGoogleTestTest, NoFlag)
 
 TEST_F (InitGoogleTestTest, FilterBad)
 
 TEST_F (InitGoogleTestTest, FilterEmpty)
 
 TEST_F (InitGoogleTestTest, FilterNonEmpty)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureWithoutValue)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureFalse_0)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureFalse_f)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureFalse_F)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureTrue)
 
 TEST_F (InitGoogleTestTest, CatchExceptions)
 
 TEST_F (InitGoogleTestTest, DeathTestUseFork)
 
 TEST_F (InitGoogleTestTest, DuplicatedFlags)
 
 TEST_F (InitGoogleTestTest, UnrecognizedFlag)
 
 TEST_F (InitGoogleTestTest, ListTestsFlag)
 
 TEST_F (InitGoogleTestTest, ListTestsTrue)
 
 TEST_F (InitGoogleTestTest, ListTestsFalse)
 
 TEST_F (InitGoogleTestTest, ListTestsFalse_f)
 
 TEST_F (InitGoogleTestTest, ListTestsFalse_F)
 
 TEST_F (InitGoogleTestTest, OutputEmpty)
 
 TEST_F (InitGoogleTestTest, OutputXml)
 
 TEST_F (InitGoogleTestTest, OutputXmlFile)
 
 TEST_F (InitGoogleTestTest, OutputXmlDirectory)
 
 TEST_F (InitGoogleTestTest, PrintTimeFlag)
 
 TEST_F (InitGoogleTestTest, PrintTimeTrue)
 
 TEST_F (InitGoogleTestTest, PrintTimeFalse)
 
 TEST_F (InitGoogleTestTest, PrintTimeFalse_f)
 
 TEST_F (InitGoogleTestTest, PrintTimeFalse_F)
 
 TEST_F (InitGoogleTestTest, RandomSeed)
 
 TEST_F (InitGoogleTestTest, Repeat)
 
 TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsFlag)
 
 TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsTrue)
 
 TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsFalse)
 
 TEST_F (InitGoogleTestTest, ShuffleWithoutValue)
 
 TEST_F (InitGoogleTestTest, ShuffleFalse_0)
 
 TEST_F (InitGoogleTestTest, ShuffleTrue)
 
 TEST_F (InitGoogleTestTest, StackTraceDepth)
 
 TEST_F (InitGoogleTestTest, StreamResultTo)
 
 TEST_F (InitGoogleTestTest, ThrowOnFailureWithoutValue)
 
 TEST_F (InitGoogleTestTest, ThrowOnFailureFalse_0)
 
 TEST_F (InitGoogleTestTest, ThrowOnFailureTrue)
 
 TEST_F (CurrentTestInfoTest, WorksForFirstTestInATestCase)
 
 TEST_F (CurrentTestInfoTest, WorksForSecondTestInATestCase)
 
static const char * GetDefaultFilter ()
 
static std::vector< std::stringGetReservedAttributesForElement (const std::string &xml_element)
 
static std::string FormatWordList (const std::vector< std::string > &words)
 
static bool TestPartFatallyFailed (const TestPartResult &result)
 
static bool TestPartNonfatallyFailed (const TestPartResult &result)
 
static std::string FormatCountableNoun (int count, const char *singular_form, const char *plural_form)
 
static std::string FormatTestCount (int test_count)
 
static std::string FormatTestCaseCount (int test_case_count)
 
static const char * TestPartResultTypeToString (TestPartResult::Type type)
 
static const char * GetDefaultFilter ()
 
static std::vector< std::stringGetReservedAttributesForElement (const std::string &xml_element)
 
static std::string FormatWordList (const std::vector< std::string > &words)
 
static bool TestPartFatallyFailed (const TestPartResult &result)
 
static bool TestPartNonfatallyFailed (const TestPartResult &result)
 
static std::string FormatCountableNoun (int count, const char *singular_form, const char *plural_form)
 
static std::string FormatTestCount (int test_count)
 
static std::string FormatTestCaseCount (int test_case_count)
 
static const char * TestPartResultTypeToString (TestPartResult::Type type)
 

Variables

 p0_type
 
 p1_type
 
 p2_type
 
 p3_type
 
 p4_type
 
 p5_type
 
 p6_type
 
 p7_type
 
 p8_type
 
const internal::AnythingMatcher _ = {}
 
class GTEST_API_ testing::InSequence GTEST_ATTRIBUTE_UNUSED_
 
const int kMaxStackTraceDepth = 100
 
static const char kDefaultDeathTestStyle [] = "fast"
 
static const char kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*"
 
static const char kDeathTestCaseFilter [] = "*DeathTest:*DeathTest/*"
 
static const char kUniversalFilter [] = "*"
 
static const char kDefaultOutputFile [] = "test_detail.xml"
 
static const char kTestShardIndex [] = "GTEST_SHARD_INDEX"
 
static const char kTestTotalShards [] = "GTEST_TOTAL_SHARDS"
 
static const char kTestShardStatusFile [] = "GTEST_SHARD_STATUS_FILE"
 
static const char *const kReservedTestSuitesAttributes []
 
static const char *const kReservedTestSuiteAttributes []
 
static const char *const kReservedTestCaseAttributes []
 
static const char kDefaultDeathTestStyle [] = "fast"
 
static const char kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*"
 
static const char kDeathTestCaseFilter [] = "*DeathTest:*DeathTest/*"
 
static const char kUniversalFilter [] = "*"
 
static const char kDefaultOutputFile [] = "test_detail.xml"
 
static const char kTestShardIndex [] = "GTEST_SHARD_INDEX"
 
static const char kTestTotalShards [] = "GTEST_TOTAL_SHARDS"
 
static const char kTestShardStatusFile [] = "GTEST_SHARD_STATUS_FILE"
 
static const char *const kReservedTestSuitesAttributes []
 
static const char *const kReservedTestSuiteAttributes []
 
static const char *const kReservedTestCaseAttributes []
 
static const char kDefaultDeathTestStyle [] = "fast"
 
static const char kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*"
 
static const char kDeathTestCaseFilter [] = "*DeathTest:*DeathTest/*"
 
static const char kUniversalFilter [] = "*"
 
static const char kDefaultOutputFile [] = "test_detail.xml"
 
static const char kTestShardIndex [] = "GTEST_SHARD_INDEX"
 
static const char kTestTotalShards [] = "GTEST_TOTAL_SHARDS"
 
static const char kTestShardStatusFile [] = "GTEST_SHARD_STATUS_FILE"
 
static const char *const kReservedTestSuitesAttributes []
 
static const char *const kReservedTestSuiteAttributes []
 
static const char *const kReservedTestCaseAttributes []
 

Typedef Documentation

Definition at line 480 of file gtest.h.

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

Function Documentation

testing::ACTION_P ( ReturnPointee  ,
pointer   
)

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

Referenced by testing::internal::InvokeMethodAction< Class, MethodPtr >::Perform().

222 { return *pointer; }
testing::ACTION_TEMPLATE ( ReturnArg  ,
HAS_1_TEMPLATE_PARAMS(int, k ,
AND_0_VALUE_PARAMS()   
)
testing::ACTION_TEMPLATE ( SaveArg  ,
HAS_1_TEMPLATE_PARAMS(int, k ,
AND_1_VALUE_PARAMS(pointer)   
)

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

171  {
172  *pointer = ::testing::get<k>(args);
173 }
testing::ACTION_TEMPLATE ( SaveArgPointee  ,
HAS_1_TEMPLATE_PARAMS(int, k ,
AND_1_VALUE_PARAMS(pointer)   
)

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

179  {
180  *pointer = *::testing::get<k>(args);
181 }
testing::ACTION_TEMPLATE ( SetArgReferee  ,
HAS_1_TEMPLATE_PARAMS(int, k ,
AND_1_VALUE_PARAMS(value  
)

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

References GTEST_COMPILE_ASSERT_, type, and value.

187  {
189  // Ensures that argument #k is a reference. If you get a compiler
190  // error on the next line, you are using SetArgReferee<k>(value) in
191  // a mock function whose k-th (0-based) argument is not a reference.
193  SetArgReferee_must_be_used_with_a_reference_argument);
194  ::testing::get<k>(args) = value;
195 }
PskType type
#define GTEST_COMPILE_ASSERT_(expr, msg)
Definition: gtest-port.h:1032
static const char *const value
Definition: Conv.cpp:50
testing::ACTION_TEMPLATE ( SetArrayArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k ,
AND_2_VALUE_PARAMS(first, last)   
)

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

References folly::copy(), testing::internal::CopyElements(), and folly::gen::first.

204  {
205  // Visual Studio deprecates ::std::copy, so we use our own copy in that case.
206 #ifdef _MSC_VER
207  internal::CopyElements(first, last, ::testing::get<k>(args));
208 #else
209  ::std::copy(first, last, ::testing::get<k>(args));
210 #endif
211 }
constexpr std::decay< T >::type copy(T &&value) noexcept(noexcept(typename std::decay< T >::type(std::forward< T >(value))))
Definition: Utility.h:72
OutputIterator CopyElements(InputIterator first, InputIterator last, OutputIterator output)
constexpr detail::First first
Definition: Base-inl.h:2553
testing::ACTION_TEMPLATE ( DeleteArg  ,
HAS_1_TEMPLATE_PARAMS(int, k ,
AND_0_VALUE_PARAMS()   
)

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

217  {
218  delete ::testing::get<k>(args);
219 }
Environment * testing::AddGlobalTestEnvironment ( Environment env)
inline

Definition at line 1350 of file gtest.h.

References testing::UnitTest::AddEnvironment(), argv, testing::UnitTest::GetInstance(), GTEST_API_, and InitGoogleTest().

Referenced by testing::UnitTest::impl(), and main().

1350  {
1351  return UnitTest::GetInstance()->AddEnvironment(env);
1352 }
template<typename InnerMatcher >
InnerMatcher testing::AllArgs ( const InnerMatcher &  matcher)
inline
template<typename M1 , typename M2 , typename M3 >
internal::AllOfResult3< M1, M2, M3 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3 
)
inline

Definition at line 1010 of file gmock-generated-matchers.h.

References AllOf().

1010  {
1012  m1,
1013  ::testing::AllOf(m2, m3));
1014 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 >
internal::AllOfResult4< M1, M2, M3, M4 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4 
)
inline

Definition at line 1018 of file gmock-generated-matchers.h.

References AllOf().

1018  {
1020  ::testing::AllOf(m1, m2),
1021  ::testing::AllOf(m3, m4));
1022 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 >
internal::AllOfResult5< M1, M2, M3, M4, M5 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5 
)
inline

Definition at line 1026 of file gmock-generated-matchers.h.

References AllOf().

1026  {
1028  ::testing::AllOf(m1, m2),
1029  ::testing::AllOf(m3, m4, m5));
1030 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 >
internal::AllOfResult6< M1, M2, M3, M4, M5, M6 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6 
)
inline

Definition at line 1035 of file gmock-generated-matchers.h.

References AllOf().

1035  {
1037  ::testing::AllOf(m1, m2, m3),
1038  ::testing::AllOf(m4, m5, m6));
1039 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 >
internal::AllOfResult7< M1, M2, M3, M4, M5, M6, M7 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7 
)
inline

Definition at line 1044 of file gmock-generated-matchers.h.

References AllOf().

1044  {
1046  ::testing::AllOf(m1, m2, m3),
1047  ::testing::AllOf(m4, m5, m6, m7));
1048 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 >
internal::AllOfResult8< M1, M2, M3, M4, M5, M6, M7, M8 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7,
M8  m8 
)
inline

Definition at line 1053 of file gmock-generated-matchers.h.

References AllOf().

1053  {
1055  ::testing::AllOf(m1, m2, m3, m4),
1056  ::testing::AllOf(m5, m6, m7, m8));
1057 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 >
internal::AllOfResult9< M1, M2, M3, M4, M5, M6, M7, M8, M9 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7,
M8  m8,
M9  m9 
)
inline

Definition at line 1062 of file gmock-generated-matchers.h.

References AllOf().

1062  {
1063  return typename internal::AllOfResult9<M1, M2, M3, M4, M5, M6, M7, M8,
1064  M9>::type(
1065  ::testing::AllOf(m1, m2, m3, m4),
1066  ::testing::AllOf(m5, m6, m7, m8, m9));
1067 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 , typename M10 >
internal::AllOfResult10< M1, M2, M3, M4, M5, M6, M7, M8, M9, M10 >::type testing::AllOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7,
M8  m8,
M9  m9,
M10  m10 
)
inline

Definition at line 1073 of file gmock-generated-matchers.h.

References AllOf().

1073  {
1074  return typename internal::AllOfResult10<M1, M2, M3, M4, M5, M6, M7, M8, M9,
1075  M10>::type(
1076  ::testing::AllOf(m1, m2, m3, m4, m5),
1077  ::testing::AllOf(m6, m7, m8, m9, m10));
1078 }
PskType type
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
template<typename T >
Matcher< T > testing::An ( )
inline
template<typename M1 , typename M2 , typename M3 >
internal::AnyOfResult3< M1, M2, M3 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3 
)
inline

Definition at line 1093 of file gmock-generated-matchers.h.

References AnyOf().

1093  {
1095  m1,
1096  ::testing::AnyOf(m2, m3));
1097 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 >
internal::AnyOfResult4< M1, M2, M3, M4 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4 
)
inline

Definition at line 1101 of file gmock-generated-matchers.h.

References AnyOf().

1101  {
1103  ::testing::AnyOf(m1, m2),
1104  ::testing::AnyOf(m3, m4));
1105 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 >
internal::AnyOfResult5< M1, M2, M3, M4, M5 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5 
)
inline

Definition at line 1109 of file gmock-generated-matchers.h.

References AnyOf().

1109  {
1111  ::testing::AnyOf(m1, m2),
1112  ::testing::AnyOf(m3, m4, m5));
1113 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 >
internal::AnyOfResult6< M1, M2, M3, M4, M5, M6 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6 
)
inline

Definition at line 1118 of file gmock-generated-matchers.h.

References AnyOf().

1118  {
1120  ::testing::AnyOf(m1, m2, m3),
1121  ::testing::AnyOf(m4, m5, m6));
1122 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 >
internal::AnyOfResult7< M1, M2, M3, M4, M5, M6, M7 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7 
)
inline

Definition at line 1127 of file gmock-generated-matchers.h.

References AnyOf().

1127  {
1129  ::testing::AnyOf(m1, m2, m3),
1130  ::testing::AnyOf(m4, m5, m6, m7));
1131 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 >
internal::AnyOfResult8< M1, M2, M3, M4, M5, M6, M7, M8 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7,
M8  m8 
)
inline

Definition at line 1136 of file gmock-generated-matchers.h.

References AnyOf().

1136  {
1138  ::testing::AnyOf(m1, m2, m3, m4),
1139  ::testing::AnyOf(m5, m6, m7, m8));
1140 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 >
internal::AnyOfResult9< M1, M2, M3, M4, M5, M6, M7, M8, M9 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7,
M8  m8,
M9  m9 
)
inline

Definition at line 1145 of file gmock-generated-matchers.h.

References AnyOf().

1145  {
1146  return typename internal::AnyOfResult9<M1, M2, M3, M4, M5, M6, M7, M8,
1147  M9>::type(
1148  ::testing::AnyOf(m1, m2, m3, m4),
1149  ::testing::AnyOf(m5, m6, m7, m8, m9));
1150 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename M1 , typename M2 , typename M3 , typename M4 , typename M5 , typename M6 , typename M7 , typename M8 , typename M9 , typename M10 >
internal::AnyOfResult10< M1, M2, M3, M4, M5, M6, M7, M8, M9, M10 >::type testing::AnyOf ( M1  m1,
M2  m2,
M3  m3,
M4  m4,
M5  m5,
M6  m6,
M7  m7,
M8  m8,
M9  m9,
M10  m10 
)
inline

Definition at line 1156 of file gmock-generated-matchers.h.

References AnyOf().

1156  {
1157  return typename internal::AnyOfResult10<M1, M2, M3, M4, M5, M6, M7, M8, M9,
1158  M10>::type(
1159  ::testing::AnyOf(m1, m2, m3, m4, m5),
1160  ::testing::AnyOf(m6, m7, m8, m9, m10));
1161 }
PskType type
internal::AnyOfResult2< M1, M2 >::type AnyOf(M1 m1, M2 m2)
template<typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher > testing::Args ( const InnerMatcher &  matcher)
inline
Examples:
/facebook/proxygen/proxygen/folly/folly/container/Iterator.h, and /facebook/proxygen/proxygen/folly/folly/lang/RValueReferenceWrapper.h.

Definition at line 481 of file gmock-generated-matchers.h.

Referenced by fizz::detail::addAction(), proxygen::FilterChain< HTTPCodec, HTTPCodec::Callback, PassThroughHTTPCodecFilter,&HTTPCodec::setCallback, true >::addFilters(), folly::MPMCQueue< T, Atom, true >::allocatedCapacity(), folly::allocationBytesForOverAligned(), folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::allocIndex(), folly::apply_visitor(), folly::dynamic::array(), folly::detail::ConcurrentHashMapSegment< KeyType, ValueType, ShardBits, HashFn, KeyEqual, Allocator, Atom, Mutex >::assign_if_equal(), folly::detail::atomic_notification::atomic_notify_all_impl(), folly::detail::atomic_notification::atomic_notify_one_impl(), folly::detail::atomic_notification::atomic_wait_impl(), folly::detail::atomic_notification::atomic_wait_until_impl(), folly::padded::Adaptor< IntNodeVec >::back(), folly::detail::MPMCPipelineStageImpl< T >::blockingWrite(), folly::MPMCPipeline< Input, Output >::blockingWrite(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::blockingWrite(), proxygen::RequestHandlerChain::build(), folly::call_once(), folly::basic_once_flag< SharedMutex >::call_once(), folly::detail::function::FunctionTraits< ReturnType(Args...)>::callBig(), folly::detail::function::FunctionTraits< ReturnType(Args...) const >::callBig(), folly::checkFopenError(), folly::checkKernelError(), folly::checkPosixError(), folly::checkUnixError(), folly::checkUnixErrorExplicit(), folly::IndexedMemPoolTraits< T, EagerRecycleWhenTrivial, EagerRecycleWhenNotTrivial >::cleanup(), folly::fbvector< HTTPHeaderCode >::computePushBackCapacity(), folly::constCastFunction(), folly::gen::detail::ClosableMPMCQueue< InputDecayed >::consumers(), folly::futures::detail::Core< T >::Core(), folly::LogStreamProcessor::createLogString(), folly::small_vector< Observer< T > *, InlineObservers >::data(), Alloc< T >::deallocate(), folly::defaulted(), folly::SemiFuture< T >::defer(), folly::SemiFuture< T >::deferError(), folly::SemiFuture< T >::deferValue(), folly::Formatter< containerMode, Args >::doFormatArg(), TestExtendingFormatter< containerMode, Args >::doFormatArg(), ElementsAre(), folly::EventBaseLocal< T >::emplace(), folly::Try< T >::emplace(), folly::detail::Emplace< Container >::Emplace(), folly::Optional< NamedGroup >::emplace(), folly::Try< void >::emplace(), folly::Replaceable< T >::emplace(), folly::detail::EmplaceBack< Container >::EmplaceBack(), folly::detail::EmplaceFront< Container >::EmplaceFront(), folly::detail::EmplaceHint< Container >::EmplaceHint(), folly::FormatArg::enforce(), folly::basic_fbstring< char >::enforce(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::enqueueWithTicketBase(), folly::FormatArg::errorStr(), proxygen::Exception::Exception(), ExplainMatchResult(), folly::format(), folly::formatChecked(), folly::LogStreamProcessor::formatLogString(), folly::format_value::formatNumber(), folly::Formatter< containerMode, Args >::Formatter(), folly::Function< std::vector< ResultT >(std::vector< InputT > &&)>::Function(), folly::Future< folly::folly::Unit >::Future(), folly::futures::detail::FutureBase< T >::FutureBase(), folly::rvalue_reference_wrapper< T >::get(), folly::get_emplace_arg(), proxygen::HTTPSessionBase::getConnectionCloseReason(), fizz::test::ProtocolTest< ClientTypes, Actions >::getNumActions(), folly::BaseFormatter< Formatter< containerMode, Args... >, containerMode, Args... >::getValue(), folly::padded::detail::padded_emplace_back_or_push_back_< Void, Container, Args >::go(), HTTP2FramerTest::HTTP2FramerTest(), folly::Indestructible< T >::Indestructible(), folly::ConcurrentHashMap< KeyType, ValueType, HashFn, KeyEqual, Allocator, ShardBits, Atom, Mutex >::insert(), folly::detail::ConcurrentHashMapSegment< KeyType, ValueType, ShardBits, HashFn, KeyEqual, Allocator, Atom, Mutex >::insert(), folly::invoke(), folly::futures::detail::CoreCallbackState< T, F >::invoke(), folly::detail::free_invoke_proxy< Invoke >::invoke(), folly::for_each_detail::invoke_returning_loop_control(), folly::detail::partial::Partial< F, Tuple >::invokeForward(), folly::detail::function::isNullPtrFn(), folly::launder(), folly::compression::loadList(), folly::detail::SynchronizedLocker< Synchronized, LockFunc, TryLockFunc, Args >::lock(), folly::detail::lock(), folly::lock(), folly::AutoTimer< Logger, Clock >::log(), folly::LogStreamProcessor::LogStreamProcessor(), folly::futures::detail::Core< T >::make(), folly::make_emplace_args(), folly::make_optional(), folly::detail::shared_ptr_internals::make_ptr(), counted_ptr_internals< Atom >::make_ptr(), folly::make_replaceable(), folly::make_unique(), folly::futures::detail::makeCoreCallbackState(), folly::makeExpected(), folly::makeSystemError(), folly::makeSystemErrorExplicit(), folly::makeTryWith(), testing::internal::BothOfMatcherImpl< T >::MatchAndExplain(), testing::internal::EitherOfMatcherImpl< T >::MatchAndExplain(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), MemoryLeakCheckerAllocator< Alloc >::max_size(), folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::maxAllocatedIndex(), folly::compression::maybeTestPreviousValue(), folly::LockedPtr< SynchronizedType, LockPolicy >::moveFromWriteToRead(), MPMC< T >::MPMC(), folly::MPMCPipeline< Input, Output >::MPMCPipeline(), folly::detail::MPMCPipelineStageImpl< T >::MPMCPipelineStageImpl(), folly::detail::concurrenthashmap::NodeT< KeyType, ValueType, Allocator, Atom >::NodeT(), folly::IndexedMemPoolTraits< T, EagerRecycleWhenTrivial, EagerRecycleWhenNotTrivial >::onAllocate(), folly::Range< unsigned char * >::operator Tgt(), folly::operator!=(), folly::BaseFormatter< Derived, containerMode, Args >::operator()(), folly::detail::function::FunctionTraits< ReturnType(Args...)>::SharedProxy::operator()(), folly::detail::function::FunctionTraits< ReturnType(Args...) const >::SharedProxy::operator()(), folly::allocator_delete< Alloc >::operator()(), hash< folly::Optional< T > >::operator()(), VariadicTemplateSum::operator()(), std::hash< std::tuple< Ts... > >::operator()(), folly::detail::emplace_iterator_base< Derived, EmplaceImpl, false >::operator++(), folly::operator<<(), folly::F14VectorSet< Key, Hasher, KeyEqual, Alloc >::operator=(), folly::F14VectorMap< Key, Mapped, Hasher, KeyEqual, Alloc >::operator=(), folly::Optional< NamedGroup >::operator=(), folly::detail::emplace_iterator_base< Derived, EmplaceImpl, false >::operator=(), folly::detail::emplace_iterator_base< Derived, EmplaceImpl, true >::operator=(), folly::Try< void >::operator=(), MmapAllocator< T >::operator==(), counted_ptr< T, Atom >::operator==(), folly::StringKeyedSetBase< Compare, Alloc >::operator==(), folly::StringKeyedMap< Value, Compare, Alloc >::operator[](), folly::Optional< NamedGroup >::Optional(), folly::padded::detail::padded_emplace_back_or_push_back(), HTTP2FramerTest::parse(), PCQ< T >::PCQ(), folly::detail::MPMCPipelineStageImpl< T >::read(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::readAndGetTicket(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::readCount(), folly::MPMCPipeline< Input, Output >::readStage(), folly::Replaceable< T >::Replaceable(), folly::Optional< NamedGroup >::require_value(), folly::detail::rlock(), folly::rlock(), folly::SemiFuture< T >::SemiFuture(), folly::small_vector< Observer< T > *, InlineObservers >::shrink_to_fit(), folly::Range< unsigned char * >::split_step(), folly::detail::free_invoke_proxy< Invoke >::static_cast(), folly::Indestructible< T >::Storage::Storage(), folly::svformatChecked(), folly::Synchronized< std::vector< detail::folly::detail::TypeDescriptor >, folly::SharedMutexImpl >::Synchronized(), folly::detail::terminate_with_(), TEST(), TEST_F(), texsformat(), folly::Future< folly::folly::Unit >::then(), folly::Future< T >::then(), folly::Future< folly::folly::Unit >::thenError(), folly::Future< folly::folly::Unit >::thenTry(), folly::Future< folly::folly::Unit >::thenValue(), folly::test::DeterministicSchedule::thread(), folly::throw_exception(), folly::detail::throw_exception_(), folly::throwSystemError(), folly::throwSystemErrorExplicit(), folly::Range< unsigned char * >::to(), folly::detail::to_exception_arg_(), folly::detail::atomic_notification::toCvStatus(), folly::Try< folly::folly::Unit >::Try(), folly::ConcurrentHashMap< KeyType, ValueType, HashFn, KeyEqual, Allocator, ShardBits, Atom, Mutex >::try_emplace(), folly::detail::ConcurrentHashMapSegment< KeyType, ValueType, ShardBits, HashFn, KeyEqual, Allocator, Atom, Mutex >::try_emplace(), folly::MPMCQueue< T, Atom, true >::tryObtainPromisedPopTicket(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::tryObtainPromisedPopTicket(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::tryWriteUntil(), folly::detail::uintToBinary(), folly::detail::ulock(), folly::ulock(), UnorderedElementsAre(), folly::detail::emplace_iterator_base< Derived, EmplaceImpl, false >::unpackAndEmplace(), folly::detail::unwrap_emplace_arg(), folly::Optional< NamedGroup >::value_or(), folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator >::ValueHolder(), folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::ValueHolder(), folly::vformat(), folly::Future< T >::via(), folly::detail::wlock(), folly::wlock(), folly::detail::MPMCPipelineStageImpl< T >::write(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::write(), fizz::WriteRecordLayer::writeAppData(), folly::gen::detail::ClosableMPMCQueue< InputDecayed >::writeUnlessFull(), folly::futures::detail::CoreCallbackState< T, F >::~CoreCallbackState(), folly::Function< std::vector< ResultT >(std::vector< InputT > &&)>::~Function(), folly::ProducerConsumerQueue< T >::~ProducerConsumerQueue(), folly::detail::SingleElementQueue< T, Atom >::~SingleElementQueue(), and folly::Try< T >::~Try().

481  {
482  return internal::ArgsMatcher<InnerMatcher>(matcher);
483 }
template<int k1, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 487 of file gmock-generated-matchers.h.

487  {
488  return internal::ArgsMatcher<InnerMatcher, k1>(matcher);
489 }
template<int k1, int k2, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 493 of file gmock-generated-matchers.h.

493  {
494  return internal::ArgsMatcher<InnerMatcher, k1, k2>(matcher);
495 }
template<int k1, int k2, int k3, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 499 of file gmock-generated-matchers.h.

499  {
500  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3>(matcher);
501 }
template<int k1, int k2, int k3, int k4, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 505 of file gmock-generated-matchers.h.

505  {
506  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4>(matcher);
507 }
template<int k1, int k2, int k3, int k4, int k5, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 511 of file gmock-generated-matchers.h.

511  {
512  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4, k5>(matcher);
513 }
template<int k1, int k2, int k3, int k4, int k5, int k6, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 517 of file gmock-generated-matchers.h.

517  {
518  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4, k5, k6>(matcher);
519 }
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 524 of file gmock-generated-matchers.h.

524  {
525  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4, k5, k6,
526  k7>(matcher);
527 }
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 532 of file gmock-generated-matchers.h.

532  {
533  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4, k5, k6, k7,
534  k8>(matcher);
535 }
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 540 of file gmock-generated-matchers.h.

540  {
541  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8,
542  k9>(matcher);
543 }
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, int k10, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > testing::Args ( const InnerMatcher &  matcher)
inline

Definition at line 549 of file gmock-generated-matchers.h.

549  {
550  return internal::ArgsMatcher<InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8,
551  k9, k10>(matcher);
552 }
template<int kSize>
std::vector< std::string > testing::ArrayAsVector ( const char *const (&)  array[kSize])

Definition at line 2108 of file gtest.cc.

Referenced by GetReservedAttributesForElement().

2108  {
2109  return std::vector<std::string>(array, array + kSize);
2110 }
AssertionResult testing::AssertionFailure ( const Message msg)

Definition at line 1021 of file gtest.cc.

References AssertionFailure(), and testing::AssertionResult::message().

1021  {
1022  return AssertionFailure() << message;
1023 }
GTEST_API_ AssertionResult AssertionFailure()
Definition: gtest.cc:1015
std::string message
Definition: SPDYCodec.cpp:133
template<typename T1 , typename T2 >
PolymorphicAction< internal::AssignAction< T1, T2 > > testing::Assign ( T1 ptr,
T2  val 
)
GTEST_API_ Cardinality testing::AtMost ( int  n)

Definition at line 143 of file gmock-cardinalities.cc.

References Between().

Referenced by testing::Cardinality::DescribeTo(), testing::internal::ExpectationTester::SetCallCount(), folly::TEST(), and TEST_F().

143 { return Between(0, n); }
GTEST_API_ Cardinality Between(int min, int max)
template<typename DistanceMatcher >
internal::BeginEndDistanceIsMatcher< DistanceMatcher > testing::BeginEndDistanceIs ( const DistanceMatcher &  distance_matcher)
inline

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

References GTEST_REMOVE_CONST_.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), and testing::gmock_matchers_test::TEST().

4139  {
4140  return internal::BeginEndDistanceIsMatcher<DistanceMatcher>(distance_matcher);
4141 }
GTEST_API_ Cardinality testing::Between ( int  min,
int  max 
)

Definition at line 149 of file gmock-cardinalities.cc.

Referenced by AtLeast(), AtMost(), testing::Cardinality::DescribeTo(), Exactly(), and testing::internal::ExpectationTester::SetCallCount().

149  {
150  return Cardinality(new BetweenCardinalityImpl(min, max));
151 }
LogLevel max
Definition: LogLevel.cpp:31
LogLevel min
Definition: LogLevel.cpp:30
template<typename R >
internal::ByMoveWrapper< R > testing::ByMove ( x)

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

References testing::internal::move().

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform().

1094  {
1095  return internal::ByMoveWrapper<R>(internal::move(x));
1096 }
Definition: InvokeTest.cpp:58
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
template<typename Container >
PolymorphicMatcher< internal::ContainerEqMatcher< GTEST_REMOVE_CONST_(Container)> > testing::ContainerEq ( const Container &  rhs)
inline

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

References GTEST_REMOVE_CONST_, and MakePolymorphicMatcher().

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::NotCopyable::operator>=(), TEST(), and testing::gmock_matchers_test::TEST().

4150  {
4151  // This following line is for working around a bug in MSVC 8.0,
4152  // which causes Container to be a const type sometimes.
4153  typedef GTEST_REMOVE_CONST_(Container) RawContainer;
4155  internal::ContainerEqMatcher<RawContainer>(rhs));
4156 }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
#define GTEST_REMOVE_CONST_(T)
template<typename M >
internal::ContainsMatcher< M > testing::Contains ( M  matcher)
inline
PolymorphicMatcher< internal::MatchesRegexMatcher > testing::ContainsRegex ( const internal::string regex)
inline

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

References ContainsRegex(), EndsWith(), HasSubstr(), MakePolymorphicMatcher(), prefix(), StartsWith(), StrCaseEq(), StrCaseNe(), StrEq(), StrNe(), and suffix.

4021  {
4022  return ContainsRegex(new internal::RE(regex));
4023 }
regex
Definition: CMakeCache.txt:563
PolymorphicMatcher< internal::MatchesRegexMatcher > ContainsRegex(const internal::string &regex)
template<typename Action1 , typename Action2 , typename Action3 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, Action3 > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3 
)
inline

Definition at line 703 of file gmock-generated-actions.h.

References DoAll().

703  {
704  return DoAll(a1, DoAll(a2, a3));
705 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, Action4 > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4 
)
inline

Definition at line 711 of file gmock-generated-actions.h.

References DoAll().

711  {
712  return DoAll(a1, DoAll(a2, a3, a4));
713 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, Action5 > > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4,
Action5  a5 
)
inline

Definition at line 720 of file gmock-generated-actions.h.

References DoAll().

720  {
721  return DoAll(a1, DoAll(a2, a3, a4, a5));
722 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, Action6 > > > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4,
Action5  a5,
Action6  a6 
)
inline

Definition at line 729 of file gmock-generated-actions.h.

References DoAll().

729  {
730  return DoAll(a1, DoAll(a2, a3, a4, a5, a6));
731 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, Action7 > > > > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4,
Action5  a5,
Action6  a6,
Action7  a7 
)
inline

Definition at line 739 of file gmock-generated-actions.h.

References DoAll().

740  {
741  return DoAll(a1, DoAll(a2, a3, a4, a5, a6, a7));
742 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 , typename Action8 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, Action8 > > > > > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4,
Action5  a5,
Action6  a6,
Action7  a7,
Action8  a8 
)
inline

Definition at line 751 of file gmock-generated-actions.h.

References DoAll().

752  {
753  return DoAll(a1, DoAll(a2, a3, a4, a5, a6, a7, a8));
754 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 , typename Action8 , typename Action9 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, Action9 > > > > > > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4,
Action5  a5,
Action6  a6,
Action7  a7,
Action8  a8,
Action9  a9 
)
inline

Definition at line 764 of file gmock-generated-actions.h.

References DoAll().

765  {
766  return DoAll(a1, DoAll(a2, a3, a4, a5, a6, a7, a8, a9));
767 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
template<typename Action1 , typename Action2 , typename Action3 , typename Action4 , typename Action5 , typename Action6 , typename Action7 , typename Action8 , typename Action9 , typename Action10 >
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > testing::DoAll ( Action1  a1,
Action2  a2,
Action3  a3,
Action4  a4,
Action5  a5,
Action6  a6,
Action7  a7,
Action8  a8,
Action9  a9,
Action10  a10 
)
inline

Definition at line 777 of file gmock-generated-actions.h.

References DoAll().

778  {
779  return DoAll(a1, DoAll(a2, a3, a4, a5, a6, a7, a8, a9, a10));
780 }
internal::DoBothAction< Action1, internal::DoBothAction< Action2, internal::DoBothAction< Action3, internal::DoBothAction< Action4, internal::DoBothAction< Action5, internal::DoBothAction< Action6, internal::DoBothAction< Action7, internal::DoBothAction< Action8, internal::DoBothAction< Action9, Action10 > > > > > > > > > DoAll(Action1 a1, Action2 a2, Action3 a3, Action4 a4, Action5 a5, Action6 a6, Action7 a7, Action8 a8, Action9 a9, Action10 a10)
AssertionResult testing::DoubleLE ( const char *  expr1,
const char *  expr2,
double  val1,
double  val2 
)

Definition at line 1428 of file gtest.cc.

Referenced by testing::internal::UnitTestRecordPropertyTestHelper::UnitTestRecordProperty().

1429  {
1430  return internal::FloatingPointLE<double>(expr1, expr2, val1, val2);
1431 }
internal::FloatingEqMatcher< double > testing::DoubleNear ( double  rhs,
double  max_abs_error 
)
inline

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

References folly::detail::rhs.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::TEST_F(), and testing::gmock_matchers_test::FloatingPointNearTest< RawType >::TestNearMatches().

3829  {
3830  return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
3831 }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename M >
internal::EachMatcher< M > testing::Each ( M  matcher)
inline

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

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), and testing::gmock_matchers_test::TEST().

4314  {
4315  return internal::EachMatcher<M>(matcher);
4316 }
internal::ElementsAreMatcher<::testing::tuple<> > testing::ElementsAre ( )
inline

Definition at line 570 of file gmock-generated-matchers.h.

References Args().

Referenced by testing::gmock_matchers_test::NotCopyable::operator>=(), folly::TEST(), TEST(), testing::gmock_matchers_test::TEST(), TEST_F(), fizz::server::test::TEST_F(), and testing::gmock_matchers_test::TEST_F().

570  {
571  typedef ::testing::tuple<> Args;
572  return internal::ElementsAreMatcher<Args>(Args());
573 }
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type> > testing::ElementsAre ( const T1 e1)
inline

Definition at line 579 of file gmock-generated-matchers.h.

References Args().

579  {
580  typedef ::testing::tuple<
582  return internal::ElementsAreMatcher<Args>(Args(e1));
583 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2 
)
inline

Definition at line 590 of file gmock-generated-matchers.h.

References Args().

590  {
591  typedef ::testing::tuple<
594  return internal::ElementsAreMatcher<Args>(Args(e1, e2));
595 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3 
)
inline

Definition at line 603 of file gmock-generated-matchers.h.

References Args().

603  {
604  typedef ::testing::tuple<
608  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3));
609 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4 
)
inline

Definition at line 618 of file gmock-generated-matchers.h.

References Args().

618  {
619  typedef ::testing::tuple<
624  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4));
625 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5 
)
inline

Definition at line 635 of file gmock-generated-matchers.h.

References Args().

636  {
637  typedef ::testing::tuple<
643  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5));
644 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6 
)
inline

Definition at line 656 of file gmock-generated-matchers.h.

References Args().

657  {
658  typedef ::testing::tuple<
665  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5, e6));
666 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7 
)
inline

Definition at line 679 of file gmock-generated-matchers.h.

References Args().

680  {
681  typedef ::testing::tuple<
689  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5, e6, e7));
690 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type, typename internal::DecayArray<T8>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7,
const T8 &  e8 
)
inline

Definition at line 704 of file gmock-generated-matchers.h.

References Args().

705  {
706  typedef ::testing::tuple<
715  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5, e6, e7,
716  e8));
717 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type, typename internal::DecayArray<T8>::type, typename internal::DecayArray<T9>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7,
const T8 &  e8,
const T9 &  e9 
)
inline

Definition at line 732 of file gmock-generated-matchers.h.

References Args().

733  {
734  typedef ::testing::tuple<
744  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5, e6, e7,
745  e8, e9));
746 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
internal::ElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type, typename internal::DecayArray<T8>::type, typename internal::DecayArray<T9>::type, typename internal::DecayArray<T10>::type> > testing::ElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7,
const T8 &  e8,
const T9 &  e9,
const T10 &  e10 
)
inline

Definition at line 762 of file gmock-generated-matchers.h.

References Args().

764  {
765  typedef ::testing::tuple<
776  return internal::ElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5, e6, e7,
777  e8, e9, e10));
778 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename Iter >
internal::ElementsAreArrayMatcher< typename::std::iterator_traits< Iter >::value_type > testing::ElementsAreArray ( Iter  first,
Iter  last 
)
inline

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

References folly::gen::first, and T.

Referenced by ElementsAreArray(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::NotCopyable::operator>=(), TEST(), testing::gmock_matchers_test::TEST(), and TEST_F().

3646  {
3647  typedef typename ::std::iterator_traits<Iter>::value_type T;
3648  return internal::ElementsAreArrayMatcher<T>(first, last);
3649 }
#define T(v)
Definition: http_parser.c:233
constexpr detail::First first
Definition: Base-inl.h:2553
template<typename T >
internal::ElementsAreArrayMatcher< T > testing::ElementsAreArray ( const T pointer,
size_t  count 
)
inline

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

References ElementsAreArray().

3653  {
3654  return ElementsAreArray(pointer, pointer + count);
3655 }
internal::ElementsAreArrayMatcher< typename Container::value_type > ElementsAreArray(const Container &container)
int * count
template<typename T , size_t N>
internal::ElementsAreArrayMatcher< T > testing::ElementsAreArray ( const T(&)  array[N])
inline

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

References ElementsAreArray().

3659  {
3660  return ElementsAreArray(array, N);
3661 }
internal::ElementsAreArrayMatcher< typename Container::value_type > ElementsAreArray(const Container &container)
template<typename Container >
internal::ElementsAreArrayMatcher< typename Container::value_type > testing::ElementsAreArray ( const Container &  container)
inline

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

References ElementsAreArray().

3665  {
3666  return ElementsAreArray(container.begin(), container.end());
3667 }
internal::ElementsAreArrayMatcher< typename Container::value_type > ElementsAreArray(const Container &container)
PolymorphicMatcher< internal::EndsWithMatcher< internal::string > > testing::EndsWith ( const internal::string suffix)
inline

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

References MakePolymorphicMatcher().

Referenced by testing::gmock_matchers_test::AllArgsHelper::AllArgsHelper(), ContainsRegex(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3998  {
3999  return MakePolymorphicMatcher(internal::EndsWithMatcher<internal::string>(
4000  suffix));
4001 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
const char * suffix
Definition: String.cpp:272
template<typename T >
internal::EqMatcher< T > testing::Eq ( T  x)
inline

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

References x.

Referenced by testing::gmock_matchers_test::ConvertibleFromAny::ConvertibleFromAny(), testing::gmock_matchers_test::Derived::Derived(), testing::gmock_matchers_test::NewEvenMatcherImpl::DescribeTo(), testing::gmock_matchers_test::EMString(), std::tr1::gtest_internal::SameSizeTuplePrefixComparator< k, k >::Eq(), testing::gmock_generated_function_mockers_test::FunctionMockerTest::FunctionMockerTest(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::gmock_matchers_test::DerivedClass::k(), testing::gmock_matchers_test::PolymorphicIsEvenImpl::MatchAndExplain(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::Matcher< T >::Matcher(), testing::Matcher< const internal::string & >::Matcher(), testing::Matcher< internal::string >::Matcher(), testing::gmock_matchers_test::ConvertibleToBool::operator bool(), testing::gmock_matchers_test::Functor::operator()(), testing::gmock_matchers_test::ReferencingFunctor::operator()(), std::tr1::operator==(), testing::gmock_matchers_test::NotCopyable::operator>=(), testing::internal::ExpectationTester::SetCallCount(), testing::gmock_matchers_test::TEST(), TEST(), TEST_F(), testing::gmock_generated_function_mockers_test::TEST_F(), proxygen::TEST_F(), testing::gmock_matchers_test::TEST_F(), TypedEq(), testing::gmock_matchers_test::Unprintable::Unprintable(), and testing::gmock_matchers_test::IntValue::value().

3742 { return internal::EqMatcher<T>(x); }
const int x
internal::Eq2Matcher testing::Eq ( )
inline

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

4082 { return internal::Eq2Matcher(); }
GTEST_API_ Cardinality testing::Exactly ( int  n)

Definition at line 154 of file gmock-cardinalities.cc.

References Between().

Referenced by testing::Cardinality::DescribeTo(), testing::internal::TypedExpectation< F >::Times(), and testing::internal::TypedExpectation< F >::WillOnce().

154 { return Between(n, n); }
GTEST_API_ Cardinality Between(int min, int max)
template<typename Class , typename FieldType , typename FieldMatcher >
PolymorphicMatcher< internal::FieldMatcher< Class, FieldType > > testing::Field ( FieldType Class::*  field,
const FieldMatcher &  matcher 
)
inline

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

References MakePolymorphicMatcher().

Referenced by testing::gmock_matchers_test::AStruct::AStruct(), std::tr1::gtest_internal::Get< 9 >::ConstField(), folly::gen::field(), std::tr1::get(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3897  {
3898  return MakePolymorphicMatcher(
3899  internal::FieldMatcher<Class, FieldType>(
3900  field, MatcherCast<const FieldType&>(matcher)));
3901  // The call to MatcherCast() is required for supporting inner
3902  // matchers of compatible types. For example, it allows
3903  // Field(&Foo::bar, m)
3904  // to compile where bar is an int32 and m is a matcher for int64.
3905 }
Map field(FieldType Class::*field)
Definition: Base.h:641
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
internal::FloatingEqMatcher< float > testing::FloatEq ( float  rhs)
inline
AssertionResult testing::FloatLE ( const char *  expr1,
const char *  expr2,
float  val1,
float  val2 
)

Definition at line 1421 of file gtest.cc.

Referenced by testing::internal::UnitTestRecordPropertyTestHelper::UnitTestRecordProperty().

1422  {
1423  return internal::FloatingPointLE<float>(expr1, expr2, val1, val2);
1424 }
internal::FloatingEqMatcher< float > testing::FloatNear ( float  rhs,
float  max_abs_error 
)
inline

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

References folly::detail::rhs.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::TEST_F(), and testing::gmock_matchers_test::FloatingPointNearTest< RawType >::TestNearMatches().

3857  {
3858  return internal::FloatingEqMatcher<float>(rhs, false, max_abs_error);
3859 }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
static std::string testing::FormatCountableNoun ( int  count,
const char *  singular_form,
const char *  plural_form 
)
static
static std::string testing::FormatCountableNoun ( int  count,
const char *  singular_form,
const char *  plural_form 
)
static

Definition at line 2809 of file gtest.cc.

References testing::internal::StreamableToString().

2811  {
2812  return internal::StreamableToString(count) + " " +
2813  (count == 1 ? singular_form : plural_form);
2814 }
std::string StreamableToString(const T &streamable)
int * count
static std::string testing::FormatCountableNoun ( int  count,
const char *  singular_form,
const char *  plural_form 
)
static

Definition at line 2809 of file gtest.cc.

References testing::internal::StreamableToString().

2811  {
2812  return internal::StreamableToString(count) + " " +
2813  (count == 1 ? singular_form : plural_form);
2814 }
std::string StreamableToString(const T &streamable)
int * count
static std::string testing::FormatTestCaseCount ( int  test_case_count)
static

Definition at line 2822 of file gtest.cc.

References FormatCountableNoun().

Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), and testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd().

2822  {
2823  return FormatCountableNoun(test_case_count, "test case", "test cases");
2824 }
static std::string FormatCountableNoun(int count, const char *singular_form, const char *plural_form)
Definition: gtest.cc:2809
static std::string testing::FormatTestCaseCount ( int  test_case_count)
static

Definition at line 2822 of file gtest.cc.

References FormatCountableNoun().

2822  {
2823  return FormatCountableNoun(test_case_count, "test case", "test cases");
2824 }
static std::string FormatCountableNoun(int count, const char *singular_form, const char *plural_form)
Definition: gtest.cc:2809
static std::string testing::FormatTestCaseCount ( int  test_case_count)
static

Definition at line 2822 of file gtest.cc.

References FormatCountableNoun().

2822  {
2823  return FormatCountableNoun(test_case_count, "test case", "test cases");
2824 }
static std::string FormatCountableNoun(int count, const char *singular_form, const char *plural_form)
Definition: gtest.cc:2809
static std::string testing::FormatTestCount ( int  test_count)
static

Definition at line 2817 of file gtest.cc.

References FormatCountableNoun().

Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), and testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd().

2817  {
2818  return FormatCountableNoun(test_count, "test", "tests");
2819 }
static std::string FormatCountableNoun(int count, const char *singular_form, const char *plural_form)
Definition: gtest.cc:2809
static std::string testing::FormatTestCount ( int  test_count)
static

Definition at line 2817 of file gtest.cc.

References FormatCountableNoun().

2817  {
2818  return FormatCountableNoun(test_count, "test", "tests");
2819 }
static std::string FormatCountableNoun(int count, const char *singular_form, const char *plural_form)
Definition: gtest.cc:2809
static std::string testing::FormatTestCount ( int  test_count)
static

Definition at line 2817 of file gtest.cc.

References FormatCountableNoun().

2817  {
2818  return FormatCountableNoun(test_count, "test", "tests");
2819 }
static std::string FormatCountableNoun(int count, const char *singular_form, const char *plural_form)
Definition: gtest.cc:2809
static std::string testing::FormatWordList ( const std::vector< std::string > &  words)
static

Definition at line 2127 of file gtest.cc.

References testing::Message::GetString(), and i.

Referenced by FormatWordList(), and ValidateTestPropertyName().

2127  {
2128  Message word_list;
2129  for (size_t i = 0; i < words.size(); ++i) {
2130  if (i > 0 && words.size() > 2) {
2131  word_list << ", ";
2132  }
2133  if (i == words.size() - 1) {
2134  word_list << "and ";
2135  }
2136  word_list << "'" << words[i] << "'";
2137  }
2138  return word_list.GetString();
2139 }
static std::string testing::FormatWordList ( const std::vector< std::string > &  words)
static

Definition at line 2127 of file gtest.cc.

References ADD_FAILURE, testing::TestResult::Clear(), testing::TestResult::Failed(), FormatWordList(), GetReservedAttributesForElement(), testing::Message::GetString(), GTEST_NAME_, i, testing::TestProperty::key(), string, testing::TestResult::ValidateTestProperty(), and ValidateTestPropertyName().

2127  {
2128  Message word_list;
2129  for (size_t i = 0; i < words.size(); ++i) {
2130  if (i > 0 && words.size() > 2) {
2131  word_list << ", ";
2132  }
2133  if (i == words.size() - 1) {
2134  word_list << "and ";
2135  }
2136  word_list << "'" << words[i] << "'";
2137  }
2138  return word_list.GetString();
2139 }
static std::string testing::FormatWordList ( const std::vector< std::string > &  words)
static

Definition at line 2127 of file gtest.cc.

References ADD_FAILURE, testing::TestResult::Clear(), testing::TestResult::Failed(), FormatWordList(), GetReservedAttributesForElement(), testing::Message::GetString(), GTEST_NAME_, i, testing::TestProperty::key(), string, testing::TestResult::ValidateTestProperty(), and ValidateTestPropertyName().

2127  {
2128  Message word_list;
2129  for (size_t i = 0; i < words.size(); ++i) {
2130  if (i > 0 && words.size() > 2) {
2131  word_list << ", ";
2132  }
2133  if (i == words.size() - 1) {
2134  word_list << "and ";
2135  }
2136  word_list << "'" << words[i] << "'";
2137  }
2138  return word_list.GetString();
2139 }
internal::Ge2Matcher testing::Ge ( )
inline

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

4086 { return internal::Ge2Matcher(); }
static const char* testing::GetDefaultFilter ( )
static

Definition at line 192 of file gtest.cc.

References testing::internal::BoolFromGTestEnv(), folly::pushmi::operators::filter, GTEST_DEFINE_bool_(), GTEST_DEFINE_int32_(), testing::internal::GTEST_DEFINE_string_(), GTEST_NAME_, testing::internal::Int32FromGTestEnv(), kMaxStackTraceDepth, kUniversalFilter, gmock_output_test::output, repeat(), and testing::internal::StringFromGTestEnv().

Referenced by GetDefaultFilter().

192  {
193 #ifdef GTEST_TEST_FILTER_ENV_VAR_
194  const char* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_);
195  if (testbridge_test_only != NULL) {
196  return testbridge_test_only;
197  }
198 #endif // GTEST_TEST_FILTER_ENV_VAR_
199  return kUniversalFilter;
200 }
static const char kUniversalFilter[]
Definition: gtest.cc:168
static const char* testing::GetDefaultFilter ( )
static

Definition at line 192 of file gtest.cc.

References testing::internal::BoolFromGTestEnv(), folly::pushmi::operators::filter, testing::internal::Random::Generate(), GetDefaultFilter(), GTEST_CHECK_, GTEST_DEFINE_bool_(), GTEST_DEFINE_int32_(), testing::internal::GTEST_DEFINE_string_(), GTEST_NAME_, testing::internal::Int32FromGTestEnv(), kMaxStackTraceDepth, kUniversalFilter, gmock_output_test::output, folly::gen::range(), repeat(), and testing::internal::StringFromGTestEnv().

192  {
193 #ifdef GTEST_TEST_FILTER_ENV_VAR_
194  const char* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_);
195  if (testbridge_test_only != NULL) {
196  return testbridge_test_only;
197  }
198 #endif // GTEST_TEST_FILTER_ENV_VAR_
199  return kUniversalFilter;
200 }
static const char kUniversalFilter[]
Definition: gtest.cc:168
static const char* testing::GetDefaultFilter ( )
static

Definition at line 192 of file gtest.cc.

References testing::internal::BoolFromGTestEnv(), folly::pushmi::operators::filter, testing::internal::Random::Generate(), GetDefaultFilter(), GTEST_CHECK_, GTEST_DEFINE_bool_(), GTEST_DEFINE_int32_(), testing::internal::GTEST_DEFINE_string_(), GTEST_NAME_, testing::internal::Int32FromGTestEnv(), kMaxStackTraceDepth, kUniversalFilter, gmock_output_test::output, folly::gen::range(), repeat(), and testing::internal::StringFromGTestEnv().

192  {
193 #ifdef GTEST_TEST_FILTER_ENV_VAR_
194  const char* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_);
195  if (testbridge_test_only != NULL) {
196  return testbridge_test_only;
197  }
198 #endif // GTEST_TEST_FILTER_ENV_VAR_
199  return kUniversalFilter;
200 }
static const char kUniversalFilter[]
Definition: gtest.cc:168
static std::vector<std::string> testing::GetReservedAttributesForElement ( const std::string xml_element)
static

Definition at line 2112 of file gtest.cc.

References ArrayAsVector(), and GTEST_CHECK_.

2113  {
2114  if (xml_element == "testsuites") {
2116  } else if (xml_element == "testsuite") {
2118  } else if (xml_element == "testcase") {
2120  } else {
2121  GTEST_CHECK_(false) << "Unrecognized xml_element provided: " << xml_element;
2122  }
2123  // This code is unreachable but some compilers may not realizes that.
2124  return std::vector<std::string>();
2125 }
static const char *const kReservedTestSuiteAttributes[]
Definition: gtest.cc:2088
static const char *const kReservedTestSuitesAttributes[]
Definition: gtest.cc:2075
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1295
static const char *const kReservedTestCaseAttributes[]
Definition: gtest.cc:2098
std::vector< std::string > ArrayAsVector(const char *const (&array)[kSize])
Definition: gtest.cc:2108
static std::vector<std::string> testing::GetReservedAttributesForElement ( const std::string xml_element)
static

Definition at line 2112 of file gtest.cc.

References ArrayAsVector(), and GTEST_CHECK_.

Referenced by FormatWordList(), testing::internal::XmlUnitTestResultPrinter::OutputXmlAttribute(), testing::internal::PortableLocaltime(), and testing::TestResult::ValidateTestProperty().

2113  {
2114  if (xml_element == "testsuites") {
2116  } else if (xml_element == "testsuite") {
2118  } else if (xml_element == "testcase") {
2120  } else {
2121  GTEST_CHECK_(false) << "Unrecognized xml_element provided: " << xml_element;
2122  }
2123  // This code is unreachable but some compilers may not realizes that.
2124  return std::vector<std::string>();
2125 }
static const char *const kReservedTestSuiteAttributes[]
Definition: gtest.cc:2088
static const char *const kReservedTestSuitesAttributes[]
Definition: gtest.cc:2075
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1295
static const char *const kReservedTestCaseAttributes[]
Definition: gtest.cc:2098
std::vector< std::string > ArrayAsVector(const char *const (&array)[kSize])
Definition: gtest.cc:2108
static std::vector<std::string> testing::GetReservedAttributesForElement ( const std::string xml_element)
static

Definition at line 2112 of file gtest.cc.

References ArrayAsVector(), and GTEST_CHECK_.

2113  {
2114  if (xml_element == "testsuites") {
2116  } else if (xml_element == "testsuite") {
2118  } else if (xml_element == "testcase") {
2120  } else {
2121  GTEST_CHECK_(false) << "Unrecognized xml_element provided: " << xml_element;
2122  }
2123  // This code is unreachable but some compilers may not realizes that.
2124  return std::vector<std::string>();
2125 }
static const char *const kReservedTestSuiteAttributes[]
Definition: gtest.cc:2088
static const char *const kReservedTestSuitesAttributes[]
Definition: gtest.cc:2075
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1295
static const char *const kReservedTestCaseAttributes[]
Definition: gtest.cc:2098
std::vector< std::string > ArrayAsVector(const char *const (&array)[kSize])
Definition: gtest.cc:2108
testing::GMOCK_DECLARE_bool_ ( catch_leaked_mocks  )
testing::GMOCK_DECLARE_string_ ( verbose  )
testing::GMOCK_DEFINE_bool_ ( catch_leaked_mocks  ,
true  ,
"true iff Google Mock should report leaked mock objects ""as failures."   
)
testing::GMOCK_DEFINE_string_ ( verbose  ,
internal::kWarningVerbosity  ,
"Controls how verbose Google Mock's output is."" Valid values:\n"" info - prints all messages.\n"" warning - prints warnings and errors.\n"" error - prints errors only."   
)
internal::Gt2Matcher testing::Gt ( )
inline

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

4090 { return internal::Gt2Matcher(); }
template<int k>
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  )

Definition at line 2198 of file gmock-generated-actions.h.

2198 {
template<int k>
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  )
inline

Definition at line 2198 of file gmock-generated-actions.h.

2198 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  )

Definition at line 2198 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), InvokeArgument(), testing::internal::invoke_argument::InvokeArgumentAdl(), and k.

2198  {
2200  return InvokeArgumentAdl<return_type>(
2201  internal::invoke_argument::AdlTag(),
2202  ::testing::get<k>(args));
2203 }
2204 
2206  HAS_1_TEMPLATE_PARAMS(int, k),
2207  AND_1_VALUE_PARAMS(p0)) {
p9_type InvokeArgument(p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7, p8_type p8, p9_type p9)
R InvokeArgumentAdl(AdlTag, F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10)
KeyT k
#define ACTION_TEMPLATE(name, template_params, value_params)
template<int k, typename p0_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
 
)
inline
template<int k, typename p0_type , typename p1_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P2   
)

Definition at line 2216 of file gmock-generated-actions.h.

2216 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
 
)
template<int k, typename p0_type , typename p1_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P2   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P2   
)
template<int k, typename p0_type , typename p1_type , typename p2_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P3   
)

Definition at line 2225 of file gmock-generated-actions.h.

2225 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P3   
)
template<int k, typename p0_type , typename p1_type , typename p2_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P3   
)
inline
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P4   
)

Definition at line 2234 of file gmock-generated-actions.h.

2234 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P4   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P4   
)
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P5   
)

Definition at line 2243 of file gmock-generated-actions.h.

2243 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P5   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P5   
)
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P6   
)

Definition at line 2252 of file gmock-generated-actions.h.

2252 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P6   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P6   
)
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P7   
)

Definition at line 2261 of file gmock-generated-actions.h.

2261 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P7   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P7   
)
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P8   
)

Definition at line 2270 of file gmock-generated-actions.h.

2270 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P8   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P8   
)
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P9   
)

Definition at line 2279 of file gmock-generated-actions.h.

2279 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P9   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P9   
)
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
class testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P10   
)

Definition at line 2288 of file gmock-generated-actions.h.

2288 {
template<int k, typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P10   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( InvokeArgumentAction  ,
P10   
)
template<typename T >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  )

Definition at line 2302 of file gmock-generated-actions.h.

2302 {
template<typename T >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  )
inline

Definition at line 2302 of file gmock-generated-actions.h.

2302 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  )

Definition at line 2302 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2302  {
2303  return new T();
2304 }
2305 
2307  HAS_1_TEMPLATE_PARAMS(typename, T),
2308  AND_1_VALUE_PARAMS(p0)) {
#define T(v)
Definition: http_parser.c:233
p9_type ReturnNew(p0_type p0, p1_type p1, p2_type p2, p3_type p3, p4_type p4, p5_type p5, p6_type p6, p7_type p7, p8_type p8, p9_type p9)
#define ACTION_TEMPLATE(name, template_params, value_params)
template<typename T , typename p0_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
 
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
 
)
template<typename T , typename p0_type , typename p1_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P2   
)

Definition at line 2314 of file gmock-generated-actions.h.

2314 {
template<typename T , typename p0_type , typename p1_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P2   
)
inline
template<typename T , typename p0_type , typename p1_type , typename p2_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P3   
)

Definition at line 2320 of file gmock-generated-actions.h.

2320 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P2   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P3   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P3   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P4   
)

Definition at line 2326 of file gmock-generated-actions.h.

2326 {
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P4   
)
inline
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P5   
)

Definition at line 2332 of file gmock-generated-actions.h.

2332 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P4   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P5   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P5   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P6   
)

Definition at line 2338 of file gmock-generated-actions.h.

2338 {
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P6   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P6   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P7   
)

Definition at line 2344 of file gmock-generated-actions.h.

2344 {
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P7   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P7   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P8   
)

Definition at line 2350 of file gmock-generated-actions.h.

2350 {
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P8   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P8   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P9   
)

Definition at line 2356 of file gmock-generated-actions.h.

2356 {
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P9   
)
inline
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P9   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
class testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P10   
)

Definition at line 2362 of file gmock-generated-actions.h.

2362 {
template<typename arg0_type , typename arg1_type , typename arg2_type , typename arg3_type , typename arg4_type , typename arg5_type , typename arg6_type , typename arg7_type , typename arg8_type , typename arg9_type >
::testing::internal::Function<F>::Result testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P10   
)
template<typename T , typename p0_type , typename p1_type , typename p2_type , typename p3_type , typename p4_type , typename p5_type , typename p6_type , typename p7_type , typename p8_type , typename p9_type >
testing::GTEST_CONCAT_TOKEN_ ( ReturnNewAction  ,
P10   
)
inline
testing::GTEST_DECLARE_bool_ ( death_test_use_fork  )
testing::GTEST_DECLARE_bool_ ( also_run_disabled_tests  )
testing::GTEST_DECLARE_bool_ ( break_on_failure  )
testing::GTEST_DECLARE_bool_ ( catch_exceptions  )
testing::GTEST_DECLARE_bool_ ( list_tests  )
testing::GTEST_DECLARE_bool_ ( print_time  )
testing::GTEST_DECLARE_bool_ ( show_internal_stack_frames  )
testing::GTEST_DECLARE_bool_ ( shuffle  )
testing::GTEST_DECLARE_bool_ ( throw_on_failure  )
testing::GTEST_DECLARE_int32_ ( random_seed  )
testing::GTEST_DECLARE_int32_ ( repeat  )
testing::GTEST_DECLARE_int32_ ( stack_trace_depth  )
testing::GTEST_DECLARE_string_ ( death_test_style  )
testing::GTEST_DECLARE_string_ ( color  )
testing::GTEST_DECLARE_string_ ( filter  )
testing::GTEST_DECLARE_string_ ( output  )
testing::GTEST_DECLARE_string_ ( stream_result_to  )
testing::GTEST_DEFINE_bool_ ( death_test_use_fork  ,
internal::BoolFromGTestEnv("death_test_use_fork", false)  ,
"Instructs to use fork()/_exit() instead of clone() in death tests. ""Ignored and always uses fork() on POSIX systems where clone() is not ""implemented. Useful when running under valgrind or similar tools if ""those do not support clone(). Valgrind 3.3.1 will just fail if ""it sees an unsupported combination of clone() flags. ""It is not recommended to use this flag w/o valgrind though it will ""work in 99% of the cases. Once valgrind is  fixed,
this flag will""most likely be removed."   
)

Referenced by GetDefaultFilter().

testing::GTEST_DEFINE_bool_ ( also_run_disabled_tests  ,
internal::BoolFromGTestEnv("also_run_disabled_tests", false)  ,
"Run disabled tests  too,
in addition to the tests normally being run."   
)
testing::GTEST_DEFINE_bool_ ( break_on_failure  ,
internal::BoolFromGTestEnv("break_on_failure", false)  ,
"True iff a failed assertion should be a debugger break-point."   
)
testing::GTEST_DEFINE_bool_ ( catch_exceptions  ,
internal::BoolFromGTestEnv("catch_exceptions", true)  ,
"True iff "GTEST_NAME_" should catch exceptions and treat them as test failures."   
)
testing::GTEST_DEFINE_bool_ ( list_tests  ,
false  ,
"List all tests without running them."   
)
testing::GTEST_DEFINE_bool_ ( print_time  ,
internal::BoolFromGTestEnv("print_time", true)  ,
"True iff "GTEST_NAME_" should display elapsed time in text output."   
)
testing::GTEST_DEFINE_bool_ ( show_internal_stack_frames  ,
false  ,
"True iff "GTEST_NAME_" should include internal stack frames when ""printing test failure stack traces."   
)
testing::GTEST_DEFINE_bool_ ( shuffle  ,
internal::BoolFromGTestEnv("shuffle", false)  ,
"True iff "GTEST_NAME_" should randomize tests' order on every run."   
)
testing::GTEST_DEFINE_bool_ ( throw_on_failure  ,
internal::BoolFromGTestEnv("throw_on_failure", false)  ,
"When this flag is  specified,
a failed assertion will throw an exception""if exceptions are enabled or exit the program with a non-zero code""otherwise."   
)
testing::GTEST_DEFINE_int32_ ( random_seed  ,
internal::Int32FromGTestEnv("random_seed", 0)  ,
"Random number seed to use when shuffling test orders. Must be in range ""  [1, 99999],
or 0 to use a seed based on the current time."   
)

Referenced by GetDefaultFilter().

testing::GTEST_DEFINE_int32_ ( repeat  ,
internal::Int32FromGTestEnv("repeat", 1)  ,
"How many times to repeat each test. Specify a negative number ""for repeating forever. Useful for shaking out flaky tests."   
)
testing::GTEST_DEFINE_int32_ ( stack_trace_depth  ,
internal::Int32FromGTestEnv("stack_trace_depth", kMaxStackTraceDepth)  ,
"The maximum number of stack frames to print when an ""assertion fails. The valid range is 0 through  100,
inclusive."   
)
testing::GTEST_DEFINE_string_ ( death_test_style  ,
internal::StringFromGTestEnv("death_test_style", kDefaultDeathTestStyle)  ,
"Indicates how to run a death test in a forked child process: ""\"threadsafe\" (child process re-executes the test binary ""from the beginning, running only the specific death test) or ""\"fast\" (child process runs the death test immediately ""after forking)."   
)
testing::GTEST_DEFINE_string_ ( color  ,
internal::StringFromGTestEnv("color","auto")  ,
"Whether to use colors in the output. Valid values:  yes,
no  ,
""and auto. 'auto'means to use colors if the output is""being sent to a terminal and the TERM environment variable""is set to a terminal type that supports colors."   
)
testing::GTEST_DEFINE_string_ ( filter  ,
internal::StringFromGTestEnv("filter", GetDefaultFilter())  ,
"A colon-separated list of glob (not regex) patterns ""for filtering the tests to  run,
optionally followed by a""'-'and a:separated list of negative patterns(tests to""exclude).A test is run if it matches one of the positive""patterns and does not match any of the negative patterns."   
)
testing::GTEST_DEFINE_string_ ( output  ,
internal::StringFromGTestEnv("output","")  ,
"A format   currently must be \"xml\",
optionally followed""by a colon and an output file name or directory.A directory""is indicated by a trailing pathname separator.""Examples:\"xml:filename.xml\"  ,
\"xml::directoryname/\". ""If a directory is  specified,
output files will be created""within that  directory,
with file-names based on the test""executable's name  and,
if  necessary,
made unique by adding""digits."   
)
testing::GTEST_DEFINE_string_ ( stream_result_to  ,
internal::StringFromGTestEnv("stream_result_to","")  ,
"This flag specifies the host name and the port number on which to stream ""test results. Example: \"localhost:555\". The flag is effective only on ""Linux."   
)
template<typename A >
internal::IgnoreResultAction< A > testing::IgnoreResult ( const A an_action)
inline

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

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), and TEST().

1187  {
1188  return internal::IgnoreResultAction<A>(an_action);
1189 }
GTEST_API_ void testing::InitGoogleMock ( int *  argc,
char **  argv 
)

Definition at line 173 of file gmock.cc.

References testing::internal::InitGoogleMockImpl().

Referenced by main(), testing::internal::ParseGoogleMockStringFlag(), and TestInitGoogleMock().

173  {
175 }
char ** argv
void InitGoogleMockImpl(int *argc, CharType **argv)
Definition: gmock.cc:128
GTEST_API_ void testing::InitGoogleMock ( int *  argc,
wchar_t **  argv 
)

Definition at line 179 of file gmock.cc.

References testing::internal::InitGoogleMockImpl().

179  {
181 }
char ** argv
void InitGoogleMockImpl(int *argc, CharType **argv)
Definition: gmock.cc:128
void testing::InitGoogleTest ( int *  argc,
char **  argv 
)

Definition at line 5370 of file gtest.cc.

References testing::internal::InitGoogleTestImpl().

Referenced by AddGlobalTestEnvironment(), testing::UnitTest::impl(), testing::internal::InitGoogleMockImpl(), main(), and testing::internal::ParseGoogleMockStringFlag().

5370  {
5371 #if defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
5372  GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_(argc, argv);
5373 #else // defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
5375 #endif // defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
5376 }
char ** argv
void InitGoogleTestImpl(int *argc, CharType **argv)
Definition: gtest.cc:5344
void testing::InitGoogleTest ( int *  argc,
wchar_t **  argv 
)

Definition at line 5380 of file gtest.cc.

References testing::internal::InitGoogleTestImpl().

5380  {
5381 #if defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
5382  GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_(argc, argv);
5383 #else // defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
5385 #endif // defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
5386 }
char ** argv
void InitGoogleTestImpl(int *argc, CharType **argv)
Definition: gtest.cc:5344
testing::INSTANTIATE_TYPED_TEST_CASE_P ( My  ,
CodeLocationForTYPEDTESTP  ,
int   
)

Referenced by TYPED_TEST_P().

template<typename FunctionImpl >
PolymorphicAction< internal::InvokeAction< FunctionImpl > > testing::Invoke ( FunctionImpl  function_impl)

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

References MakePolymorphicAction().

Referenced by HTTPUpstreamTest< SPDY3CodecPair >::commonSetUp(), HTTP2UpstreamSessionWithVirtualNodesTest::commonSetUp(), testing::gmock_more_actions_test::Foo::Concat10(), proxygen::DanglingQueueTestBase::DanglingQueueTestBase(), fizz::client::test::ClientProtocolTest::doFinishedFlow(), ZlibServerFilterTest::exercise_compression(), HTTPDownstreamTest< SPDY3_1CodecPair >::expect101(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectAeadCreation(), proxygen::MockHTTPHandler::expectBody(), fizz::test::HandshakeTest::expectClientSuccess(), fizz::server::test::ServerProtocolTest::expectCookie(), fizz::server::test::AeadTicketCipherTest::expectDecode(), proxygen::MockHTTPHandler::expectDetachTransaction(), fizz::test::HandshakeTest::expectEarlyDataRejectError(), proxygen::MockHTTPHandler::expectEgressPaused(), proxygen::MockHTTPHandler::expectEgressResumed(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectEncryptedReadRecordLayerCreation(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectEncryptedWriteRecordLayerCreation(), proxygen::MockHTTPHandler::expectEOM(), fizz::test::HandshakeTest::expectError(), proxygen::MockHTTPHandler::expectError(), proxygen::MockHTTPHandler::expectGoaway(), proxygen::MockHTTPHandler::expectHeaders(), fizz::test::AsyncFizzBaseTest::expectReadData(), HTTPDownstreamTest< SPDY3_1CodecPair >::expectResponses(), fizz::test::HandshakeTest::expectServerError(), fizz::test::HandshakeTest::expectServerSuccess(), proxygen::MockHTTPHandler::expectTrailers(), proxygen::MockHTTPHandler::expectTransaction(), proxygen::fakeMockCodec(), HTTPDownstreamTest< SPDY3_1CodecPair >::HTTPDownstreamTest(), MockCodecDownstreamTest::MockCodecDownstreamTest(), proxygen::MockHTTPTransaction::MockHTTPTransaction(), MockCodecDownstreamTest::onIngressImpl(), testing::gmock_generated_actions_test::SumOf6Functor::operator()(), testing::internal::InvokeMethodAction< Class, MethodPtr >::Perform(), testing::gmock_generated_actions_test::SubstractAction::Perform(), fizz::test::HandshakeTest::resetTransportsAndStartCookieHandshake(), testing::internal::ExpectationTester::SetCallCount(), fizz::test::MockFactory::setDefaults(), HTTPUpstreamTest< SPDY3CodecPair >::setMockByteEventTracker(), HTTPDownstreamTest< SPDY3_1CodecPair >::setMockByteEventTracker(), BroadcastHandlerTest::SetUp(), FlowControlFilterTest< initSize >::SetUp(), TimeoutTest::SetUp(), LRUPersistentCacheTest< MutexT >::SetUp(), HTTP2UpstreamSessionWithVirtualNodesTest::SetUp(), MockHTTPUpstreamTest::SetUp(), DownstreamTransactionTest::setupRequestResponseFlow(), fizz::setWriteDefaults(), folly::detail::free_invoke_proxy< Invoke >::static_cast(), folly::detail::member_invoke_proxy< Invoke >::static_cast(), testing::gmock_nice_strict_test::MockBar::str(), fizz::server::test::TEST(), testing::gmock_more_actions_test::TEST(), testing::gmock_nice_strict_test::TEST(), testing::gmock_generated_actions_test::TEST(), TEST(), folly::TEST(), folly::TEST_F(), fizz::test::TEST_F(), fizz::server::test::TEST_F(), fizz::client::test::TEST_F(), TEST_F(), MockCodecDownstreamTest::testConnFlowControlBlocked(), MockCodecDownstreamTest::testGoaway(), HTTPDownstreamTest< C >::testPriorities(), proxygen::RFC1867Base::testSimple(), testTraits(), folly::futures::detail::detail_msvc_15_7_workaround::tryInvoke(), and TYPED_TEST().

115  {
116  return MakePolymorphicAction(
117  internal::InvokeAction<FunctionImpl>(function_impl));
118 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
template<class Class , typename MethodPtr >
PolymorphicAction< internal::InvokeMethodAction< Class, MethodPtr > > testing::Invoke ( Class *  obj_ptr,
MethodPtr  method_ptr 
)

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

References MakePolymorphicAction().

Referenced by testing::internal::InvokeAction< FunctionImpl >::Perform().

124  {
125  return MakePolymorphicAction(
126  internal::InvokeMethodAction<Class, MethodPtr>(obj_ptr, method_ptr));
127 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
p1_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1 
)

Definition at line 2216 of file gmock-generated-actions.h.

2216 {
p2_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2 
)

Definition at line 2225 of file gmock-generated-actions.h.

2225 {
p3_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3 
)

Definition at line 2234 of file gmock-generated-actions.h.

2234 {
p4_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4 
)

Definition at line 2243 of file gmock-generated-actions.h.

2243 {
p5_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5 
)

Definition at line 2252 of file gmock-generated-actions.h.

2252 {
p6_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6 
)

Definition at line 2261 of file gmock-generated-actions.h.

2261 {
p7_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6,
p7_type  p7 
)

Definition at line 2270 of file gmock-generated-actions.h.

2270 {
p8_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6,
p7_type  p7,
p8_type  p8 
)

Definition at line 2279 of file gmock-generated-actions.h.

2279 {
p9_type testing::InvokeArgument ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6,
p7_type  p7,
p8_type  p8,
p9_type  p9 
)

Definition at line 2288 of file gmock-generated-actions.h.

2288 {
template<typename FunctionImpl >
PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > testing::InvokeWithoutArgs ( FunctionImpl  function_impl)

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

References MakePolymorphicAction().

Referenced by fizz::server::test::FizzServerTest::accept(), fizz::server::test::AsyncFizzServerTest::accept(), fizz::server::test::ServerProtocolTest::acceptEarlyData(), fizz::client::test::AsyncFizzClientTest::completeEarlyHandshake(), fizz::client::test::AsyncFizzClientTest::connect(), fizz::client::test::ClientProtocolTest::doFinishedFlow(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectAeadCreation(), fizz::server::test::AsyncFizzServerTest::expectAppClose(), fizz::client::test::AsyncFizzClientTest::expectAppClose(), proxygen::MockHTTPHandler::expectBody(), proxygen::MockHTTPHandler::expectChunkComplete(), proxygen::MockHTTPHandler::expectChunkHeader(), proxygen::MockHTTPHandler::expectHeaders(), fizz::server::test::AsyncFizzServerTest::fullHandshakeSuccess(), fizz::client::test::AsyncFizzClientTest::fullHandshakeSuccess(), MockCodecDownstreamTest::MockCodecDownstreamTest(), testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), testing::internal::ExpectationTester::SetCallCount(), fizz::MockKeyExchange::setDefaults(), fizz::test::MockKeyScheduler::setDefaults(), fizz::test::MockAead::setDefaults(), fizz::MockPlaintextWriteRecordLayer::setDefaults(), fizz::test::MockHandshakeContext::setDefaults(), fizz::server::test::MockTicketCipher::setDefaults(), fizz::test::MockFactory::setDefaults(), fizz::test::MockCertificateDecompressor::setDefaults(), fizz::test::MockCertificateCompressor::setDefaults(), fizz::test::KeySchedulerTest::SetUp(), FlowControlFilterTest< initSize >::SetUp(), DownstreamTransactionTest::setupRequestResponseFlow(), fizz::server::test::TEST(), TEST(), fizz::test::TEST_F(), fizz::server::test::TEST_F(), fizz::client::test::TEST_F(), and TEST_F().

1168  {
1169  return MakePolymorphicAction(
1170  internal::InvokeWithoutArgsAction<FunctionImpl>(function_impl));
1171 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
template<class Class , typename MethodPtr >
PolymorphicAction< internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > > testing::InvokeWithoutArgs ( Class *  obj_ptr,
MethodPtr  method_ptr 
)

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

References MakePolymorphicAction().

1177  {
1178  return MakePolymorphicAction(
1179  internal::InvokeMethodWithoutArgsAction<Class, MethodPtr>(
1180  obj_ptr, method_ptr));
1181 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

Definition at line 1618 of file gtest.cc.

Referenced by IsNotSubstring(), testing::internal::ExpectationTester::SetCallCount(), testing::InitGoogleTestTest::TestParsingFlags(), and testing::internal::UnitTestRecordPropertyTestHelper::UnitTestRecordProperty().

1620  {
1621  return IsSubstringImpl(false, needle_expr, haystack_expr, needle, haystack);
1622 }
const string needle
AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

Definition at line 1624 of file gtest.cc.

1626  {
1627  return IsSubstringImpl(false, needle_expr, haystack_expr, needle, haystack);
1628 }
const string needle
AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string needle,
const ::std::string haystack 
)

Definition at line 1636 of file gtest.cc.

References AssertionFailure(), AssertionSuccess(), IsNotSubstring(), testing::internal::IsSpace(), IsSubstring(), needle, and string.

1638  {
1639  return IsSubstringImpl(false, needle_expr, haystack_expr, needle, haystack);
1640 }
const string needle
PolymorphicMatcher< internal::IsNullMatcher > testing::IsNull ( )
inline

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

References MakePolymorphicMatcher().

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), and TEST().

3795  {
3796  return MakePolymorphicMatcher(internal::IsNullMatcher());
3797 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)
AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

Definition at line 1612 of file gtest.cc.

1614  {
1615  return IsSubstringImpl(true, needle_expr, haystack_expr, needle, haystack);
1616 }
const string needle
AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string needle,
const ::std::string haystack 
)

Definition at line 1630 of file gtest.cc.

1632  {
1633  return IsSubstringImpl(true, needle_expr, haystack_expr, needle, haystack);
1634 }
const string needle
template<typename M >
internal::KeyMatcher< M > testing::Key ( M  inner_matcher)
inline

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

Referenced by contendedRW(), folly::AtomicUnorderedInsertMap< Key, Value, Hash, KeyEqual, SkipKeyValueDeletion, Atom, IndexType, Allocator >::findOrConstruct(), folly::get_default(), proxygen::PerfectIndexMap< typename T::TKey, T::TOtherKey, T::TNoneKey, T::Hash, T::TAllowDuplicates, T::TCaseInsensitive >::getSingleKey(), folly::gen::detail::GroupBy< Selector >::GroupBy(), folly::gen::detail::GroupByAdjacent< Selector >::GroupByAdjacent(), folly::ConcurrentHashMap< KeyType, ValueType, HashFn, KeyEqual, Allocator, ShardBits, Atom, Mutex >::insert(), folly::detail::ConcurrentHashMapSegment< KeyType, ValueType, ShardBits, HashFn, KeyEqual, Allocator, Atom, Mutex >::insert(), non_atomic< T >::is_lock_free(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), folly::gen::detail::Min< Selector, Comparer >::Min(), folly::F14ValueMap< Key, Mapped, Hasher, KeyEqual, Alloc >::operator=(), folly::F14NodeMap< std::string, Mapped, Hash, Eq, Alloc >::operator=(), folly::F14VectorSet< Key, Hasher, KeyEqual, Alloc >::operator=(), folly::F14VectorMap< Key, Mapped, Hasher, KeyEqual, Alloc >::operator=(), folly::ParkingLot< Data >::park(), folly::ParkingLot< Data >::park_for(), proxygen::PerfectIndexMap< typename T::TKey, T::TOtherKey, T::TNoneKey, T::Hash, T::TAllowDuplicates, T::TCaseInsensitive >::removeKey(), proxygen::PerfectIndexMap< typename T::TKey, T::TOtherKey, T::TNoneKey, T::Hash, T::TAllowDuplicates, T::TCaseInsensitive >::searchForKey(), proxygen::PerfectIndexMap< typename T::TKey, T::TOtherKey, T::TNoneKey, T::Hash, T::TAllowDuplicates, T::TCaseInsensitive >::setKey(), folly::swap(), testing::gmock_matchers_test::TEST(), TYPED_TEST(), folly::f14::detail::F14BasicMap< Key, Mapped, Hasher, KeyEqual, Alloc >::visitContiguousRanges(), and folly::AtomicUnorderedInsertMap< Key, Value, Hash, KeyEqual, SkipKeyValueDeletion, Atom, IndexType, Allocator >::zeroFillSlots().

4322  {
4323  return internal::KeyMatcher<M>(inner_matcher);
4324 }
internal::Le2Matcher testing::Le ( )
inline

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

4094 { return internal::Le2Matcher(); }
internal::Lt2Matcher testing::Lt ( )
inline

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

4098 { return internal::Lt2Matcher(); }
Cardinality testing::MakeCardinality ( const CardinalityInterface c)
inline

Definition at line 141 of file gmock-cardinalities.h.

Referenced by testing::Cardinality::DescribeTo().

141  {
142  return Cardinality(c);
143 }
char c
template<typename T >
Matcher< T > testing::MakeMatcher ( const MatcherInterface< T > *  impl)
inline

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

Referenced by A(), testing::gmock_matchers_test::NewEvenMatcherImpl::DescribeTo(), testing::gmock_matchers_test::GreaterThan(), proxygen::HasHTTPHeader(), testing::gmock_matchers_test::GreaterThanMatcher::MatchAndExplain(), testing::PolymorphicMatcher< Impl >::MonomorphicImpl< T >::MatchAndExplain(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::internal::PairMatchBase< Le2Matcher, AnyLe >::operator Matcher< ::testing::tuple< T1, T2 > >(), testing::internal::ArgsMatcher< InnerMatcher, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::operator Matcher< ArgsTuple >(), testing::internal::PairMatchBase< Le2Matcher, AnyLe >::operator Matcher< const ::testing::tuple< T1, T2 > & >(), testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< const FloatType & >(), testing::internal::SizeIsMatcher< SizeMatcher >::operator Matcher< Container >(), testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::operator Matcher< Container >(), testing::internal::ContainsMatcher< M >::operator Matcher< Container >(), testing::internal::EachMatcher< M >::operator Matcher< Container >(), testing::internal::UnorderedElementsAreMatcher< MatcherTuple >::operator Matcher< Container >(), testing::internal::ElementsAreMatcher< MatcherTuple >::operator Matcher< Container >(), testing::internal::UnorderedElementsAreArrayMatcher< T >::operator Matcher< Container >(), testing::internal::ElementsAreArrayMatcher< T >::operator Matcher< Container >(), testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< FloatType & >(), testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< FloatType >(), testing::internal::ComparisonBase< LtMatcher< Rhs >, Rhs, AnyLt >::operator Matcher< Lhs >(), testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::operator Matcher< LhsContainer >(), testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::operator Matcher< LhsContainer >(), testing::internal::KeyMatcher< M >::operator Matcher< PairType >(), testing::internal::PairMatcher< FirstMatcher, SecondMatcher >::operator Matcher< PairType >(), testing::internal::PointeeMatcher< InnerMatcher >::operator Matcher< Pointer >(), testing::internal::RefMatcher< T & >::operator Matcher< Super & >(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::operator Matcher< T >(), and testing::gmock_matchers_test::TEST().

484  {
485  return Matcher<T>(impl);
486 }
testing::MATCHER ( IsEmpty  ,
negation?"isn't empty":"is empty"   
)

Definition at line 48 of file gmock-more-matchers.h.

48  : "is empty") {
49  if (arg.empty()) {
50  return true;
51  }
52  *result_listener << "whose size is " << arg.size();
53  return false;
54 }
template<typename T , typename M >
Matcher< T > testing::MatcherCast ( const M matcher)
inline
PolymorphicMatcher< internal::MatchesRegexMatcher > testing::MatchesRegex ( const internal::RE regex)
inline

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

References MakePolymorphicMatcher().

Referenced by testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), MatchesRegex(), TEST(), testing::gmock_matchers_test::TEST(), and TEST_F().

4006  {
4007  return MakePolymorphicMatcher(internal::MatchesRegexMatcher(regex, true));
4008 }
regex
Definition: CMakeCache.txt:563
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
PolymorphicMatcher< internal::MatchesRegexMatcher > testing::MatchesRegex ( const internal::string regex)
inline

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

References MatchesRegex().

4010  {
4011  return MatchesRegex(new internal::RE(regex));
4012 }
regex
Definition: CMakeCache.txt:563
PolymorphicMatcher< internal::MatchesRegexMatcher > MatchesRegex(const internal::string &regex)
internal::FloatingEqMatcher< double > testing::NanSensitiveDoubleEq ( double  rhs)
inline
internal::FloatingEqMatcher< double > testing::NanSensitiveDoubleNear ( double  rhs,
double  max_abs_error 
)
inline

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

References folly::detail::rhs.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::TEST_F(), and testing::gmock_matchers_test::FloatingPointNearTest< RawType >::TestNearMatches().

3837  {
3838  return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
3839 }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
internal::FloatingEqMatcher< float > testing::NanSensitiveFloatEq ( float  rhs)
inline
internal::FloatingEqMatcher< float > testing::NanSensitiveFloatNear ( float  rhs,
float  max_abs_error 
)
inline

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

References folly::detail::rhs.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::TEST_F(), and testing::gmock_matchers_test::FloatingPointNearTest< RawType >::TestNearMatches().

3865  {
3866  return internal::FloatingEqMatcher<float>(rhs, true, max_abs_error);
3867 }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename Rhs >
internal::NeMatcher< Rhs > testing::Ne ( Rhs  x)
inline
internal::Ne2Matcher testing::Ne ( )
inline

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

4102 { return internal::Ne2Matcher(); }
PolymorphicMatcher< internal::NotNullMatcher > testing::NotNull ( )
inline

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

References MakePolymorphicMatcher().

Referenced by testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3802  {
3803  return MakePolymorphicMatcher(internal::NotNullMatcher());
3804 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
std::ostream & testing::operator<< ( std::ostream &  os,
const TestPartResult result 
)

Definition at line 58 of file gtest-test-part.cc.

References testing::TestPartResult::file_name(), testing::TestPartResult::kFatalFailure, testing::TestPartResult::kSuccess, testing::TestPartResult::line_number(), testing::TestPartResult::message(), and testing::TestPartResult::type().

58  {
59  return os
60  << result.file_name() << ":" << result.line_number() << ": "
61  << (result.type() == TestPartResult::kSuccess ? "Success" :
62  result.type() == TestPartResult::kFatalFailure ? "Fatal failure" :
63  "Non-fatal failure") << ":\n"
64  << result.message() << std::endl;
65 }
std::ostream & testing::operator<< ( std::ostream &  os,
const Message sb 
)
inline
template<typename FirstMatcher , typename SecondMatcher >
internal::PairMatcher< FirstMatcher, SecondMatcher > testing::Pair ( FirstMatcher  first_matcher,
SecondMatcher  second_matcher 
)
inline
template<typename InnerMatcher >
internal::PointeeMatcher< InnerMatcher > testing::Pointee ( const InnerMatcher &  inner_matcher)
inline
template<typename TupleMatcher , typename Container >
internal::PointwiseMatcher< TupleMatcher, GTEST_REMOVE_CONST_(Container)> testing::Pointwise ( const TupleMatcher &  tuple_matcher,
const Container &  rhs 
)
inline

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

References GTEST_REMOVE_CONST_, and folly::detail::rhs.

Referenced by testing::gmock_matchers_test::IsHalfOfMatcher::DescribeNegationTo(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), and testing::gmock_matchers_test::TEST().

4187  {
4188  // This following line is for working around a bug in MSVC 8.0,
4189  // which causes Container to be a const type sometimes (e.g. when
4190  // rhs is a const int[])..
4191  typedef GTEST_REMOVE_CONST_(Container) RawContainer;
4192  return internal::PointwiseMatcher<TupleMatcher, RawContainer>(
4193  tuple_matcher, rhs);
4194 }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
#define GTEST_REMOVE_CONST_(T)
void testing::PrintFlag ( const char *  flag)

Definition at line 53 of file gtest_env_var_test_.cc.

References folly::pushmi::operators::filter, GTEST_FLAG, gmock_output_test::output, and repeat().

Referenced by main().

53  {
54  if (strcmp(flag, "break_on_failure") == 0) {
55  cout << GTEST_FLAG(break_on_failure);
56  return;
57  }
58 
59  if (strcmp(flag, "catch_exceptions") == 0) {
60  cout << GTEST_FLAG(catch_exceptions);
61  return;
62  }
63 
64  if (strcmp(flag, "color") == 0) {
65  cout << GTEST_FLAG(color);
66  return;
67  }
68 
69  if (strcmp(flag, "death_test_style") == 0) {
70  cout << GTEST_FLAG(death_test_style);
71  return;
72  }
73 
74  if (strcmp(flag, "death_test_use_fork") == 0) {
75  cout << GTEST_FLAG(death_test_use_fork);
76  return;
77  }
78 
79  if (strcmp(flag, "filter") == 0) {
80  cout << GTEST_FLAG(filter);
81  return;
82  }
83 
84  if (strcmp(flag, "output") == 0) {
85  cout << GTEST_FLAG(output);
86  return;
87  }
88 
89  if (strcmp(flag, "print_time") == 0) {
90  cout << GTEST_FLAG(print_time);
91  return;
92  }
93 
94  if (strcmp(flag, "repeat") == 0) {
95  cout << GTEST_FLAG(repeat);
96  return;
97  }
98 
99  if (strcmp(flag, "stack_trace_depth") == 0) {
100  cout << GTEST_FLAG(stack_trace_depth);
101  return;
102  }
103 
104  if (strcmp(flag, "throw_on_failure") == 0) {
105  cout << GTEST_FLAG(throw_on_failure);
106  return;
107  }
108 
109  cout << "Invalid flag name " << flag
110  << ". Valid names are break_on_failure, color, filter, etc.\n";
111  exit(1);
112 }
#define GTEST_FLAG(name)
Definition: gtest-port.h:2504
PUSHMI_INLINE_VAR constexpr detail::filter_fn filter
Definition: filter.h:75
static once_flag flag
Definition: Random.cpp:75
void repeat(F const &func)
template<typename Class , typename PropertyType , typename PropertyMatcher >
PolymorphicMatcher< internal::PropertyMatcher< Class, PropertyType > > testing::Property ( PropertyType(Class::*)() const  property,
const PropertyMatcher &  matcher 
)
inline

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

References GTEST_REFERENCE_TO_CONST_, MakePolymorphicMatcher(), and MatcherCast().

Referenced by testing::gmock_matchers_test::DerivedClass::k(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3914  {
3915  return MakePolymorphicMatcher(
3916  internal::PropertyMatcher<Class, PropertyType>(
3917  property,
3918  MatcherCast<GTEST_REFERENCE_TO_CONST_(PropertyType)>(matcher)));
3919  // The call to MatcherCast() is required for supporting inner
3920  // matchers of compatible types. For example, it allows
3921  // Property(&Foo::bar, m)
3922  // to compile where bar() returns an int32 and m is a matcher for int64.
3923 }
Matcher< T > MatcherCast(const M &matcher)
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
#define GTEST_REFERENCE_TO_CONST_(T)
testing::REGISTER_TYPED_TEST_CASE_P ( CodeLocationForTYPEDTESTP  ,
Verify   
)

Referenced by TYPED_TEST_P().

template<typename Callable , typename ResultOfMatcher >
internal::ResultOfMatcher< Callable > testing::ResultOf ( Callable  callable,
const ResultOfMatcher &  matcher 
)

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

Referenced by testing::gmock_matchers_test::DerivedClass::k(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::Functor::operator()(), testing::gmock_matchers_test::PolymorphicFunctor::operator()(), testing::gmock_matchers_test::ReferencingFunctor::operator()(), and testing::gmock_matchers_test::TEST().

3940  {
3941  return internal::ResultOfMatcher<Callable>(
3942  callable,
3943  MatcherCast<typename internal::CallableTraits<Callable>::ResultType>(
3944  matcher));
3945  // The call to MatcherCast() is required for supporting inner
3946  // matchers of compatible types. For example, it allows
3947  // ResultOf(Function, m)
3948  // to compile where Function() returns an int32 and m is a matcher for int64.
3949 }
template<typename R >
internal::ReturnAction< R > testing::Return ( value)

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

References testing::internal::move().

Referenced by fizz::server::test::AsyncFizzServerTest::accept(), HTTPDownstreamTest< SPDY3_1CodecPair >::addSimpleNiceHandler(), HTTPDownstreamTest< SPDY3_1CodecPair >::addSimpleStrictHandler(), testing::gmock_matchers_test::AllArgsHelper::AllArgsHelper(), fizz::test::AsyncFizzBaseTest::AsyncFizzBaseTest(), HTTPUpstreamTest< SPDY3CodecPair >::commonSetUp(), HTTP2UpstreamSessionWithVirtualNodesTest::commonSetUp(), proxygen::MockHTTPTransaction::enablePush(), ZlibServerFilterTest::exercise_compression(), testing::gmock_generated_function_mockers_test::FunctionMockerTest::FunctionMockerTest(), folly::Future< folly::folly::Unit >::Future(), fizz::server::test::CertManagerTest::getCert(), HTTPDownstreamTest< SPDY3_1CodecPair >::HTTPDownstreamTest(), fizz::test::CertDecompressionManagerTest::makeMockDecompressor(), proxygen::makeMockParallelCodec(), folly::gen::member(), MockCodecDownstreamTest::MockCodecDownstreamTest(), proxygen::MockHTTPTransaction::MockHTTPTransaction(), testing::gmock_generated_function_mockers_test::MockOverloadedOnArgNumber::MockOverloadedOnArgNumber(), testing::gmock_generated_function_mockers_test::MockOverloadedOnConstness::MockOverloadedOnConstness(), testing::gmock_generated_function_mockers_test::MockStack< T >::MockStack(), proxygen::newMockTransport(), testing::gmock_generated_actions_test::SubstractAction::Perform(), testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), fizz::test::HandshakeTest::resetTransportsAndStartCookieHandshake(), testing::internal::ExpectationTester::SetCallCount(), TimeoutTest::setClock(), HTTPUpstreamTest< SPDY3CodecPair >::setMockByteEventTracker(), HTTPDownstreamTest< SPDY3_1CodecPair >::setMockByteEventTracker(), fizz::test::KeySchedulerTest::SetUp(), fizz::server::test::ServerProtocolTest::SetUp(), DownstreamTransactionTest::SetUp(), fizz::server::test::AsyncFizzServerTest::SetUp(), fizz::client::test::AsyncFizzClientTest::SetUp(), fizz::test::HandshakeTest::SetUp(), FlowControlFilterTest< initSize >::SetUp(), TimeoutTest::SetUp(), HTTP2UpstreamSessionWithVirtualNodesTest::SetUp(), MockHTTPUpstreamTest::SetUp(), MockHTTP2UpstreamTest::SetUp(), folly::TEST(), fizz::server::test::TEST(), TEST(), testing::gmock_generated_function_mockers_test::TEST(), testing::gmock_generated_actions_test::TEST(), testing::gmock_matchers_test::TEST(), TEST_F(), fizz::test::TEST_F(), fizz::server::test::TEST_F(), testing::gmock_generated_function_mockers_test::TEST_F(), fizz::client::test::TEST_F(), folly::TEST_F(), MockCodecDownstreamTest::testConnFlowControlBlocked(), testExpectHandling(), MockCodecDownstreamTest::testGoaway(), proxygen::RFC1867Base::testSimple(), HTTPDownstreamTest< C >::testSimpleUpgrade(), HTTPUpstreamTest< C >::testSimpleUpgrade(), folly::Future< folly::folly::Unit >::then(), and TYPED_TEST().

1061  {
1062  return internal::ReturnAction<R>(internal::move(value));
1063 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
static const char *const value
Definition: Conv.cpp:50
PolymorphicAction< internal::ReturnVoidAction > testing::Return ( )
inline

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

References MakePolymorphicAction().

1071  {
1072  return MakePolymorphicAction(internal::ReturnVoidAction());
1073 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
p0_type testing::ReturnNew ( p0_type  p0)

Definition at line 2308 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), and T.

Referenced by GTEST_CONCAT_TOKEN_(), and ReturnNew().

2308 {
p1_type testing::ReturnNew ( p0_type  p0,
p1_type  p1 
)

Definition at line 2314 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2314 {
p2_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2 
)

Definition at line 2320 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2320 {
p3_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3 
)

Definition at line 2326 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2326 {
p4_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4 
)

Definition at line 2332 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2332 {
p5_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5 
)

Definition at line 2338 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2338 {
p6_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6 
)

Definition at line 2344 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2344 {
p7_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6,
p7_type  p7 
)

Definition at line 2350 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2350 {
p8_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6,
p7_type  p7,
p8_type  p8 
)

Definition at line 2356 of file gmock-generated-actions.h.

References ACTION_TEMPLATE(), ReturnNew(), and T.

2356 {
p9_type testing::ReturnNew ( p0_type  p0,
p1_type  p1,
p2_type  p2,
p3_type  p3,
p4_type  p4,
p5_type  p5,
p6_type  p6,
p7_type  p7,
p8_type  p8,
p9_type  p9 
)

Definition at line 2362 of file gmock-generated-actions.h.

References T.

2362 {
PolymorphicAction< internal::ReturnNullAction > testing::ReturnNull ( )
inline

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

References MakePolymorphicAction().

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform().

1066  {
1067  return MakePolymorphicAction(internal::ReturnNullAction());
1068 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
template<typename R >
internal::ReturnRefOfCopyAction< R > testing::ReturnRefOfCopy ( const R &  x)
inline

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

References x.

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform().

1085  {
1086  return internal::ReturnRefOfCopyAction<R>(x);
1087 }
const int x
template<typename T , typename M >
Matcher< T > testing::SafeMatcherCast ( const M polymorphic_matcher)
inline

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

References A(), and testing::SafeMatcherCastImpl< T >::Cast().

Referenced by testing::SafeMatcherCastImpl< T >::Cast().

665  {
666  return SafeMatcherCastImpl<T>::Cast(polymorphic_matcher);
667 }
template<size_t N, typename T >
PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage< T >::value > > testing::SetArgPointee ( const T x)

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

References MakePolymorphicAction().

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), and testing::internal::ExpectationTester::SetCallCount().

1109  {
1110  return MakePolymorphicAction(internal::SetArgumentPointeeAction<
1112 }
Definition: InvokeTest.cpp:58
#define T(v)
Definition: http_parser.c:233
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
static const char *const value
Definition: Conv.cpp:50
template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction< N, const char *, false > > testing::SetArgPointee ( const char *  p)

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

References MakePolymorphicAction().

1121  {
1122  return MakePolymorphicAction(internal::SetArgumentPointeeAction<
1123  N, const char*, false>(p));
1124 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction< N, const wchar_t *, false > > testing::SetArgPointee ( const wchar_t *  p)

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

References MakePolymorphicAction(), and T.

1129  {
1130  return MakePolymorphicAction(internal::SetArgumentPointeeAction<
1131  N, const wchar_t*, false>(p));
1132 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
template<size_t N, typename T >
PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage< T >::value > > testing::SetArgumentPointee ( const T x)

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

References MakePolymorphicAction().

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform().

1140  {
1141  return MakePolymorphicAction(internal::SetArgumentPointeeAction<
1143 }
Definition: InvokeTest.cpp:58
#define T(v)
Definition: http_parser.c:233
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
static const char *const value
Definition: Conv.cpp:50
template<typename T >
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > testing::SetErrnoAndReturn ( int  errval,
T  result 
)

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

References MakePolymorphicAction().

Referenced by testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), and TEST().

1156  {
1157  return MakePolymorphicAction(
1158  internal::SetErrnoAndReturnAction<T>(errval, result));
1159 }
PolymorphicAction< Impl > MakePolymorphicAction(const Impl &impl)
template<typename SizeMatcher >
internal::SizeIsMatcher< SizeMatcher > testing::SizeIs ( const SizeMatcher &  size_matcher)
inline

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

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::NotCopyable::operator>=(), and testing::gmock_matchers_test::TEST().

4128  {
4129  return internal::SizeIsMatcher<SizeMatcher>(size_matcher);
4130 }
PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > testing::StrCaseEq ( const internal::string str)
inline

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

References MakePolymorphicMatcher().

Referenced by ContainsRegex(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3969  {
3970  return MakePolymorphicMatcher(internal::StrEqualityMatcher<internal::string>(
3971  str, true, false));
3972 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > testing::StrCaseNe ( const internal::string str)
inline

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

References MakePolymorphicMatcher().

Referenced by ContainsRegex(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3976  {
3977  return MakePolymorphicMatcher(internal::StrEqualityMatcher<internal::string>(
3978  str, false, false));
3979 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)

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

References MakePolymorphicMatcher().

Referenced by ContainsRegex(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::gmock_matchers_test::DerivedClass::k(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3955  {
3956  return MakePolymorphicMatcher(internal::StrEqualityMatcher<internal::string>(
3957  str, true, true));
3958 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)

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

References MakePolymorphicMatcher().

Referenced by ContainsRegex(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), TEST(), and testing::gmock_matchers_test::TEST().

3962  {
3963  return MakePolymorphicMatcher(internal::StrEqualityMatcher<internal::string>(
3964  str, false, true));
3965 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
testing::TEST ( GTestEnvVarTest  ,
Dummy   
)

Definition at line 50 of file gtest_env_var_test_.cc.

Referenced by folly::TEST().

50  {
51 }
testing::TEST ( SuccessfulAssertionTest  ,
SUCCEED   
)

Definition at line 4194 of file gtest_unittest.cc.

References EXPECT_EQ, testing::internal::GetUnitTestImpl(), and SUCCEED.

4194  {
4195  SUCCEED();
4196  SUCCEED() << "OK";
4197  EXPECT_EQ(2, GetUnitTestImpl()->current_test_result()->total_part_count());
4198 }
class UnitTestImpl * GetUnitTestImpl()
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
#define SUCCEED()
Definition: gtest.h:1831
testing::TEST ( SuccessfulAssertionTest  ,
EXPECT   
)

Definition at line 4201 of file gtest_unittest.cc.

References EXPECT_EQ, EXPECT_TRUE, and testing::internal::GetUnitTestImpl().

4201  {
4202  EXPECT_TRUE(true);
4203  EXPECT_EQ(0, GetUnitTestImpl()->current_test_result()->total_part_count());
4204 }
class UnitTestImpl * GetUnitTestImpl()
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
testing::TEST ( SuccessfulAssertionTest  ,
EXPECT_STR   
)

Definition at line 4207 of file gtest_unittest.cc.

References EXPECT_EQ, EXPECT_STREQ, and testing::internal::GetUnitTestImpl().

4207  {
4208  EXPECT_STREQ("", "");
4209  EXPECT_EQ(0, GetUnitTestImpl()->current_test_result()->total_part_count());
4210 }
class UnitTestImpl * GetUnitTestImpl()
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
#define EXPECT_STREQ(s1, s2)
Definition: gtest.h:1995
testing::TEST ( SuccessfulAssertionTest  ,
ASSERT   
)

Definition at line 4213 of file gtest_unittest.cc.

References ASSERT_TRUE, EXPECT_EQ, and testing::internal::GetUnitTestImpl().

4213  {
4214  ASSERT_TRUE(true);
4215  EXPECT_EQ(0, GetUnitTestImpl()->current_test_result()->total_part_count());
4216 }
class UnitTestImpl * GetUnitTestImpl()
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
#define ASSERT_TRUE(condition)
Definition: gtest.h:1865
testing::TEST ( CodeLocationForTEST  ,
Verify   
)

Definition at line 5344 of file gtest_unittest.cc.

References VERIFY_CODE_LOCATION.

5344  {
5346 }
#define VERIFY_CODE_LOCATION
testing::TEST_F ( TestInfoTest  ,
Names   
)

Definition at line 5319 of file gtest_unittest.cc.

References ASSERT_STREQ, testing::TestInfo::name(), and testing::TestInfo::test_case_name().

Referenced by folly::TEST().

5319  {
5320  const TestInfo* const test_info = GetTestInfo("Names");
5321 
5322  ASSERT_STREQ("TestInfoTest", test_info->test_case_name());
5323  ASSERT_STREQ("Names", test_info->name());
5324 }
#define ASSERT_STREQ(s1, s2)
Definition: gtest.h:2004
const char * name() const
Definition: gtest.h:654
const char * test_case_name() const
Definition: gtest.h:651
testing::TEST_F ( TestInfoTest  ,
result   
)

Definition at line 5327 of file gtest_unittest.cc.

References ASSERT_EQ.

5327  {
5328  const TestInfo* const test_info = GetTestInfo("result");
5329 
5330  // Initially, there is no TestPartResult for this test.
5331  ASSERT_EQ(0, GetTestResult(test_info)->total_part_count());
5332 
5333  // After the previous assertion, there is still none.
5334  ASSERT_EQ(0, GetTestResult(test_info)->total_part_count());
5335 }
#define ASSERT_EQ(val1, val2)
Definition: gtest.h:1956
testing::TEST_F ( CodeLocationForTESTF  ,
Verify   
)

Definition at line 5351 of file gtest_unittest.cc.

References VERIFY_CODE_LOCATION.

5351  {
5353 }
#define VERIFY_CODE_LOCATION
testing::TEST_F ( SetUpTestCaseTest  ,
Test1   
)

Definition at line 5444 of file gtest_unittest.cc.

References EXPECT_STRNE.

5444  {
5445  EXPECT_STRNE(NULL, shared_resource_);
5446 }
#define EXPECT_STRNE(s1, s2)
Definition: gtest.h:1997
testing::TEST_F ( SetUpTestCaseTest  ,
Test2   
)

Definition at line 5449 of file gtest_unittest.cc.

References EXPECT_STREQ.

5449  {
5450  EXPECT_STREQ("123", shared_resource_);
5451 }
#define EXPECT_STREQ(s1, s2)
Definition: gtest.h:1995
testing::TEST_F ( InitGoogleTestTest  ,
Empty   
)

Definition at line 5712 of file gtest_unittest.cc.

References argv, and GTEST_TEST_PARSING_FLAGS_.

5712  {
5713  const char* argv[] = {
5714  NULL
5715  };
5716 
5717  const char* argv2[] = {
5718  NULL
5719  };
5720 
5721  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), false);
5722 }
uint32_t Flags
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
NoFlag   
)

Definition at line 5725 of file gtest_unittest.cc.

References argv, and GTEST_TEST_PARSING_FLAGS_.

5725  {
5726  const char* argv[] = {
5727  "foo.exe",
5728  NULL
5729  };
5730 
5731  const char* argv2[] = {
5732  "foo.exe",
5733  NULL
5734  };
5735 
5736  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), false);
5737 }
uint32_t Flags
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
FilterBad   
)

Definition at line 5740 of file gtest_unittest.cc.

References argv, testing::Flags::Filter(), and GTEST_TEST_PARSING_FLAGS_.

5740  {
5741  const char* argv[] = {
5742  "foo.exe",
5743  "--gtest_filter",
5744  NULL
5745  };
5746 
5747  const char* argv2[] = {
5748  "foo.exe",
5749  "--gtest_filter",
5750  NULL
5751  };
5752 
5753  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter(""), true);
5754 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
FilterEmpty   
)

Definition at line 5757 of file gtest_unittest.cc.

References argv, testing::Flags::Filter(), and GTEST_TEST_PARSING_FLAGS_.

5757  {
5758  const char* argv[] = {
5759  "foo.exe",
5760  "--gtest_filter=",
5761  NULL
5762  };
5763 
5764  const char* argv2[] = {
5765  "foo.exe",
5766  NULL
5767  };
5768 
5769  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter(""), false);
5770 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
FilterNonEmpty   
)

Definition at line 5773 of file gtest_unittest.cc.

References argv, testing::Flags::Filter(), and GTEST_TEST_PARSING_FLAGS_.

5773  {
5774  const char* argv[] = {
5775  "foo.exe",
5776  "--gtest_filter=abc",
5777  NULL
5778  };
5779 
5780  const char* argv2[] = {
5781  "foo.exe",
5782  NULL
5783  };
5784 
5785  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter("abc"), false);
5786 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureWithoutValue   
)

Definition at line 5789 of file gtest_unittest.cc.

References argv, testing::Flags::BreakOnFailure(), and GTEST_TEST_PARSING_FLAGS_.

5789  {
5790  const char* argv[] = {
5791  "foo.exe",
5792  "--gtest_break_on_failure",
5793  NULL
5794 };
5795 
5796  const char* argv2[] = {
5797  "foo.exe",
5798  NULL
5799  };
5800 
5801  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(true), false);
5802 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureFalse_0   
)

Definition at line 5805 of file gtest_unittest.cc.

References argv, testing::Flags::BreakOnFailure(), and GTEST_TEST_PARSING_FLAGS_.

5805  {
5806  const char* argv[] = {
5807  "foo.exe",
5808  "--gtest_break_on_failure=0",
5809  NULL
5810  };
5811 
5812  const char* argv2[] = {
5813  "foo.exe",
5814  NULL
5815  };
5816 
5817  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(false), false);
5818 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureFalse_f   
)

Definition at line 5821 of file gtest_unittest.cc.

References argv, testing::Flags::BreakOnFailure(), and GTEST_TEST_PARSING_FLAGS_.

5821  {
5822  const char* argv[] = {
5823  "foo.exe",
5824  "--gtest_break_on_failure=f",
5825  NULL
5826  };
5827 
5828  const char* argv2[] = {
5829  "foo.exe",
5830  NULL
5831  };
5832 
5833  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(false), false);
5834 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureFalse_F   
)

Definition at line 5837 of file gtest_unittest.cc.

References argv, testing::Flags::BreakOnFailure(), and GTEST_TEST_PARSING_FLAGS_.

5837  {
5838  const char* argv[] = {
5839  "foo.exe",
5840  "--gtest_break_on_failure=F",
5841  NULL
5842  };
5843 
5844  const char* argv2[] = {
5845  "foo.exe",
5846  NULL
5847  };
5848 
5849  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(false), false);
5850 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureTrue   
)

Definition at line 5854 of file gtest_unittest.cc.

References argv, testing::Flags::BreakOnFailure(), and GTEST_TEST_PARSING_FLAGS_.

5854  {
5855  const char* argv[] = {
5856  "foo.exe",
5857  "--gtest_break_on_failure=1",
5858  NULL
5859  };
5860 
5861  const char* argv2[] = {
5862  "foo.exe",
5863  NULL
5864  };
5865 
5866  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(true), false);
5867 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
CatchExceptions   
)

Definition at line 5870 of file gtest_unittest.cc.

References argv, testing::Flags::CatchExceptions(), and GTEST_TEST_PARSING_FLAGS_.

5870  {
5871  const char* argv[] = {
5872  "foo.exe",
5873  "--gtest_catch_exceptions",
5874  NULL
5875  };
5876 
5877  const char* argv2[] = {
5878  "foo.exe",
5879  NULL
5880  };
5881 
5882  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::CatchExceptions(true), false);
5883 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
DeathTestUseFork   
)

Definition at line 5886 of file gtest_unittest.cc.

References argv, testing::Flags::DeathTestUseFork(), and GTEST_TEST_PARSING_FLAGS_.

5886  {
5887  const char* argv[] = {
5888  "foo.exe",
5889  "--gtest_death_test_use_fork",
5890  NULL
5891  };
5892 
5893  const char* argv2[] = {
5894  "foo.exe",
5895  NULL
5896  };
5897 
5898  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::DeathTestUseFork(true), false);
5899 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
DuplicatedFlags   
)

Definition at line 5903 of file gtest_unittest.cc.

References argv, testing::Flags::Filter(), and GTEST_TEST_PARSING_FLAGS_.

5903  {
5904  const char* argv[] = {
5905  "foo.exe",
5906  "--gtest_filter=a",
5907  "--gtest_filter=b",
5908  NULL
5909  };
5910 
5911  const char* argv2[] = {
5912  "foo.exe",
5913  NULL
5914  };
5915 
5916  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter("b"), false);
5917 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
UnrecognizedFlag   
)

Definition at line 5920 of file gtest_unittest.cc.

References argv, testing::Flags::break_on_failure, testing::Flags::filter, and GTEST_TEST_PARSING_FLAGS_.

5920  {
5921  const char* argv[] = {
5922  "foo.exe",
5923  "--gtest_break_on_failure",
5924  "bar", // Unrecognized by Google Test.
5925  "--gtest_filter=b",
5926  NULL
5927  };
5928 
5929  const char* argv2[] = {
5930  "foo.exe",
5931  "bar",
5932  NULL
5933  };
5934 
5935  Flags flags;
5936  flags.break_on_failure = true;
5937  flags.filter = "b";
5938  GTEST_TEST_PARSING_FLAGS_(argv, argv2, flags, false);
5939 }
flags
Definition: http_parser.h:127
uint32_t Flags
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFlag   
)

Definition at line 5942 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ListTests().

5942  {
5943  const char* argv[] = {
5944  "foo.exe",
5945  "--gtest_list_tests",
5946  NULL
5947  };
5948 
5949  const char* argv2[] = {
5950  "foo.exe",
5951  NULL
5952  };
5953 
5954  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(true), false);
5955 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ListTestsTrue   
)

Definition at line 5958 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ListTests().

5958  {
5959  const char* argv[] = {
5960  "foo.exe",
5961  "--gtest_list_tests=1",
5962  NULL
5963  };
5964 
5965  const char* argv2[] = {
5966  "foo.exe",
5967  NULL
5968  };
5969 
5970  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(true), false);
5971 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFalse   
)

Definition at line 5974 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ListTests().

5974  {
5975  const char* argv[] = {
5976  "foo.exe",
5977  "--gtest_list_tests=0",
5978  NULL
5979  };
5980 
5981  const char* argv2[] = {
5982  "foo.exe",
5983  NULL
5984  };
5985 
5986  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
5987 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFalse_f   
)

Definition at line 5990 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ListTests().

5990  {
5991  const char* argv[] = {
5992  "foo.exe",
5993  "--gtest_list_tests=f",
5994  NULL
5995  };
5996 
5997  const char* argv2[] = {
5998  "foo.exe",
5999  NULL
6000  };
6001 
6002  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
6003 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFalse_F   
)

Definition at line 6006 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ListTests().

6006  {
6007  const char* argv[] = {
6008  "foo.exe",
6009  "--gtest_list_tests=F",
6010  NULL
6011  };
6012 
6013  const char* argv2[] = {
6014  "foo.exe",
6015  NULL
6016  };
6017 
6018  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
6019 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
OutputEmpty   
)

Definition at line 6022 of file gtest_unittest.cc.

References argv, and GTEST_TEST_PARSING_FLAGS_.

6022  {
6023  const char* argv[] = {
6024  "foo.exe",
6025  "--gtest_output",
6026  NULL
6027  };
6028 
6029  const char* argv2[] = {
6030  "foo.exe",
6031  "--gtest_output",
6032  NULL
6033  };
6034 
6035  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), true);
6036 }
uint32_t Flags
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
OutputXml   
)

Definition at line 6039 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Output().

6039  {
6040  const char* argv[] = {
6041  "foo.exe",
6042  "--gtest_output=xml",
6043  NULL
6044  };
6045 
6046  const char* argv2[] = {
6047  "foo.exe",
6048  NULL
6049  };
6050 
6051  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Output("xml"), false);
6052 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
OutputXmlFile   
)

Definition at line 6055 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Output().

6055  {
6056  const char* argv[] = {
6057  "foo.exe",
6058  "--gtest_output=xml:file",
6059  NULL
6060  };
6061 
6062  const char* argv2[] = {
6063  "foo.exe",
6064  NULL
6065  };
6066 
6067  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Output("xml:file"), false);
6068 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
OutputXmlDirectory   
)

Definition at line 6071 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Output().

6071  {
6072  const char* argv[] = {
6073  "foo.exe",
6074  "--gtest_output=xml:directory/path/",
6075  NULL
6076  };
6077 
6078  const char* argv2[] = {
6079  "foo.exe",
6080  NULL
6081  };
6082 
6083  GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6084  Flags::Output("xml:directory/path/"), false);
6085 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFlag   
)

Definition at line 6088 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::PrintTime().

6088  {
6089  const char* argv[] = {
6090  "foo.exe",
6091  "--gtest_print_time",
6092  NULL
6093  };
6094 
6095  const char* argv2[] = {
6096  "foo.exe",
6097  NULL
6098  };
6099 
6100  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(true), false);
6101 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeTrue   
)

Definition at line 6104 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::PrintTime().

6104  {
6105  const char* argv[] = {
6106  "foo.exe",
6107  "--gtest_print_time=1",
6108  NULL
6109  };
6110 
6111  const char* argv2[] = {
6112  "foo.exe",
6113  NULL
6114  };
6115 
6116  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(true), false);
6117 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFalse   
)

Definition at line 6120 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::PrintTime().

6120  {
6121  const char* argv[] = {
6122  "foo.exe",
6123  "--gtest_print_time=0",
6124  NULL
6125  };
6126 
6127  const char* argv2[] = {
6128  "foo.exe",
6129  NULL
6130  };
6131 
6132  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
6133 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFalse_f   
)

Definition at line 6136 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::PrintTime().

6136  {
6137  const char* argv[] = {
6138  "foo.exe",
6139  "--gtest_print_time=f",
6140  NULL
6141  };
6142 
6143  const char* argv2[] = {
6144  "foo.exe",
6145  NULL
6146  };
6147 
6148  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
6149 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFalse_F   
)

Definition at line 6152 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::PrintTime().

6152  {
6153  const char* argv[] = {
6154  "foo.exe",
6155  "--gtest_print_time=F",
6156  NULL
6157  };
6158 
6159  const char* argv2[] = {
6160  "foo.exe",
6161  NULL
6162  };
6163 
6164  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
6165 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
RandomSeed   
)

Definition at line 6168 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::RandomSeed().

6168  {
6169  const char* argv[] = {
6170  "foo.exe",
6171  "--gtest_random_seed=1000",
6172  NULL
6173  };
6174 
6175  const char* argv2[] = {
6176  "foo.exe",
6177  NULL
6178  };
6179 
6180  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::RandomSeed(1000), false);
6181 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
Repeat   
)

Definition at line 6184 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Repeat().

6184  {
6185  const char* argv[] = {
6186  "foo.exe",
6187  "--gtest_repeat=1000",
6188  NULL
6189  };
6190 
6191  const char* argv2[] = {
6192  "foo.exe",
6193  NULL
6194  };
6195 
6196  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Repeat(1000), false);
6197 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
AlsoRunDisabledTestsFlag   
)

Definition at line 6200 of file gtest_unittest.cc.

References testing::Flags::AlsoRunDisabledTests(), argv, and GTEST_TEST_PARSING_FLAGS_.

6200  {
6201  const char* argv[] = {
6202  "foo.exe",
6203  "--gtest_also_run_disabled_tests",
6204  NULL
6205  };
6206 
6207  const char* argv2[] = {
6208  "foo.exe",
6209  NULL
6210  };
6211 
6212  GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6213  Flags::AlsoRunDisabledTests(true), false);
6214 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
AlsoRunDisabledTestsTrue   
)

Definition at line 6217 of file gtest_unittest.cc.

References testing::Flags::AlsoRunDisabledTests(), argv, and GTEST_TEST_PARSING_FLAGS_.

6217  {
6218  const char* argv[] = {
6219  "foo.exe",
6220  "--gtest_also_run_disabled_tests=1",
6221  NULL
6222  };
6223 
6224  const char* argv2[] = {
6225  "foo.exe",
6226  NULL
6227  };
6228 
6229  GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6230  Flags::AlsoRunDisabledTests(true), false);
6231 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
AlsoRunDisabledTestsFalse   
)

Definition at line 6234 of file gtest_unittest.cc.

References testing::Flags::AlsoRunDisabledTests(), argv, and GTEST_TEST_PARSING_FLAGS_.

6234  {
6235  const char* argv[] = {
6236  "foo.exe",
6237  "--gtest_also_run_disabled_tests=0",
6238  NULL
6239  };
6240 
6241  const char* argv2[] = {
6242  "foo.exe",
6243  NULL
6244  };
6245 
6246  GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6247  Flags::AlsoRunDisabledTests(false), false);
6248 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ShuffleWithoutValue   
)

Definition at line 6251 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Shuffle().

6251  {
6252  const char* argv[] = {
6253  "foo.exe",
6254  "--gtest_shuffle",
6255  NULL
6256 };
6257 
6258  const char* argv2[] = {
6259  "foo.exe",
6260  NULL
6261  };
6262 
6263  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Shuffle(true), false);
6264 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
void Shuffle(internal::Random *random, std::vector< E > *v)
testing::TEST_F ( InitGoogleTestTest  ,
ShuffleFalse_0   
)

Definition at line 6267 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Shuffle().

6267  {
6268  const char* argv[] = {
6269  "foo.exe",
6270  "--gtest_shuffle=0",
6271  NULL
6272  };
6273 
6274  const char* argv2[] = {
6275  "foo.exe",
6276  NULL
6277  };
6278 
6279  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Shuffle(false), false);
6280 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
void Shuffle(internal::Random *random, std::vector< E > *v)
testing::TEST_F ( InitGoogleTestTest  ,
ShuffleTrue   
)

Definition at line 6284 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::Shuffle().

6284  {
6285  const char* argv[] = {
6286  "foo.exe",
6287  "--gtest_shuffle=1",
6288  NULL
6289  };
6290 
6291  const char* argv2[] = {
6292  "foo.exe",
6293  NULL
6294  };
6295 
6296  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Shuffle(true), false);
6297 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
void Shuffle(internal::Random *random, std::vector< E > *v)
testing::TEST_F ( InitGoogleTestTest  ,
StackTraceDepth   
)

Definition at line 6300 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::StackTraceDepth().

6300  {
6301  const char* argv[] = {
6302  "foo.exe",
6303  "--gtest_stack_trace_depth=5",
6304  NULL
6305  };
6306 
6307  const char* argv2[] = {
6308  "foo.exe",
6309  NULL
6310  };
6311 
6312  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::StackTraceDepth(5), false);
6313 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
StreamResultTo   
)

Definition at line 6315 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::StreamResultTo().

6315  {
6316  const char* argv[] = {
6317  "foo.exe",
6318  "--gtest_stream_result_to=localhost:1234",
6319  NULL
6320  };
6321 
6322  const char* argv2[] = {
6323  "foo.exe",
6324  NULL
6325  };
6326 
6328  argv, argv2, Flags::StreamResultTo("localhost:1234"), false);
6329 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ThrowOnFailureWithoutValue   
)

Definition at line 6332 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ThrowOnFailure().

6332  {
6333  const char* argv[] = {
6334  "foo.exe",
6335  "--gtest_throw_on_failure",
6336  NULL
6337 };
6338 
6339  const char* argv2[] = {
6340  "foo.exe",
6341  NULL
6342  };
6343 
6344  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ThrowOnFailure(true), false);
6345 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ThrowOnFailureFalse_0   
)

Definition at line 6348 of file gtest_unittest.cc.

References argv, GTEST_TEST_PARSING_FLAGS_, and testing::Flags::ThrowOnFailure().

6348  {
6349  const char* argv[] = {
6350  "foo.exe",
6351  "--gtest_throw_on_failure=0",
6352  NULL
6353  };
6354 
6355  const char* argv2[] = {
6356  "foo.exe",
6357  NULL
6358  };
6359 
6360  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ThrowOnFailure(false), false);
6361 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( InitGoogleTestTest  ,
ThrowOnFailureTrue   
)

Definition at line 6365 of file gtest_unittest.cc.

References argv, testing::Flags::break_on_failure, testing::internal::FilePath::c_str(), EXPECT_TRUE, f, FILE, testing::Flags::Filter(), testing::Flags::filter, testing::internal::posix::FOpen(), testing::internal::FilePath::GenerateUniqueFileName(), testing::internal::GetCurrentExecutableName(), GTEST_FLAG_PREFIX_, GTEST_TEST_PARSING_FLAGS_, testing::Flags::list_tests, testing::internal::posix::RmDir(), testing::InitGoogleTestTest::SetUp(), string, testing::Test::TearDown(), testing::internal::TempDir(), testing::internal::TEST_F(), testdata_path_, and testing::Flags::ThrowOnFailure().

6365  {
6366  const char* argv[] = {
6367  "foo.exe",
6368  "--gtest_throw_on_failure=1",
6369  NULL
6370  };
6371 
6372  const char* argv2[] = {
6373  "foo.exe",
6374  NULL
6375  };
6376 
6377  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ThrowOnFailure(true), false);
6378 }
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
char ** argv
testing::TEST_F ( CurrentTestInfoTest  ,
WorksForFirstTestInATestCase   
)

Definition at line 6533 of file gtest_unittest.cc.

References ASSERT_TRUE, testing::UnitTest::current_test_info(), EXPECT_STREQ, testing::UnitTest::GetInstance(), testing::TestInfo::name(), and testing::TestInfo::test_case_name().

6533  {
6534  const TestInfo* test_info =
6535  UnitTest::GetInstance()->current_test_info();
6536  ASSERT_TRUE(NULL != test_info)
6537  << "There is a test running so we should have a valid TestInfo.";
6538  EXPECT_STREQ("CurrentTestInfoTest", test_info->test_case_name())
6539  << "Expected the name of the currently running test case.";
6540  EXPECT_STREQ("WorksForFirstTestInATestCase", test_info->name())
6541  << "Expected the name of the currently running test.";
6542 }
#define EXPECT_STREQ(s1, s2)
Definition: gtest.h:1995
const char * name() const
Definition: gtest.h:654
const char * test_case_name() const
Definition: gtest.h:651
#define ASSERT_TRUE(condition)
Definition: gtest.h:1865
testing::TEST_F ( CurrentTestInfoTest  ,
WorksForSecondTestInATestCase   
)

Definition at line 6548 of file gtest_unittest.cc.

References ASSERT_TRUE, testing::UnitTest::current_test_info(), EXPECT_STREQ, testing::UnitTest::GetInstance(), testing::TestInfo::name(), and testing::TestInfo::test_case_name().

6548  {
6549  const TestInfo* test_info =
6550  UnitTest::GetInstance()->current_test_info();
6551  ASSERT_TRUE(NULL != test_info)
6552  << "There is a test running so we should have a valid TestInfo.";
6553  EXPECT_STREQ("CurrentTestInfoTest", test_info->test_case_name())
6554  << "Expected the name of the currently running test case.";
6555  EXPECT_STREQ("WorksForSecondTestInATestCase", test_info->name())
6556  << "Expected the name of the currently running test.";
6557 }
#define EXPECT_STREQ(s1, s2)
Definition: gtest.h:1995
const char * name() const
Definition: gtest.h:654
const char * test_case_name() const
Definition: gtest.h:651
#define ASSERT_TRUE(condition)
Definition: gtest.h:1865
testing::TEST_P ( CodeLocationForTESTP  ,
Verify   
)

Definition at line 5358 of file gtest_unittest.cc.

References INSTANTIATE_TEST_CASE_P(), and VERIFY_CODE_LOCATION.

5358  {
5360 }
#define VERIFY_CODE_LOCATION
static bool testing::TestPartFatallyFailed ( const TestPartResult result)
static

Definition at line 2179 of file gtest.cc.

References testing::internal::CountIf(), testing::TestPartResult::fatally_failed(), testing::TestResult::HasFatalFailure(), and TestPartFatallyFailed().

2179  {
2180  return result.fatally_failed();
2181 }
static bool testing::TestPartFatallyFailed ( const TestPartResult result)
static

Definition at line 2179 of file gtest.cc.

References testing::internal::CountIf(), testing::TestPartResult::fatally_failed(), testing::TestResult::HasFatalFailure(), and TestPartFatallyFailed().

2179  {
2180  return result.fatally_failed();
2181 }
static bool testing::TestPartFatallyFailed ( const TestPartResult result)
static

Definition at line 2179 of file gtest.cc.

References testing::TestPartResult::fatally_failed().

Referenced by testing::TestResult::HasFatalFailure(), and TestPartFatallyFailed().

2179  {
2180  return result.fatally_failed();
2181 }
static bool testing::TestPartNonfatallyFailed ( const TestPartResult result)
static

Definition at line 2189 of file gtest.cc.

References ADD_FAILURE, testing::internal::UnitTestImpl::AddTestInfo(), testing::UnitTest::AddTestPartResult(), testing::internal::CountIf(), testing::internal::UnitTestImpl::current_test_case(), testing::internal::UnitTestImpl::current_test_info(), testing::internal::UnitTestImpl::current_test_result(), description, testing::TestInfo::fixture_class_id_, testing::internal::FormatFileLocation(), testing::UnitTest::GetInstance(), testing::Message::GetString(), testing::internal::GetTestTypeId(), testing::internal::GetUnitTestImpl(), GTEST_FLAG_SAVER_, testing::internal::HandleExceptionsInMethodIfSupported(), testing::internal::HandleSehExceptionsInMethodIfSupported(), testing::Test::HasFatalFailure(), testing::TestResult::HasFatalFailure(), testing::Test::HasNonfatalFailure(), testing::TestResult::HasNonfatalFailure(), testing::Test::HasSameFixtureClass(), testing::TestPartResult::kFatalFailure, testing::internal::MakeAndRegisterTestInfo(), message, name, testing::TestInfo::name(), name_, testing::TestPartResult::nonfatally_failed(), testing::internal::UnitTestImpl::os_stack_trace_getter(), testing::internal::PrintTestPartResultToString(), testing::Test::RecordProperty(), testing::UnitTest::RecordProperty(), testing::internal::ReportFailureInUnknownLocation(), testing::Test::Run(), testing::Test::SetUp(), string, T, testing::Test::TearDown(), testing::Test::Test(), testing::TestInfo::test_case_name(), testing::TestCase::test_info_list(), testing::TestResult::test_property_count(), testing::Test::TestBody(), testing::TestInfo::TestInfo(), TestPartNonfatallyFailed(), testing::TestResult::total_part_count(), testing::internal::OsStackTraceGetterInterface::UponLeavingGTest(), value, testing::Test::~Test(), and testing::TestInfo::~TestInfo().

2189  {
2190  return result.nonfatally_failed();
2191 }
static bool testing::TestPartNonfatallyFailed ( const TestPartResult result)
static

Definition at line 2189 of file gtest.cc.

References testing::TestPartResult::nonfatally_failed().

Referenced by testing::TestResult::HasNonfatalFailure(), and TestPartNonfatallyFailed().

2189  {
2190  return result.nonfatally_failed();
2191 }
static bool testing::TestPartNonfatallyFailed ( const TestPartResult result)
static

Definition at line 2189 of file gtest.cc.

References ADD_FAILURE, testing::internal::UnitTestImpl::AddTestInfo(), testing::UnitTest::AddTestPartResult(), testing::internal::CountIf(), testing::internal::UnitTestImpl::current_test_case(), testing::internal::UnitTestImpl::current_test_info(), testing::internal::UnitTestImpl::current_test_result(), description, testing::TestInfo::fixture_class_id_, testing::internal::FormatFileLocation(), testing::UnitTest::GetInstance(), testing::Message::GetString(), testing::internal::GetTestTypeId(), testing::internal::GetUnitTestImpl(), GTEST_FLAG_SAVER_, testing::internal::HandleExceptionsInMethodIfSupported(), testing::internal::HandleSehExceptionsInMethodIfSupported(), testing::Test::HasFatalFailure(), testing::TestResult::HasFatalFailure(), testing::Test::HasNonfatalFailure(), testing::TestResult::HasNonfatalFailure(), testing::Test::HasSameFixtureClass(), testing::TestPartResult::kFatalFailure, testing::internal::MakeAndRegisterTestInfo(), message, name, testing::TestInfo::name(), name_, testing::TestPartResult::nonfatally_failed(), testing::internal::UnitTestImpl::os_stack_trace_getter(), testing::internal::PrintTestPartResultToString(), testing::Test::RecordProperty(), testing::UnitTest::RecordProperty(), testing::internal::ReportFailureInUnknownLocation(), testing::Test::Run(), testing::Test::SetUp(), string, T, testing::Test::TearDown(), testing::Test::Test(), testing::TestInfo::test_case_name(), testing::TestCase::test_info_list(), testing::TestResult::test_property_count(), testing::Test::TestBody(), testing::TestInfo::TestInfo(), TestPartNonfatallyFailed(), testing::TestResult::total_part_count(), testing::internal::OsStackTraceGetterInterface::UponLeavingGTest(), value, testing::Test::~Test(), and testing::TestInfo::~TestInfo().

2189  {
2190  return result.nonfatally_failed();
2191 }
static const char* testing::TestPartResultTypeToString ( TestPartResult::Type  type)
static

Definition at line 2830 of file gtest.cc.

References testing::TestPartResult::kFatalFailure, testing::TestPartResult::kNonFatalFailure, and testing::TestPartResult::kSuccess.

Referenced by testing::internal::PrintTestPartResultToString().

2830  {
2831  switch (type) {
2832  case TestPartResult::kSuccess:
2833  return "Success";
2834 
2835  case TestPartResult::kNonFatalFailure:
2836  case TestPartResult::kFatalFailure:
2837 #ifdef _MSC_VER
2838  return "error: ";
2839 #else
2840  return "Failure\n";
2841 #endif
2842  default:
2843  return "Unknown result type";
2844  }
2845 }
PskType type
static const char* testing::TestPartResultTypeToString ( TestPartResult::Type  type)
static

Definition at line 2830 of file gtest.cc.

References testing::TestPartResult::kFatalFailure, testing::TestPartResult::kNonFatalFailure, and testing::TestPartResult::kSuccess.

2830  {
2831  switch (type) {
2832  case TestPartResult::kSuccess:
2833  return "Success";
2834 
2835  case TestPartResult::kNonFatalFailure:
2836  case TestPartResult::kFatalFailure:
2837 #ifdef _MSC_VER
2838  return "error: ";
2839 #else
2840  return "Failure\n";
2841 #endif
2842  default:
2843  return "Unknown result type";
2844  }
2845 }
PskType type
static const char* testing::TestPartResultTypeToString ( TestPartResult::Type  type)
static

Definition at line 2830 of file gtest.cc.

References testing::TestPartResult::kFatalFailure, testing::TestPartResult::kNonFatalFailure, and testing::TestPartResult::kSuccess.

2830  {
2831  switch (type) {
2832  case TestPartResult::kSuccess:
2833  return "Success";
2834 
2835  case TestPartResult::kNonFatalFailure:
2836  case TestPartResult::kFatalFailure:
2837 #ifdef _MSC_VER
2838  return "error: ";
2839 #else
2840  return "Failure\n";
2841 #endif
2842  default:
2843  return "Unknown result type";
2844  }
2845 }
PskType type
testing::TYPED_TEST_CASE_P ( CodeLocationForTYPEDTESTP  )
testing::TYPED_TEST_P ( CodeLocationForTYPEDTESTP  ,
Verify   
)

Definition at line 5380 of file gtest_unittest.cc.

References INSTANTIATE_TYPED_TEST_CASE_P(), REGISTER_TYPED_TEST_CASE_P(), and VERIFY_CODE_LOCATION.

5380  {
5382 }
#define VERIFY_CODE_LOCATION
template<typename Lhs , typename Rhs >
Matcher< Lhs > testing::TypedEq ( const Rhs &  rhs)
inline

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

References Eq().

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain().

3762 { return Eq(rhs); }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
internal::Eq2Matcher Eq()
internal::UnorderedElementsAreMatcher<::testing::tuple<> > testing::UnorderedElementsAre ( )
inline

Definition at line 785 of file gmock-generated-matchers.h.

References Args().

Referenced by testing::gmock_matchers_test::EMString(), TEST(), and testing::gmock_matchers_test::TEST_F().

785  {
786  typedef ::testing::tuple<> Args;
787  return internal::UnorderedElementsAreMatcher<Args>(Args());
788 }
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type> > testing::UnorderedElementsAre ( const T1 e1)
inline

Definition at line 794 of file gmock-generated-matchers.h.

References Args().

794  {
795  typedef ::testing::tuple<
797  return internal::UnorderedElementsAreMatcher<Args>(Args(e1));
798 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2 
)
inline

Definition at line 805 of file gmock-generated-matchers.h.

References Args().

805  {
806  typedef ::testing::tuple<
809  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2));
810 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3 
)
inline

Definition at line 818 of file gmock-generated-matchers.h.

References Args().

818  {
819  typedef ::testing::tuple<
823  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3));
824 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4 
)
inline

Definition at line 833 of file gmock-generated-matchers.h.

References Args().

833  {
834  typedef ::testing::tuple<
839  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4));
840 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5 
)
inline

Definition at line 850 of file gmock-generated-matchers.h.

References Args().

851  {
852  typedef ::testing::tuple<
858  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5));
859 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6 
)
inline

Definition at line 871 of file gmock-generated-matchers.h.

References Args().

872  {
873  typedef ::testing::tuple<
880  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5,
881  e6));
882 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7 
)
inline

Definition at line 895 of file gmock-generated-matchers.h.

References Args().

896  {
897  typedef ::testing::tuple<
905  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5,
906  e6, e7));
907 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type, typename internal::DecayArray<T8>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7,
const T8 &  e8 
)
inline

Definition at line 921 of file gmock-generated-matchers.h.

References Args().

922  {
923  typedef ::testing::tuple<
932  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5,
933  e6, e7, e8));
934 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type, typename internal::DecayArray<T8>::type, typename internal::DecayArray<T9>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7,
const T8 &  e8,
const T9 &  e9 
)
inline

Definition at line 949 of file gmock-generated-matchers.h.

References Args().

950  {
951  typedef ::testing::tuple<
961  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5,
962  e6, e7, e8, e9));
963 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
internal::UnorderedElementsAreMatcher< ::testing::tuple< typename internal::DecayArray<T1>::type, typename internal::DecayArray<T2>::type, typename internal::DecayArray<T3>::type, typename internal::DecayArray<T4>::type, typename internal::DecayArray<T5>::type, typename internal::DecayArray<T6>::type, typename internal::DecayArray<T7>::type, typename internal::DecayArray<T8>::type, typename internal::DecayArray<T9>::type, typename internal::DecayArray<T10>::type> > testing::UnorderedElementsAre ( const T1 e1,
const T2 e2,
const T3 e3,
const T4 &  e4,
const T5 e5,
const T6 &  e6,
const T7 &  e7,
const T8 &  e8,
const T9 &  e9,
const T10 &  e10 
)
inline

Definition at line 979 of file gmock-generated-matchers.h.

References Args().

981  {
982  typedef ::testing::tuple<
993  return internal::UnorderedElementsAreMatcher<Args>(Args(e1, e2, e3, e4, e5,
994  e6, e7, e8, e9, e10));
995 }
PskType type
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > Args(const InnerMatcher &matcher)
template<typename Iter >
internal::UnorderedElementsAreArrayMatcher< typename::std::iterator_traits< Iter >::value_type > testing::UnorderedElementsAreArray ( Iter  first,
Iter  last 
)
inline

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

References folly::gen::first, and T.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::TEST(), testing::gmock_matchers_test::TEST_F(), UnorderedElementsAreArray(), and UnorderedPointwise().

3688  {
3689  typedef typename ::std::iterator_traits<Iter>::value_type T;
3690  return internal::UnorderedElementsAreArrayMatcher<T>(first, last);
3691 }
#define T(v)
Definition: http_parser.c:233
constexpr detail::First first
Definition: Base-inl.h:2553
template<typename T >
internal::UnorderedElementsAreArrayMatcher< T > testing::UnorderedElementsAreArray ( const T pointer,
size_t  count 
)
inline

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

References UnorderedElementsAreArray().

3695  {
3696  return UnorderedElementsAreArray(pointer, pointer + count);
3697 }
int * count
internal::UnorderedElementsAreArrayMatcher< typename Container::value_type > UnorderedElementsAreArray(const Container &container)
template<typename T , size_t N>
internal::UnorderedElementsAreArrayMatcher< T > testing::UnorderedElementsAreArray ( const T(&)  array[N])
inline

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

References UnorderedElementsAreArray().

3701  {
3702  return UnorderedElementsAreArray(array, N);
3703 }
internal::UnorderedElementsAreArrayMatcher< typename Container::value_type > UnorderedElementsAreArray(const Container &container)
template<typename Container >
internal::UnorderedElementsAreArrayMatcher< typename Container::value_type > testing::UnorderedElementsAreArray ( const Container &  container)
inline

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

References UnorderedElementsAreArray().

3708  {
3709  return UnorderedElementsAreArray(container.begin(), container.end());
3710 }
internal::UnorderedElementsAreArrayMatcher< typename Container::value_type > UnorderedElementsAreArray(const Container &container)
template<typename Tuple2Matcher , typename RhsContainer >
internal::UnorderedElementsAreArrayMatcher< typename internal::BoundSecondMatcher< Tuple2Matcher, typename internal::StlContainerView< GTEST_REMOVE_CONST_(RhsContainer)>::type::value_type > > testing::UnorderedPointwise ( const Tuple2Matcher &  tuple2_matcher,
const RhsContainer &  rhs_container 
)
inline

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

References GTEST_REMOVE_CONST_, testing::internal::MatcherBindSecond(), type, and UnorderedElementsAreArray().

Referenced by testing::gmock_matchers_test::IsHalfOfMatcher::DescribeNegationTo(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), and testing::gmock_matchers_test::TEST().

4224  {
4225  // This following line is for working around a bug in MSVC 8.0,
4226  // which causes RhsContainer to be a const type sometimes (e.g. when
4227  // rhs_container is a const int[]).
4228  typedef GTEST_REMOVE_CONST_(RhsContainer) RawRhsContainer;
4229 
4230  // RhsView allows the same code to handle RhsContainer being a
4231  // STL-style container and it being a native C-style array.
4232  typedef typename internal::StlContainerView<RawRhsContainer> RhsView;
4233  typedef typename RhsView::type RhsStlContainer;
4234  typedef typename RhsStlContainer::value_type Second;
4235  const RhsStlContainer& rhs_stl_container =
4236  RhsView::ConstReference(rhs_container);
4237 
4238  // Create a matcher for each element in rhs_container.
4239  ::std::vector<internal::BoundSecondMatcher<Tuple2Matcher, Second> > matchers;
4240  for (typename RhsStlContainer::const_iterator it = rhs_stl_container.begin();
4241  it != rhs_stl_container.end(); ++it) {
4242  matchers.push_back(
4243  internal::MatcherBindSecond(tuple2_matcher, *it));
4244  }
4245 
4246  // Delegate the work to UnorderedElementsAreArray().
4247  return UnorderedElementsAreArray(matchers);
4248 }
PskType type
STL namespace.
auto begin(TestAdlIterable &instance)
Definition: ForeachTest.cpp:56
#define GTEST_REMOVE_CONST_(T)
auto end(TestAdlIterable &instance)
Definition: ForeachTest.cpp:62
Definition: Traits.h:588
const
Definition: upload.py:398
BoundSecondMatcher< Tuple2Matcher, Second > MatcherBindSecond(const Tuple2Matcher &tm, const Second &second)
internal::UnorderedElementsAreArrayMatcher< typename Container::value_type > UnorderedElementsAreArray(const Container &container)
bool testing::ValidateTestPropertyName ( const std::string property_name,
const std::vector< std::string > &  reserved_names 
)

Definition at line 2141 of file gtest.cc.

References ADD_FAILURE, FormatWordList(), and GTEST_NAME_.

Referenced by FormatWordList(), and testing::TestResult::ValidateTestProperty().

2142  {
2143  if (std::find(reserved_names.begin(), reserved_names.end(), property_name) !=
2144  reserved_names.end()) {
2145  ADD_FAILURE() << "Reserved key used in RecordProperty(): " << property_name
2146  << " (" << FormatWordList(reserved_names)
2147  << " are reserved by " << GTEST_NAME_ << ")";
2148  return false;
2149  }
2150  return true;
2151 }
static std::string FormatWordList(const std::vector< std::string > &words)
Definition: gtest.cc:2127
#define GTEST_NAME_
Definition: gtest-port.h:289
#define ADD_FAILURE()
Definition: gtest.h:1808
template<typename T , typename M >
bool testing::Value ( const T value,
M  matcher 
)
inline

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

References Matches(), and value.

Referenced by folly::gen::detail::Interleave< Container >::Generator< Value, Source >::apply(), folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::apply(), folly::gen::detail::Sequence< Value, SequenceImpl >::apply(), folly::gen::detail::Yield< Value, Source >::apply(), folly::gen::detail::Map< Predicate >::Generator< Value, Source, Result >::apply(), folly::gen::detail::Filter< Predicate >::Generator< Value, Source >::apply(), folly::gen::detail::Until< Predicate >::Generator< Value, Source >::apply(), folly::gen::detail::Take::Generator< Value, Source >::apply(), folly::gen::detail::Visit< Visitor >::Generator< Value, Source >::apply(), folly::gen::detail::Stride::Generator< Value, Source >::apply(), folly::gen::detail::Sample< Random >::Generator< Value, Source, Rand, StorageType >::apply(), folly::gen::detail::Skip::Generator< Value, Source >::apply(), folly::gen::detail::GroupBy< Selector >::Generator< Value, Source, ValueDecayed, Key, KeyDecayed >::apply(), folly::gen::detail::GroupByAdjacent< Selector >::Generator< Value, Source, ValueDecayed, Key, KeyDecayed >::apply(), folly::gen::detail::Distinct< Selector >::Generator< Value, Source >::apply(), folly::gen::detail::Batch::Generator< Value, Source, StorageType, VectorType >::apply(), folly::gen::detail::Window::Generator< Value, Source, StorageType >::apply(), folly::gen::detail::GuardImpl< Exception, ErrorHandler >::Generator< Value, Source >::apply(), folly::gen::detail::Dereference::Generator< Value, Source, Result >::apply(), folly::gen::detail::Indirect::Generator< Value, Source, Result >::apply(), folly::gen::detail::Cycle< forever >::Generator< Value, Source >::apply(), folly::expected_detail::ExpectedStorage< Value, Error, StorageType::eUnion >::assignValue(), folly::gen::detail::Batch::Batch(), testing::SafeMatcherCastImpl< T >::Cast(), folly::gen::detail::Parallel< Ops >::Generator< Input, Source, InputDecayed, Composed, Output, OutputDecayed >::Pusher< all >::compose(), folly::gen::detail::Composed< First, Second >::compose(), folly::gen::detail::UnsplitBuffer< Delimiter, OutputBuffer >::compose(), folly::gen::detail::Sample< Random >::compose(), folly::gen::detail::FoldLeft< Seed, Fold >::compose(), folly::gen::detail::IsEmpty< emptyResult >::compose(), folly::gen::detail::Count::compose(), folly::gen::detail::Min< Selector, Comparer >::compose(), folly::gen::detail::Append< Collection >::compose(), folly::gen::detail::Collect< Collection >::compose(), folly::gen::detail::CollectTemplate< Container, Allocator >::compose(), folly::gen::detail::Composed< First, Second >::Composed(), folly::Optional< NamedGroup >::construct(), folly::gen::detail::Contains< Needle >::Contains(), folly::Optional< NamedGroup >::emplace(), folly::AtomicUnorderedInsertMap< Key, Value, Hash, KeyEqual, SkipKeyValueDeletion, Atom, IndexType, Allocator >::emplace(), folly::gen::empty(), testing::internal::TuplePrefix< N >::ExplainMatchFailuresTo(), folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::foreach(), folly::gen::GenImpl< StorageType &&, Generator< Value, Source, Rand, StorageType > >::foreach(), folly::gen::detail::Sequence< Value, SequenceImpl >::foreach(), folly::gen::detail::Map< Predicate >::Generator< Value, Source, Result >::foreach(), folly::gen::detail::Filter< Predicate >::Generator< Value, Source >::foreach(), folly::gen::detail::Visit< Visitor >::Generator< Value, Source >::foreach(), folly::gen::detail::Stride::Generator< Value, Source >::foreach(), folly::gen::detail::Skip::Generator< Value, Source >::foreach(), folly::gen::detail::Distinct< Selector >::Generator< Value, Source >::foreach(), folly::gen::detail::Dereference::Generator< Value, Source, Result >::foreach(), folly::gen::detail::Indirect::Generator< Value, Source, Result >::foreach(), folly::gen::from(), folly::compression::EliasFanoEncoderV2< Value, SkipValue, kSkipQuantum, kForwardQuantum >::Layout::fromUpperBoundAndSize(), folly::get_default(), folly::Optional< NamedGroup >::get_pointer(), folly::expected_detail::getStorageType(), folly::padded::detail::padded_emplace_back_or_push_back_< Void, Container, Args >::go(), folly::gen::detail::GroupBy< Selector >::GroupBy(), folly::gen::detail::GroupByAdjacent< Selector >::GroupByAdjacent(), folly::hash::hash_combine(), non_atomic< T >::is_lock_free(), folly::makeExpected(), folly::gen::detail::Map< Predicate >::Map(), testing::gmock_matchers_test::GreaterThanMatcher::MatchAndExplain(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), folly::gen::detail::Min< Selector, Comparer >::Min(), folly::detail::IntegralSizePolicy< SizeType, false >::moveToUninitializedEmplace(), testing::gmock_matchers_test::ConvertibleToBool::operator bool(), folly::pushmi::detail::blocking_submit_fn::on_value_impl::operator()(), hash< folly::Optional< T > >::operator()(), folly::operator<(), folly::operator<=(), folly::F14VectorSet< Key, Hasher, KeyEqual, Alloc >::operator=(), folly::F14VectorMap< Key, Mapped, Hasher, KeyEqual, Alloc >::operator=(), folly::operator==(), folly::operator>(), folly::gen::detail::Order< Selector, Comparer >::Order(), folly::gen::detail::PMap< Predicate >::PMap(), folly::gen::range(), folly::gen::detail::Reduce< Reducer >::Reduce(), folly::gen::detail::Sample< Random >::Sample(), folly::gen::seq(), folly::detail::shiftPointer(), folly::gen::detail::Sub< Sink >::Sub(), folly::swap(), testing::gmock_matchers_test::TEST(), folly::gen::detail::Window::Window(), folly::AtomicUnorderedInsertMap< Key, Value, Hash, KeyEqual, SkipKeyValueDeletion, Atom, IndexType, Allocator >::zeroFillSlots(), and folly::gen::VirtualGen< Value >::WrapperBase::~WrapperBase().

4347  {
4348  return testing::Matches(matcher)(value);
4349 }
internal::MatcherAsPredicate< M > Matches(M matcher)
static const char *const value
Definition: Conv.cpp:50
template<typename To >
PolymorphicMatcher< internal::WhenDynamicCastToMatcher< To > > testing::WhenDynamicCastTo ( const Matcher< To > &  inner_matcher)
inline

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

References MakePolymorphicMatcher().

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain().

3885  {
3886  return MakePolymorphicMatcher(
3887  internal::WhenDynamicCastToMatcher<To>(inner_matcher));
3888 }
PolymorphicMatcher< Impl > MakePolymorphicMatcher(const Impl &impl)
template<typename ContainerMatcher >
internal::WhenSortedByMatcher< internal::LessComparator, ContainerMatcher > testing::WhenSorted ( const ContainerMatcher &  container_matcher)
inline

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

References GTEST_REMOVE_CONST_.

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::NotCopyable::operator>=(), and testing::gmock_matchers_test::TEST().

4172  {
4173  return
4174  internal::WhenSortedByMatcher<internal::LessComparator, ContainerMatcher>(
4175  internal::LessComparator(), container_matcher);
4176 }
template<typename Comparator , typename ContainerMatcher >
internal::WhenSortedByMatcher< Comparator, ContainerMatcher > testing::WhenSortedBy ( const Comparator &  comparator,
const ContainerMatcher &  container_matcher 
)
inline

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

References folly::symbolizer::test::comparator().

Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::NotCopyable::operator>=(), and testing::gmock_matchers_test::TEST().

4163  {
4164  return internal::WhenSortedByMatcher<Comparator, ContainerMatcher>(
4165  comparator, container_matcher);
4166 }
int comparator(const void *ap, const void *bp)
template<int k, typename InnerAction >
internal::WithArgsAction< InnerAction, k > testing::WithArg ( const InnerAction &  action)
inline

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

References upload::action.

Referenced by testing::internal::InvokeMethodAction< Class, MethodPtr >::Perform().

146  {
147  return internal::WithArgsAction<InnerAction, k>(action);
148 }
action
Definition: upload.py:393
template<int k1, typename InnerAction >
internal::WithArgsAction< InnerAction, k1 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 625 of file gmock-generated-actions.h.

References upload::action.

Referenced by testing::internal::ActionHelper< Result, Impl >::Perform().

625  {
626  return internal::WithArgsAction<InnerAction, k1>(action);
627 }
action
Definition: upload.py:393
template<int k1, int k2, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 631 of file gmock-generated-actions.h.

References upload::action.

631  {
632  return internal::WithArgsAction<InnerAction, k1, k2>(action);
633 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 637 of file gmock-generated-actions.h.

References upload::action.

637  {
638  return internal::WithArgsAction<InnerAction, k1, k2, k3>(action);
639 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 643 of file gmock-generated-actions.h.

References upload::action.

643  {
644  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4>(action);
645 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, int k5, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 649 of file gmock-generated-actions.h.

References upload::action.

649  {
650  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5>(action);
651 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, int k5, int k6, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 655 of file gmock-generated-actions.h.

References upload::action.

655  {
656  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5, k6>(action);
657 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 662 of file gmock-generated-actions.h.

References upload::action.

662  {
663  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5, k6,
664  k7>(action);
665 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7, k8 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 670 of file gmock-generated-actions.h.

References upload::action.

670  {
671  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5, k6, k7,
672  k8>(action);
673 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7, k8, k9 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 678 of file gmock-generated-actions.h.

References upload::action.

678  {
679  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5, k6, k7, k8,
680  k9>(action);
681 }
action
Definition: upload.py:393
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, int k10, typename InnerAction >
internal::WithArgsAction< InnerAction, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > testing::WithArgs ( const InnerAction &  action)
inline

Definition at line 687 of file gmock-generated-actions.h.

References upload::action.

687  {
688  return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5, k6, k7, k8,
689  k9, k10>(action);
690 }
action
Definition: upload.py:393
template<typename InnerAction >
internal::WithArgsAction< InnerAction > testing::WithoutArgs ( const InnerAction &  action)
inline

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

References upload::action.

Referenced by testing::gmock_more_actions_test::Foo::Concat10(), testing::internal::InvokeMethodAction< Class, MethodPtr >::Perform(), TEST(), and testing::gmock_more_actions_test::TEST().

135  {
136  return internal::WithArgsAction<InnerAction>(action);
137 }
action
Definition: upload.py:393

Variable Documentation

const internal::AnythingMatcher testing::_ = {}

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

Referenced by fizz::server::test::FizzServerTest::accept(), fizz::server::test::AsyncFizzServerTest::accept(), fizz::server::test::ServerProtocolTest::acceptEarlyData(), HTTPDownstreamTest< SPDY3_1CodecPair >::addSimpleNiceHandler(), HTTPDownstreamTest< SPDY3_1CodecPair >::addSimpleStrictHandler(), testing::gmock_matchers_test::AllArgsHelper::AllArgsHelper(), testing::gmock_matchers_test::AStruct::AStruct(), HTTPDownstreamTest< SPDY3_1CodecPair >::cleanup(), HTTPUpstreamTest< SPDY3CodecPair >::commonSetUp(), HTTP2UpstreamSessionWithVirtualNodesTest::commonSetUp(), folly::hash::commutative_hash_combine_generic(), fizz::client::test::AsyncFizzClientTest::completeEarlyHandshake(), fizz::client::test::AsyncFizzClientTest::connect(), proxygen::DanglingQueueTestBase::DanglingQueueTestBase(), testing::gmock_matchers_test::Derived::Derived(), TestAbortPost< stage >::doAbortTest(), fizz::client::test::ClientProtocolTest::doFinishedFlow(), ZlibServerFilterTest::exercise_compression(), HTTPDownstreamTest< SPDY3_1CodecPair >::expect101(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectAeadCreation(), fizz::server::test::AsyncFizzServerTest::expectAppClose(), fizz::client::test::AsyncFizzClientTest::expectAppClose(), proxygen::MockHTTPHandler::expectBody(), proxygen::MockHTTPHandler::expectChunkHeader(), fizz::test::HandshakeTest::expectClientSuccess(), fizz::server::test::ServerProtocolTest::expectCookie(), fizz::server::test::AeadTicketCipherTest::expectDecode(), HTTPDownstreamTest< SPDY3_1CodecPair >::expectDetachSession(), fizz::test::HandshakeTest::expectEarlyDataRejectError(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectEncryptedReadRecordLayerCreation(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectEncryptedWriteRecordLayerCreation(), fizz::test::HandshakeTest::expectError(), proxygen::MockHTTPHandler::expectError(), proxygen::MockHTTPHandler::expectGoaway(), proxygen::MockHTTPHandler::expectHeaders(), fizz::test::AsyncFizzBaseTest::expectReadBufRequest(), HTTPDownstreamTest< SPDY3_1CodecPair >::expectResponses(), fizz::test::HandshakeTest::expectServerError(), fizz::test::HandshakeTest::expectServerSuccess(), proxygen::MockHTTPHandler::expectTrailers(), proxygen::MockHTTPHandler::expectTransaction(), fizz::server::test::AsyncFizzServerTest::expectTransportReadCallback(), fizz::client::test::AsyncFizzClientTest::expectTransportReadCallback(), fizz::test::AsyncFizzBaseTest::expectTransportReadCallback(), proxygen::fakeMockCodec(), FilterTest::FilterTest(), folly::for_each_detail::for_each_tuple_impl(), folly::futures::detail::foreach(), folly::futures::detail::foreach_(), fizz::server::test::AsyncFizzServerTest::fullHandshakeSuccess(), fizz::client::test::AsyncFizzClientTest::fullHandshakeSuccess(), testing::gmock_generated_function_mockers_test::FunctionMockerTest::FunctionMockerTest(), HTTPDownstreamTest< SPDY3_1CodecPair >::HTTPDownstreamTest(), testing::gmock_matchers_test::Type< T >::IsTypeOf(), testing::gmock_matchers_test::DerivedClass::k(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::gmock_matchers_test::MATCHER_P(), MockCodecDownstreamTest::MockCodecDownstreamTest(), proxygen::MockHTTPTransaction::MockHTTPTransaction(), testing::gmock_generated_function_mockers_test::MockOverloadedOnConstness::MockOverloadedOnConstness(), testing::gmock_generated_function_mockers_test::MockStack< T >::MockStack(), HTTPSessionAcceptorTestBase::newAcceptor(), MockCodecDownstreamTest::onIngressImpl(), testing::gmock_matchers_test::ConstPropagatingPtr< T >::operator*(), fizz::test::HandshakeTest::resetTransportsAndStartCookieHandshake(), testing::internal::ExpectationTester::SetCallCount(), fizz::MockKeyExchange::setDefaults(), fizz::test::MockKeyScheduler::setDefaults(), fizz::test::MockAead::setDefaults(), fizz::MockPlaintextWriteRecordLayer::setDefaults(), fizz::test::MockHandshakeContext::setDefaults(), fizz::server::test::MockTicketCipher::setDefaults(), fizz::test::MockFactory::setDefaults(), HTTPUpstreamTest< SPDY3CodecPair >::setMockByteEventTracker(), HTTPDownstreamTest< SPDY3_1CodecPair >::setMockByteEventTracker(), fizz::test::KeySchedulerTest::SetUp(), fizz::server::test::ServerProtocolTest::SetUp(), DownstreamTransactionTest::SetUp(), BroadcastHandlerTest::SetUp(), FlowControlFilterTest< initSize >::SetUp(), TimeoutTest::SetUp(), LRUPersistentCacheTest< MutexT >::SetUp(), HTTP2UpstreamSessionWithVirtualNodesTest::SetUp(), MockHTTPUpstreamTest::SetUp(), MockHTTP2UpstreamTest::SetUp(), DownstreamTransactionTest::setupRequestResponseFlow(), fizz::setWriteDefaults(), fizz::server::test::TEST(), folly::test::TEST(), TEST(), testing::gmock_generated_function_mockers_test::TEST(), testing::gmock_matchers_test::TEST(), folly::TEST(), TEST_F(), fizz::test::TEST_F(), folly::TEST_F(), fizz::server::test::TEST_F(), fizz::client::test::TEST_F(), testing::gmock_generated_function_mockers_test::TEST_F(), testing::gmock_matchers_test::TEST_F(), HTTPUpstreamTest< C >::testBasicRequestHttp10(), TestCatchesLeakedMocksInAdHocTests(), HTTPDownstreamTest< C >::testChunks(), MockCodecDownstreamTest::testConnFlowControlBlocked(), testExpectHandling(), MockCodecDownstreamTest::testGoaway(), testing::gmock_matchers_test::FloatingPointNearTest< RawType >::TestNearMatches(), HTTPDownstreamTest< C >::testPriorities(), proxygen::RFC1867Base::testSimple(), testTraits(), TYPED_TEST(), TYPED_TEST_P(), and proxygen::validateScheme().

class GTEST_API_ testing::InSequence testing::GTEST_ATTRIBUTE_UNUSED_
const char testing::kDeathTestCaseFilter[] = "*DeathTest:*DeathTest/*"
static

Definition at line 165 of file gtest.cc.

const char testing::kDeathTestCaseFilter[] = "*DeathTest:*DeathTest/*"
static

Definition at line 165 of file gtest.cc.

const char testing::kDeathTestCaseFilter[] = "*DeathTest:*DeathTest/*"
static

Definition at line 165 of file gtest.cc.

const char testing::kDefaultDeathTestStyle[] = "fast"
static

Definition at line 84 of file gtest-death-test.cc.

const char testing::kDefaultDeathTestStyle[] = "fast"
static

Definition at line 84 of file gtest-death-test.cc.

const char testing::kDefaultDeathTestStyle[] = "fast"
static

Definition at line 84 of file gtest-death-test.cc.

const char testing::kDefaultOutputFile[] = "test_detail.xml"
static

Definition at line 171 of file gtest.cc.

const char testing::kDefaultOutputFile[] = "test_detail.xml"
static

Definition at line 171 of file gtest.cc.

const char testing::kDefaultOutputFile[] = "test_detail.xml"
static

Definition at line 171 of file gtest.cc.

const char testing::kDisableTestFilter[] = "DISABLED_*:*/DISABLED_*"
static

Definition at line 160 of file gtest.cc.

const char testing::kDisableTestFilter[] = "DISABLED_*:*/DISABLED_*"
static

Definition at line 160 of file gtest.cc.

const char testing::kDisableTestFilter[] = "DISABLED_*:*/DISABLED_*"
static

Definition at line 160 of file gtest.cc.

const char* const testing::kReservedTestCaseAttributes[]
static
Initial value:
= {
"classname",
"name",
"status",
"time",
"type_param",
"value_param"
}

Definition at line 2098 of file gtest.cc.

const char* const testing::kReservedTestCaseAttributes[]
static
Initial value:
= {
"classname",
"name",
"status",
"time",
"type_param",
"value_param"
}

Definition at line 2098 of file gtest.cc.

const char* const testing::kReservedTestCaseAttributes[]
static
Initial value:
= {
"classname",
"name",
"status",
"time",
"type_param",
"value_param"
}

Definition at line 2098 of file gtest.cc.

const char* const testing::kReservedTestSuiteAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"tests",
"time"
}

Definition at line 2088 of file gtest.cc.

const char* const testing::kReservedTestSuiteAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"tests",
"time"
}

Definition at line 2088 of file gtest.cc.

const char* const testing::kReservedTestSuiteAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"tests",
"time"
}

Definition at line 2088 of file gtest.cc.

const char* const testing::kReservedTestSuitesAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"random_seed",
"tests",
"time",
"timestamp"
}

Definition at line 2075 of file gtest.cc.

const char* const testing::kReservedTestSuitesAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"random_seed",
"tests",
"time",
"timestamp"
}

Definition at line 2075 of file gtest.cc.

const char* const testing::kReservedTestSuitesAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"random_seed",
"tests",
"time",
"timestamp"
}

Definition at line 2075 of file gtest.cc.

const char testing::kTestShardIndex[] = "GTEST_SHARD_INDEX"
static

Definition at line 174 of file gtest.cc.

const char testing::kTestShardIndex[] = "GTEST_SHARD_INDEX"
static

Definition at line 174 of file gtest.cc.

const char testing::kTestShardIndex[] = "GTEST_SHARD_INDEX"
static

Definition at line 174 of file gtest.cc.

const char testing::kTestShardStatusFile[] = "GTEST_SHARD_STATUS_FILE"
static

Definition at line 178 of file gtest.cc.

const char testing::kTestShardStatusFile[] = "GTEST_SHARD_STATUS_FILE"
static

Definition at line 178 of file gtest.cc.

const char testing::kTestShardStatusFile[] = "GTEST_SHARD_STATUS_FILE"
static

Definition at line 178 of file gtest.cc.

const char testing::kTestTotalShards[] = "GTEST_TOTAL_SHARDS"
static

Definition at line 176 of file gtest.cc.

const char testing::kTestTotalShards[] = "GTEST_TOTAL_SHARDS"
static

Definition at line 176 of file gtest.cc.

const char testing::kTestTotalShards[] = "GTEST_TOTAL_SHARDS"
static

Definition at line 176 of file gtest.cc.

const char testing::kUniversalFilter[] = "*"
static
const char testing::kUniversalFilter[] = "*"
static

Definition at line 168 of file gtest.cc.

const char testing::kUniversalFilter[] = "*"
static

Definition at line 168 of file gtest.cc.

testing::internal::Function< F >::Result testing::p0_type

Definition at line 2216 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p1_type

Definition at line 2225 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p2_type

Definition at line 2234 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p3_type

Definition at line 2243 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p4_type

Definition at line 2252 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p5_type

Definition at line 2261 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p6_type

Definition at line 2270 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p7_type

Definition at line 2279 of file gmock-generated-actions.h.

testing::internal::Function< F >::Result testing::p8_type

Definition at line 2288 of file gmock-generated-actions.h.