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

Namespaces

 internal
 
 gmock_function_mocker_test
 
 gmock_matchers_test
 
 gmock_more_actions_test
 
 gmock_nice_strict_test
 
 gtest_printers_test
 

Classes

class  OnceAction
 
class  OnceAction< Result(Args...)>
 
class  DefaultValue
 
class  DefaultValue< T & >
 
class  DefaultValue< void >
 
class  ActionInterface
 
class  Action
 
class  Action< R(Args...)>
 
class  PolymorphicAction
 
class  NiceMock
 
class  NaggyMock
 
class  StrictMock
 
class  Matcher
 
class  Message
 
class  Test
 
class  TestProperty
 
class  TestResult
 
class  TestInfo
 
class  TestSuite
 
class  Environment
 
class  TestEventListener
 
class  EmptyTestEventListener
 
class  TestEventListeners
 
class  UnitTest
 
class  WithParamInterface
 
class  TestWithParam
 
class  ScopedTrace
 
struct  TestParamInfo
 
struct  PrintToStringParamName
 
class  TestInfoTest
 
class  CodeLocationForTESTF
 
class  CodeLocationForTESTP
 
class  CodeLocationForTYPEDTEST
 
class  CodeLocationForTYPEDTESTP
 
class  SetUpTestCaseTest
 
class  SetUpTestSuiteTest
 
struct  Flags
 
class  ParseFlagsTest
 
class  CurrentTestInfoTest
 

Typedefs

typedef internal::IgnoredValue Unused
 
using TestCase = TestSuite
 
typedef internal::TimeInMillis TimeInMillis
 
template<typename... Ts>
using Types = internal::ProxyTypeList< Ts...>
 

Functions

template<typename F >
Action< FMakeAction (ActionInterface< F > *impl)
 
template<typename Impl >
PolymorphicAction< Impl > MakePolymorphicAction (const Impl &impl)
 
template<typename... Action>
internal::DoAllAction
< typename std::decay< Action >
::type...> 
DoAll (Action &&...action)
 
template<size_t k, typename InnerAction >
internal::WithArgsAction
< typename std::decay
< InnerAction >::type, k > 
WithArg (InnerAction &&action)
 
template<size_t k, size_t... ks, typename InnerAction >
internal::WithArgsAction
< typename std::decay
< InnerAction >::type, k,
ks...> 
WithArgs (InnerAction &&action)
 
template<typename InnerAction >
internal::WithArgsAction
< typename std::decay
< InnerAction >::type > 
WithoutArgs (InnerAction &&action)
 
template<typename R >
internal::ReturnAction< RReturn (R value)
 
PolymorphicAction
< internal::ReturnNullAction
ReturnNull ()
 
PolymorphicAction
< internal::ReturnVoidAction
Return ()
 
template<typename R >
internal::ReturnRefAction< RReturnRef (R &x)
 
template<typename R , R * = nullptr>
internal::ReturnRefAction< RReturnRef (R &&)=delete
 
template<typename R >
internal::ReturnRefOfCopyAction
< R
ReturnRefOfCopy (const R &x)
 
template<typename R >
internal::ByMoveWrapper< RByMove (R x)
 
template<typename T >
internal::ReturnRoundRobinAction
< T
ReturnRoundRobin (std::vector< T > vals)
 
template<typename T >
internal::ReturnRoundRobinAction
< T
ReturnRoundRobin (std::initializer_list< T > vals)
 
internal::DoDefaultAction DoDefault ()
 
template<size_t N, typename T >
internal::SetArgumentPointeeAction
< N, T
SetArgPointee (T value)
 
template<size_t N, typename T >
internal::SetArgumentPointeeAction
< N, T
SetArgumentPointee (T value)
 
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 >
std::decay< FunctionImpl >::type Invoke (FunctionImpl &&function_impl)
 
template<class Class , typename MethodPtr >
internal::InvokeMethodAction
< Class, MethodPtr > 
Invoke (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename FunctionImpl >
internal::InvokeWithoutArgsAction
< typename std::decay
< FunctionImpl >::type > 
InvokeWithoutArgs (FunctionImpl function_impl)
 
template<class Class , typename MethodPtr >
internal::InvokeMethodWithoutArgsAction
< Class, MethodPtr > 
InvokeWithoutArgs (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename A >
internal::IgnoreResultAction< AIgnoreResult (const A &an_action)
 
template<typename T >
inline::std::reference_wrapper< TByRef (T &l_value)
 
template<typename T , typename... Params>
internal::ReturnNewAction< T,
typename std::decay< Params >
::type...> 
ReturnNew (Params &&...params)
 
template<size_t k>
internal::ReturnArgAction< k > ReturnArg ()
 
template<size_t k, typename Ptr >
internal::SaveArgAction< k, Ptr > SaveArg (Ptr pointer)
 
template<size_t k, typename Ptr >
internal::SaveArgPointeeAction
< k, Ptr > 
SaveArgPointee (Ptr pointer)
 
template<size_t k, typename T >
internal::SetArgRefereeAction
< k, typename std::decay< T >
::type > 
SetArgReferee (T &&value)
 
template<size_t k, typename I1 , typename I2 >
internal::SetArrayArgumentAction
< k, I1, I2 > 
SetArrayArgument (I1 first, I2 last)
 
template<size_t k>
internal::DeleteArgAction< k > DeleteArg ()
 
template<typename Ptr >
internal::ReturnPointeeAction
< Ptr > 
ReturnPointee (Ptr pointer)
 
template<std::size_t index, typename... Params>
internal::InvokeArgumentAction
< index, typename std::decay
< Params >::type...> 
InvokeArgument (Params &&...params)
 
PolymorphicMatcher
< internal::IsEmptyMatcher
IsEmpty ()
 
 MATCHER (IsTrue, negation?"is false":"is true")
 
 MATCHER (IsFalse, negation?"is true":"is false")
 
GTEST_API_ void InitGoogleMock (int *argc, char **argv)
 
GTEST_API_ void InitGoogleMock (int *argc, wchar_t **argv)
 
GTEST_API_ void InitGoogleMock ()
 
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)
 
std::ostream & operator<< (std::ostream &os, const Message &sb)
 
template<typename T , typename IncrementT >
internal::ParamGenerator< TRange (T start, T end, IncrementT step)
 
template<typename T >
internal::ParamGenerator< TRange (T start, T end)
 
template<typename ForwardIterator >
internal::ParamGenerator
< typename
std::iterator_traits
< ForwardIterator >
::value_type > 
ValuesIn (ForwardIterator begin, ForwardIterator end)
 
template<typename T , size_t N>
internal::ParamGenerator< TValuesIn (const T(&array)[N])
 
template<class Container >
internal::ParamGenerator
< typename
Container::value_type > 
ValuesIn (const Container &container)
 
template<typename... T>
internal::ValueArray< T...> Values (T...v)
 
internal::ParamGenerator< bool > Bool ()
 
template<typename... Generator>
internal::CartesianProductHolder
< Generator...> 
Combine (const Generator &...g)
 
template<typename T >
internal::ParamConverterGenerator
< T
ConvertGenerator (internal::ParamGenerator< T > gen)
 
template<typename T >
::std::string PrintToString (const T &value)
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
GTEST_API_ void InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void InitGoogleTest (int *argc, wchar_t **argv)
 
GTEST_API_ void InitGoogleTest ()
 
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 >
constexpr bool StaticAssertTypeEq () noexcept
 
GTEST_API_ std::string TempDir ()
 
GTEST_API_ std::string SrcDir ()
 
 GTEST_DISABLE_MSC_WARNINGS_POP_ () template< int &...ExplicitParameterBarrier
 
Factory TestInfoRegisterTest (const char *test_suite_name, const char *test_name, const char *type_param, const char *value_param, const char *file, int line, Factory factory)
 
template<typename Pred , typename T1 >
AssertionResult AssertPred1Helper (const char *pred_text, const char *e1, Pred pred, const T1 &v1)
 
template<typename Pred , typename T1 , typename T2 >
AssertionResult AssertPred2Helper (const char *pred_text, const char *e1, const char *e2, Pred pred, const T1 &v1, const T2 &v2)
 
template<typename Pred , typename T1 , typename T2 , typename T3 >
AssertionResult AssertPred3Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3)
 
template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 >
AssertionResult AssertPred4Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, const char *e4, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4)
 
template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
AssertionResult AssertPred5Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, const char *e4, const char *e5, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4, const T5 &v5)
 
AssertionResult AssertionSuccess ()
 
AssertionResult AssertionFailure ()
 
AssertionResult AssertionFailure (const Message &message)
 
std::ostream & operator<< (std::ostream &os, const TestPartResult &result)
 
static const char * GetDefaultFilter ()
 
static bool GetDefaultFailFast ()
 
template<size_t kSize>
std::vector< std::string > ArrayAsVector (const char *const (&array)[kSize])
 
static std::vector< std::string > GetReservedAttributesForElement (const std::string &xml_element)
 
static std::string FormatWordList (const std::vector< std::string > &words)
 
static bool ValidateTestPropertyName (const std::string &property_name, const std::vector< std::string > &reserved_names)
 
static bool TestPartSkipped (const TestPartResult &result)
 
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 FormatTestSuiteCount (int test_suite_count)
 
static const char * TestPartResultTypeToString (TestPartResult::Type type)
 
static std::string GetDirFromEnv (std::initializer_list< const char * > environment_variables, const char *fallback, char separator)
 
 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_SUITE_P (, CodeLocationForTESTP, Values(0))
 
 TYPED_TEST_SUITE (CodeLocationForTYPEDTEST, int)
 
 TYPED_TEST (CodeLocationForTYPEDTEST, Verify)
 
 TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP)
 
 TYPED_TEST_P (CodeLocationForTYPEDTESTP, Verify)
 
 REGISTER_TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP, Verify)
 
 INSTANTIATE_TYPED_TEST_SUITE_P (My, CodeLocationForTYPEDTESTP, int)
 
 TEST_F (SetUpTestCaseTest, Test1)
 
 TEST_F (SetUpTestCaseTest, Test2)
 
 TEST_F (SetUpTestSuiteTest, TestSetupTestSuite1)
 
 TEST_F (SetUpTestSuiteTest, TestSetupTestSuite2)
 
 TEST_F (ParseFlagsTest, Empty)
 
 TEST_F (ParseFlagsTest, NoFlag)
 
 TEST_F (ParseFlagsTest, FailFast)
 
 TEST_F (ParseFlagsTest, FilterEmpty)
 
 TEST_F (ParseFlagsTest, FilterNonEmpty)
 
 TEST_F (ParseFlagsTest, BreakOnFailureWithoutValue)
 
 TEST_F (ParseFlagsTest, BreakOnFailureFalse_0)
 
 TEST_F (ParseFlagsTest, BreakOnFailureFalse_f)
 
 TEST_F (ParseFlagsTest, BreakOnFailureFalse_F)
 
 TEST_F (ParseFlagsTest, BreakOnFailureTrue)
 
 TEST_F (ParseFlagsTest, CatchExceptions)
 
 TEST_F (ParseFlagsTest, DeathTestUseFork)
 
 TEST_F (ParseFlagsTest, DuplicatedFlags)
 
 TEST_F (ParseFlagsTest, UnrecognizedFlag)
 
 TEST_F (ParseFlagsTest, ListTestsFlag)
 
 TEST_F (ParseFlagsTest, ListTestsTrue)
 
 TEST_F (ParseFlagsTest, ListTestsFalse)
 
 TEST_F (ParseFlagsTest, ListTestsFalse_f)
 
 TEST_F (ParseFlagsTest, ListTestsFalse_F)
 
 TEST_F (ParseFlagsTest, OutputXml)
 
 TEST_F (ParseFlagsTest, OutputXmlFile)
 
 TEST_F (ParseFlagsTest, OutputXmlDirectory)
 
 TEST_F (ParseFlagsTest, BriefFlag)
 
 TEST_F (ParseFlagsTest, BriefFlagTrue)
 
 TEST_F (ParseFlagsTest, BriefFlagFalse)
 
 TEST_F (ParseFlagsTest, PrintTimeFlag)
 
 TEST_F (ParseFlagsTest, PrintTimeTrue)
 
 TEST_F (ParseFlagsTest, PrintTimeFalse)
 
 TEST_F (ParseFlagsTest, PrintTimeFalse_f)
 
 TEST_F (ParseFlagsTest, PrintTimeFalse_F)
 
 TEST_F (ParseFlagsTest, RandomSeed)
 
 TEST_F (ParseFlagsTest, Repeat)
 
 TEST_F (ParseFlagsTest, RecreateEnvironmentsWhenRepeating)
 
 TEST_F (ParseFlagsTest, AlsoRunDisabledTestsFlag)
 
 TEST_F (ParseFlagsTest, AlsoRunDisabledTestsTrue)
 
 TEST_F (ParseFlagsTest, AlsoRunDisabledTestsFalse)
 
 TEST_F (ParseFlagsTest, ShuffleWithoutValue)
 
 TEST_F (ParseFlagsTest, ShuffleFalse_0)
 
 TEST_F (ParseFlagsTest, ShuffleTrue)
 
 TEST_F (ParseFlagsTest, StackTraceDepth)
 
 TEST_F (ParseFlagsTest, StreamResultTo)
 
 TEST_F (ParseFlagsTest, ThrowOnFailureWithoutValue)
 
 TEST_F (ParseFlagsTest, ThrowOnFailureFalse_0)
 
 TEST_F (ParseFlagsTest, ThrowOnFailureTrue)
 
 TEST_F (ParseFlagsTest, FilterBad)
 
 TEST_F (ParseFlagsTest, OutputEmpty)
 
 TEST_F (ParseFlagsTest, UnrecognizedFlags)
 
 TEST_F (CurrentTestInfoTest, WorksForFirstTestInATestSuite)
 
 TEST_F (CurrentTestInfoTest, WorksForSecondTestInATestSuite)
 

Variables

const int kMaxStackTraceDepth = 100
 
static const char kDefaultDeathTestStyle [] = GTEST_DEFAULT_DEATH_TEST_STYLE
 
static const char kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*"
 
static const char kDeathTestSuiteFilter [] = "*DeathTest:*DeathTest/*"
 
static const char kUniversalFilter [] = "*"
 
static const char kDefaultOutputFormat [] = "xml"
 
static const char kDefaultOutputFile [] = "test_detail"
 
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 *const kReservedOutputTestCaseAttributes []
 

Typedef Documentation

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

using testing::TestCase = typedef TestSuite

Definition at line 214 of file gtest.h.

Definition at line 363 of file gtest.h.

template<typename... Ts>
using testing::Types = typedef internal::ProxyTypeList<Ts...>

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

Function Documentation

template<typename F >
Action<F> testing::MakeAction ( ActionInterface< F > *  impl)

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

template<typename Impl >
PolymorphicAction<Impl> testing::MakePolymorphicAction ( const Impl &  impl)
inline

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

template<typename... Action>
internal::DoAllAction<typename std::decay<Action>::type...> testing::DoAll ( Action &&...  action)

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

template<size_t k, typename InnerAction >
internal::WithArgsAction<typename std::decay<InnerAction>::type, k> testing::WithArg ( InnerAction &&  action)

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

template<size_t k, size_t... ks, typename InnerAction >
internal::WithArgsAction<typename std::decay<InnerAction>::type, k, ks...> testing::WithArgs ( InnerAction &&  action)

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

template<typename InnerAction >
internal::WithArgsAction<typename std::decay<InnerAction>::type> testing::WithoutArgs ( InnerAction &&  action)

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

template<typename R >
internal::ReturnAction<R> testing::Return ( R  value)

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

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

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

PolymorphicAction<internal::ReturnVoidAction> testing::Return ( )
inline

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

template<typename R >
internal::ReturnRefAction<R> testing::ReturnRef ( R x)
inline

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

template<typename R , R * = nullptr>
internal::ReturnRefAction<R> testing::ReturnRef ( R &&  )
delete
template<typename R >
internal::ReturnRefOfCopyAction<R> testing::ReturnRefOfCopy ( const R x)
inline

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

template<typename R >
internal::ByMoveWrapper<R> testing::ByMove ( R  x)

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

template<typename T >
internal::ReturnRoundRobinAction<T> testing::ReturnRoundRobin ( std::vector< T vals)

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

template<typename T >
internal::ReturnRoundRobinAction<T> testing::ReturnRoundRobin ( std::initializer_list< T vals)

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

internal::DoDefaultAction testing::DoDefault ( )
inline

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

template<size_t N, typename T >
internal::SetArgumentPointeeAction<N, T> testing::SetArgPointee ( T  value)

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

template<size_t N, typename T >
internal::SetArgumentPointeeAction<N, T> testing::SetArgumentPointee ( T  value)

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

template<typename T1 , typename T2 >
PolymorphicAction<internal::AssignAction<T1, T2> > testing::Assign ( T1 ptr,
T2  val 
)

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

template<typename T >
PolymorphicAction<internal::SetErrnoAndReturnAction<T> > testing::SetErrnoAndReturn ( int  errval,
T  result 
)

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

template<typename FunctionImpl >
std::decay<FunctionImpl>::type testing::Invoke ( FunctionImpl &&  function_impl)

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

template<class Class , typename MethodPtr >
internal::InvokeMethodAction<Class, MethodPtr> testing::Invoke ( Class *  obj_ptr,
MethodPtr  method_ptr 
)

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

template<typename FunctionImpl >
internal::InvokeWithoutArgsAction<typename std::decay<FunctionImpl>::type> testing::InvokeWithoutArgs ( FunctionImpl  function_impl)

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

template<class Class , typename MethodPtr >
internal::InvokeMethodWithoutArgsAction<Class, MethodPtr> testing::InvokeWithoutArgs ( Class *  obj_ptr,
MethodPtr  method_ptr 
)

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

template<typename A >
internal::IgnoreResultAction<A> testing::IgnoreResult ( const A an_action)
inline

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

template<typename T >
inline ::std::reference_wrapper<T> testing::ByRef ( T l_value)

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

template<typename T , typename... Params>
internal::ReturnNewAction<T, typename std::decay<Params>::type...> testing::ReturnNew ( Params &&...  params)

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

template<size_t k>
internal::ReturnArgAction<k> testing::ReturnArg ( )

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

template<size_t k, typename Ptr >
internal::SaveArgAction<k, Ptr> testing::SaveArg ( Ptr  pointer)

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

template<size_t k, typename Ptr >
internal::SaveArgPointeeAction<k, Ptr> testing::SaveArgPointee ( Ptr  pointer)

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

template<size_t k, typename T >
internal::SetArgRefereeAction<k, typename std::decay<T>::type> testing::SetArgReferee ( T &&  value)

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

template<size_t k, typename I1 , typename I2 >
internal::SetArrayArgumentAction<k, I1, I2> testing::SetArrayArgument ( I1  first,
I2  last 
)

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

template<size_t k>
internal::DeleteArgAction<k> testing::DeleteArg ( )

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

template<typename Ptr >
internal::ReturnPointeeAction<Ptr> testing::ReturnPointee ( Ptr  pointer)

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

template<std::size_t index, typename... Params>
internal::InvokeArgumentAction<index, typename std::decay<Params>::type...> testing::InvokeArgument ( Params &&...  params)

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

PolymorphicMatcher<internal::IsEmptyMatcher> testing::IsEmpty ( )
inline

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

testing::MATCHER ( IsTrue  ,
negation?"is false":"is true  
)

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

testing::MATCHER ( IsFalse  ,
negation?"is true":"is false  
)

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

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

Definition at line 203 of file gmock.cc.

GTEST_API_ void testing::InitGoogleMock ( int *  argc,
wchar_t **  argv 
)

Definition at line 209 of file gmock.cc.

GTEST_API_ void testing::InitGoogleMock ( )

Definition at line 215 of file gmock.cc.

GTEST_API_ Cardinality testing::AtLeast ( int  n)

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

GTEST_API_ Cardinality testing::AtMost ( int  n)

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

GTEST_API_ Cardinality testing::AnyNumber ( )

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

GTEST_API_ Cardinality testing::Between ( int  min,
int  max 
)

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

GTEST_API_ Cardinality testing::Exactly ( int  n)

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

std::ostream& testing::operator<< ( std::ostream &  os,
const Message &  sb 
)
inline

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

template<typename T , typename IncrementT >
internal::ParamGenerator<T> testing::Range ( T  start,
T  end,
IncrementT  step 
)

Definition at line 229 of file gtest-param-test.h.

template<typename T >
internal::ParamGenerator<T> testing::Range ( T  start,
T  end 
)

Definition at line 235 of file gtest-param-test.h.

template<typename ForwardIterator >
internal::ParamGenerator< typename std::iterator_traits<ForwardIterator>::value_type> testing::ValuesIn ( ForwardIterator  begin,
ForwardIterator  end 
)

Definition at line 297 of file gtest-param-test.h.

template<typename T , size_t N>
internal::ParamGenerator<T> testing::ValuesIn ( const T(&)  array[N])

Definition at line 304 of file gtest-param-test.h.

template<class Container >
internal::ParamGenerator< typename Container::value_type > testing::ValuesIn ( const Container &  container)

Definition at line 309 of file gtest-param-test.h.

template<typename... T>
internal::ValueArray<T...> testing::Values ( T...  v)

Definition at line 335 of file gtest-param-test.h.

internal::ParamGenerator<bool> testing::Bool ( )
inline

Definition at line 359 of file gtest-param-test.h.

template<typename... Generator>
internal::CartesianProductHolder<Generator...> testing::Combine ( const Generator &...  g)

Definition at line 406 of file gtest-param-test.h.

template<typename T >
internal::ParamConverterGenerator<T> testing::ConvertGenerator ( internal::ParamGenerator< T gen)

Definition at line 445 of file gtest-param-test.h.

template<typename T >
::std::string testing::PrintToString ( const T value)

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

Environment* testing::AddGlobalTestEnvironment ( Environment *  env)
inline

Definition at line 1345 of file gtest.h.

void testing::InitGoogleTest ( int *  argc,
char **  argv 
)

Definition at line 6885 of file gtest.cc.

void testing::InitGoogleTest ( int *  argc,
wchar_t **  argv 
)

Definition at line 6895 of file gtest.cc.

void testing::InitGoogleTest ( )

Definition at line 6905 of file gtest.cc.

AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

Definition at line 1876 of file gtest.cc.

AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

Definition at line 1881 of file gtest.cc.

AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

Definition at line 1886 of file gtest.cc.

AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

Definition at line 1892 of file gtest.cc.

AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string &  needle,
const ::std::string &  haystack 
)

Definition at line 1898 of file gtest.cc.

AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string &  needle,
const ::std::string &  haystack 
)

Definition at line 1904 of file gtest.cc.

AssertionResult testing::FloatLE ( const char *  expr1,
const char *  expr2,
float  val1,
float  val2 
)

Definition at line 1755 of file gtest.cc.

AssertionResult testing::DoubleLE ( const char *  expr1,
const char *  expr2,
double  val1,
double  val2 
)

Definition at line 1762 of file gtest.cc.

template<typename T1 , typename T2 >
constexpr bool testing::StaticAssertTypeEq ( )
noexcept

Definition at line 2155 of file gtest.h.

std::string testing::TempDir ( )

Definition at line 6941 of file gtest.cc.

GTEST_API_ std::string testing::SrcDir ( )
testing::GTEST_DISABLE_MSC_WARNINGS_POP_ ( )
Factory TestInfo* testing::RegisterTest ( const char *  test_suite_name,
const char *  test_name,
const char *  type_param,
const char *  value_param,
const char *  file,
int  line,
Factory  factory 
)

Definition at line 2299 of file gtest.h.

template<typename Pred , typename T1 >
AssertionResult testing::AssertPred1Helper ( const char *  pred_text,
const char *  e1,
Pred  pred,
const T1 v1 
)

Definition at line 87 of file gtest_pred_impl.h.

template<typename Pred , typename T1 , typename T2 >
AssertionResult testing::AssertPred2Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
Pred  pred,
const T1 v1,
const T2 v2 
)

Definition at line 118 of file gtest_pred_impl.h.

template<typename Pred , typename T1 , typename T2 , typename T3 >
AssertionResult testing::AssertPred3Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
const char *  e3,
Pred  pred,
const T1 v1,
const T2 v2,
const T3 &  v3 
)

Definition at line 155 of file gtest_pred_impl.h.

template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 >
AssertionResult testing::AssertPred4Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
const char *  e3,
const char *  e4,
Pred  pred,
const T1 v1,
const T2 v2,
const T3 &  v3,
const T4 &  v4 
)

Definition at line 194 of file gtest_pred_impl.h.

template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
AssertionResult testing::AssertPred5Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
const char *  e3,
const char *  e4,
const char *  e5,
Pred  pred,
const T1 v1,
const T2 v2,
const T3 &  v3,
const T4 &  v4,
const T5 &  v5 
)

Definition at line 236 of file gtest_pred_impl.h.

AssertionResult testing::AssertionSuccess ( )

Definition at line 66 of file gtest-assertion-result.cc.

AssertionResult testing::AssertionFailure ( )

Definition at line 69 of file gtest-assertion-result.cc.

AssertionResult testing::AssertionFailure ( const Message &  message)

Definition at line 73 of file gtest-assertion-result.cc.

std::ostream& testing::operator<< ( std::ostream &  os,
const TestPartResult &  result 
)

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

static const char* testing::GetDefaultFilter ( )
static

Definition at line 233 of file gtest.cc.

static bool testing::GetDefaultFailFast ( )
static

Definition at line 244 of file gtest.cc.

template<size_t kSize>
std::vector<std::string> testing::ArrayAsVector ( const char *const (&)  array[kSize])

Definition at line 2367 of file gtest.cc.

static std::vector<std::string> testing::GetReservedAttributesForElement ( const std::string &  xml_element)
static

Definition at line 2371 of file gtest.cc.

static std::string testing::FormatWordList ( const std::vector< std::string > &  words)
static

Definition at line 2405 of file gtest.cc.

static bool testing::ValidateTestPropertyName ( const std::string &  property_name,
const std::vector< std::string > &  reserved_names 
)
static

Definition at line 2419 of file gtest.cc.

static bool testing::TestPartSkipped ( const TestPartResult &  result)
static

Definition at line 2449 of file gtest.cc.

static bool testing::TestPartFatallyFailed ( const TestPartResult &  result)
static

Definition at line 2467 of file gtest.cc.

static bool testing::TestPartNonfatallyFailed ( const TestPartResult &  result)
static

Definition at line 2477 of file gtest.cc.

static std::string testing::FormatCountableNoun ( int  count,
const char *  singular_form,
const char *  plural_form 
)
static

Definition at line 3130 of file gtest.cc.

static std::string testing::FormatTestCount ( int  test_count)
static

Definition at line 3137 of file gtest.cc.

static std::string testing::FormatTestSuiteCount ( int  test_suite_count)
static

Definition at line 3142 of file gtest.cc.

static const char* testing::TestPartResultTypeToString ( TestPartResult::Type  type)
static

Definition at line 3150 of file gtest.cc.

static std::string testing::GetDirFromEnv ( std::initializer_list< const char * >  environment_variables,
const char *  fallback,
char  separator 
)
static

Definition at line 6925 of file gtest.cc.

testing::TEST ( GTestEnvVarTest  ,
Dummy   
)

Definition at line 45 of file googletest-env-var-test_.cc.

void testing::PrintFlag ( const char *  flag)

Definition at line 47 of file googletest-env-var-test_.cc.

testing::TEST ( SuccessfulAssertionTest  ,
SUCCEED   
)

Definition at line 4293 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
EXPECT   
)

Definition at line 4300 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
EXPECT_STR   
)

Definition at line 4306 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
ASSERT   
)

Definition at line 4312 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
ASSERT_STR   
)

Definition at line 4318 of file gtest_unittest.cc.

testing::TEST_F ( TestInfoTest  ,
Names   
)

Definition at line 5327 of file gtest_unittest.cc.

testing::TEST_F ( TestInfoTest  ,
result   
)

Definition at line 5335 of file gtest_unittest.cc.

testing::TEST ( CodeLocationForTEST  ,
Verify   
)

Definition at line 5353 of file gtest_unittest.cc.

testing::TEST_F ( CodeLocationForTESTF  ,
Verify   
)

Definition at line 5359 of file gtest_unittest.cc.

testing::TEST_P ( CodeLocationForTESTP  ,
Verify   
)

Definition at line 5365 of file gtest_unittest.cc.

testing::INSTANTIATE_TEST_SUITE_P ( CodeLocationForTESTP  ,
Values(0)   
)
testing::TYPED_TEST_SUITE ( CodeLocationForTYPEDTEST  ,
int   
)
testing::TYPED_TEST ( CodeLocationForTYPEDTEST  ,
Verify   
)

Definition at line 5376 of file gtest_unittest.cc.

testing::TYPED_TEST_SUITE_P ( CodeLocationForTYPEDTESTP  )
testing::TYPED_TEST_P ( CodeLocationForTYPEDTESTP  ,
Verify   
)

Definition at line 5385 of file gtest_unittest.cc.

testing::REGISTER_TYPED_TEST_SUITE_P ( CodeLocationForTYPEDTESTP  ,
Verify   
)
testing::INSTANTIATE_TYPED_TEST_SUITE_P ( My  ,
CodeLocationForTYPEDTESTP  ,
int   
)
testing::TEST_F ( SetUpTestCaseTest  ,
Test1   
)

Definition at line 5451 of file gtest_unittest.cc.

testing::TEST_F ( SetUpTestCaseTest  ,
Test2   
)

Definition at line 5454 of file gtest_unittest.cc.

testing::TEST_F ( SetUpTestSuiteTest  ,
TestSetupTestSuite1   
)

Definition at line 5510 of file gtest_unittest.cc.

testing::TEST_F ( SetUpTestSuiteTest  ,
TestSetupTestSuite2   
)

Definition at line 5515 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
Empty   
)

Definition at line 5819 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
NoFlag   
)

Definition at line 5828 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
FailFast   
)

Definition at line 5837 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
FilterEmpty   
)

Definition at line 5846 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
FilterNonEmpty   
)

Definition at line 5855 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureWithoutValue   
)

Definition at line 5864 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureFalse_0   
)

Definition at line 5873 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureFalse_f   
)

Definition at line 5882 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureFalse_F   
)

Definition at line 5891 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureTrue   
)

Definition at line 5901 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
CatchExceptions   
)

Definition at line 5910 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
DeathTestUseFork   
)

Definition at line 5919 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
DuplicatedFlags   
)

Definition at line 5929 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
UnrecognizedFlag   
)

Definition at line 5939 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFlag   
)

Definition at line 5953 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ListTestsTrue   
)

Definition at line 5962 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFalse   
)

Definition at line 5971 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFalse_f   
)

Definition at line 5980 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFalse_F   
)

Definition at line 5989 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
OutputXml   
)

Definition at line 5998 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
OutputXmlFile   
)

Definition at line 6007 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
OutputXmlDirectory   
)

Definition at line 6016 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BriefFlag   
)

Definition at line 6027 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BriefFlagTrue   
)

Definition at line 6036 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
BriefFlagFalse   
)

Definition at line 6045 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFlag   
)

Definition at line 6054 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeTrue   
)

Definition at line 6063 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFalse   
)

Definition at line 6072 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFalse_f   
)

Definition at line 6081 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFalse_F   
)

Definition at line 6090 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
RandomSeed   
)

Definition at line 6099 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
Repeat   
)

Definition at line 6108 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
RecreateEnvironmentsWhenRepeating   
)

Definition at line 6117 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
AlsoRunDisabledTestsFlag   
)

Definition at line 6131 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
AlsoRunDisabledTestsTrue   
)

Definition at line 6141 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
AlsoRunDisabledTestsFalse   
)

Definition at line 6152 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ShuffleWithoutValue   
)

Definition at line 6163 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ShuffleFalse_0   
)

Definition at line 6172 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ShuffleTrue   
)

Definition at line 6181 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
StackTraceDepth   
)

Definition at line 6190 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
StreamResultTo   
)

Definition at line 6198 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ThrowOnFailureWithoutValue   
)

Definition at line 6209 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ThrowOnFailureFalse_0   
)

Definition at line 6218 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
ThrowOnFailureTrue   
)

Definition at line 6228 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
FilterBad   
)

Definition at line 6237 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
OutputEmpty   
)

Definition at line 6256 of file gtest_unittest.cc.

testing::TEST_F ( ParseFlagsTest  ,
UnrecognizedFlags   
)

Definition at line 6288 of file gtest_unittest.cc.

testing::TEST_F ( CurrentTestInfoTest  ,
WorksForFirstTestInATestSuite   
)

Definition at line 6421 of file gtest_unittest.cc.

testing::TEST_F ( CurrentTestInfoTest  ,
WorksForSecondTestInATestSuite   
)

Definition at line 6435 of file gtest_unittest.cc.

Variable Documentation

const int testing::kMaxStackTraceDepth = 100

Definition at line 171 of file gtest.h.

const char testing::kDefaultDeathTestStyle[] = GTEST_DEFAULT_DEATH_TEST_STYLE
static

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

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

Definition at line 180 of file gtest.cc.

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

Definition at line 185 of file gtest.cc.

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

Definition at line 188 of file gtest.cc.

const char testing::kDefaultOutputFormat[] = "xml"
static

Definition at line 191 of file gtest.cc.

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

Definition at line 193 of file gtest.cc.

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

Definition at line 196 of file gtest.cc.

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

Definition at line 198 of file gtest.cc.

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

Definition at line 200 of file gtest.cc.

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

Definition at line 2345 of file gtest.cc.

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

Definition at line 2351 of file gtest.cc.

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

Definition at line 2356 of file gtest.cc.

const char* const testing::kReservedOutputTestCaseAttributes[]
static
Initial value:
= {
"classname", "name", "status", "time", "type_param",
"value_param", "file", "line", "result", "timestamp"}

Definition at line 2362 of file gtest.cc.