Namespaces | Classes | Typedefs | Functions | Variables
testing Namespace Reference

Namespaces

 Field
 
 gmock_function_mocker_test
 
 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  CodeLocationForTESTF
 
class  CodeLocationForTESTP
 
class  CodeLocationForTYPEDTEST
 
class  CodeLocationForTYPEDTESTP
 
class  CurrentTestInfoTest
 
class  DefaultValue
 
class  DefaultValue< T & >
 
class  DefaultValue< void >
 
class  EmptyTestEventListener
 
class  Environment
 
struct  Flags
 
class  Matcher
 
class  Message
 
class  NaggyMock
 
class  NiceMock
 
class  ParseFlagsTest
 
class  PolymorphicAction
 
struct  PrintToStringParamName
 
class  ScopedTrace
 
class  SetUpTestCaseTest
 
class  SetUpTestSuiteTest
 
class  StrictMock
 
class  Test
 
class  TestEventListener
 
class  TestEventListeners
 
class  TestInfo
 
class  TestInfoTest
 
struct  TestParamInfo
 
class  TestProperty
 
class  TestResult
 
class  TestSuite
 
class  TestWithParam
 
class  UnitTest
 
class  WithParamInterface
 

Typedefs

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

Functions

 ACTION_P (ReturnPointee, pointer)
 
 ACTION_TEMPLATE (DeleteArg, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS())
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS())
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_10_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_1_VALUE_PARAMS(p0))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_2_VALUE_PARAMS(p0, p1))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_3_VALUE_PARAMS(p0, p1, p2))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_4_VALUE_PARAMS(p0, p1, p2, p3))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_8_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7))
 
 ACTION_TEMPLATE (InvokeArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_9_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8))
 
 ACTION_TEMPLATE (ReturnArg, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS())
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_0_VALUE_PARAMS())
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_10_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_1_VALUE_PARAMS(p0))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_2_VALUE_PARAMS(p0, p1))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_3_VALUE_PARAMS(p0, p1, p2))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_4_VALUE_PARAMS(p0, p1, p2, p3))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_8_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7))
 
 ACTION_TEMPLATE (ReturnNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_9_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8))
 
 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))
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
GTEST_API_ Cardinality AnyNumber ()
 
template<int kSize>
std::vector< std::stringArrayAsVector (const char *const (&array)[kSize])
 
AssertionResult AssertionFailure ()
 
AssertionResult AssertionFailure (const Message &message)
 
AssertionResult AssertionSuccess ()
 
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)
 
template<typename T1 , typename T2 >
PolymorphicAction< internal::AssignAction< T1, T2 > > Assign (T1 *ptr, T2 val)
 
GTEST_API_ Cardinality AtLeast (int n)
 
GTEST_API_ Cardinality AtMost (int n)
 
GTEST_API_ Cardinality Between (int min, int max)
 
internal::ParamGenerator< bool > Bool ()
 
template<typename R >
internal::ByMoveWrapper< R > ByMove (R x)
 
template<typename T >
inline ::std::reference_wrapper< TByRef (T &l_value)
 
template<typename Generator1 , typename Generator2 >
internal::CartesianProductHolder2< Generator1, Generator2 > Combine (const Generator1 &g1, const Generator2 &g2)
 
template<typename Generator1 , typename Generator2 , typename Generator3 >
internal::CartesianProductHolder3< Generator1, Generator2, Generator3 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 >
internal::CartesianProductHolder4< Generator1, Generator2, Generator3, Generator4 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 >
internal::CartesianProductHolder5< Generator1, Generator2, Generator3, Generator4, Generator5 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4, const Generator5 &g5)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 >
internal::CartesianProductHolder6< Generator1, Generator2, Generator3, Generator4, Generator5, Generator6 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4, const Generator5 &g5, const Generator6 &g6)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 >
internal::CartesianProductHolder7< Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4, const Generator5 &g5, const Generator6 &g6, const Generator7 &g7)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 , typename Generator8 >
internal::CartesianProductHolder8< Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7, Generator8 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4, const Generator5 &g5, const Generator6 &g6, const Generator7 &g7, const Generator8 &g8)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 , typename Generator8 , typename Generator9 >
internal::CartesianProductHolder9< Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7, Generator8, Generator9 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4, const Generator5 &g5, const Generator6 &g6, const Generator7 &g7, const Generator8 &g8, const Generator9 &g9)
 
template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 , typename Generator8 , typename Generator9 , typename Generator10 >
internal::CartesianProductHolder10< Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7, Generator8, Generator9, Generator10 > Combine (const Generator1 &g1, const Generator2 &g2, const Generator3 &g3, const Generator4 &g4, const Generator5 &g5, const Generator6 &g6, const Generator7 &g7, const Generator8 &g8, const Generator9 &g9, const Generator10 &g10)
 
template<typename... Action>
internal::DoAllAction< typename std::decay< Action >::type... > DoAll (Action &&... action)
 
internal::DoDefaultAction DoDefault ()
 
GTEST_API_ AssertionResult DoubleLE (const char *expr1, const char *expr2, double val1, double val2)
 
GTEST_API_ Cardinality Exactly (int n)
 
GTEST_API_ AssertionResult FloatLE (const char *expr1, const char *expr2, float val1, float val2)
 
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 std::string FormatWordList (const std::vector< std::string > &words)
 
static const char * GetDefaultFilter ()
 
static std::vector< std::stringGetReservedAttributesForElement (const std::string &xml_element)
 
 GMOCK_DECLARE_bool_ (catch_leaked_mocks)
 
 GMOCK_DECLARE_int32_ (default_mock_behavior)
 
 GMOCK_DECLARE_string_ (verbose)
 
 GMOCK_DEFINE_bool_ (catch_leaked_mocks, true, "true iff Google Mock should report leaked mock objects " "as failures.")
 
 GMOCK_DEFINE_int32_ (default_mock_behavior, 1, "Controls the default behavior of mocks." " Valid values:\n" " 0 - by default, mocks act as NiceMocks.\n" " 1 - by default, mocks act as NaggyMocks.\n" " 2 - by default, mocks act as StrictMocks.")
 
 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_int32_ (repeat)
 
 GTEST_DECLARE_string_ (death_test_style)
 
 GTEST_DECLARE_string_ (filter)
 
 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_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_DEFINE_bool_ (install_failure_signal_handler, internal::BoolFromGTestEnv("install_failure_signal_handler", false), "If true and supported on the current platform, " GTEST_NAME_ " should " "install a signal handler that dumps debugging information when fatal " "signals are raised.")
 
 GTEST_DEFINE_bool_ (list_tests, false, "List all tests without running them.")
 
 GTEST_DEFINE_bool_ (print_time, internal::BoolFromGTestEnv("print_time", true), "True iff " GTEST_NAME_ " should display elapsed time in text output.")
 
 GTEST_DEFINE_bool_ (print_utf8, internal::BoolFromGTestEnv("print_utf8", true), "True iff " GTEST_NAME_ " prints UTF8 characters as text.")
 
 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_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. For use with an external test framework.")
 
 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_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_ (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_ (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_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_string_ (output, internal::StringFromGTestEnv("output", internal::OutputFlagAlsoCheckEnvVar().c_str()), "A format (defaults to \"xml\" but can be specified to be \"json\"), " "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_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< AIgnoreResult (const A &an_action)
 
GTEST_API_ void InitGoogleMock ()
 
GTEST_API_ void InitGoogleMock (int *argc, char **argv)
 
GTEST_API_ void InitGoogleMock (int *argc, wchar_t **argv)
 
GTEST_API_ void InitGoogleTest ()
 
GTEST_API_ void InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void InitGoogleTest (int *argc, wchar_t **argv)
 
 INSTANTIATE_TEST_SUITE_P (, CodeLocationForTESTP, Values(0))
 
 INSTANTIATE_TYPED_TEST_SUITE_P (My, CodeLocationForTYPEDTESTP, int)
 
template<class Class , typename MethodPtr >
internal::InvokeMethodAction< Class, MethodPtr > Invoke (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename FunctionImpl >
std::decay< FunctionImpl >::type Invoke (FunctionImpl &&function_impl)
 
template<class Class , typename MethodPtr >
internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > InvokeWithoutArgs (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename FunctionImpl >
internal::InvokeWithoutArgsAction< typename std::decay< FunctionImpl >::typeInvokeWithoutArgs (FunctionImpl function_impl)
 
GTEST_API_ AssertionResult IsNotSubstring (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 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 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)
 
template<typename F >
Action< FMakeAction (ActionInterface< F > *impl)
 
template<typename Impl >
PolymorphicAction< Impl > MakePolymorphicAction (const Impl &impl)
 
 MATCHER (IsEmpty, negation ? "isn't empty" :"is empty")
 
 MATCHER (IsFalse, negation ? "is true" :"is false")
 
 MATCHER (IsTrue, negation ? "is false" :"is true")
 
std::ostream & operator<< (std::ostream &os, const Message &sb)
 
std::ostream & operator<< (std::ostream &os, const TestPartResult &result)
 
void PrintFlag (const char *flag)
 
template<typename T >
::std::string PrintToString (const T &value)
 
template<typename T >
internal::ParamGenerator< TRange (T start, T end)
 
template<typename T , typename IncrementT >
internal::ParamGenerator< TRange (T start, T end, IncrementT step)
 
 REGISTER_TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP, Verify)
 
template<int &... ExplicitParameterBarrier, typename 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)
 
PolymorphicAction< internal::ReturnVoidActionReturn ()
 
template<typename R >
internal::ReturnAction< R > Return (R value)
 
PolymorphicAction< internal::ReturnNullActionReturnNull ()
 
template<typename R >
internal::ReturnRefAction< R > ReturnRef (R &x)
 
template<typename R >
internal::ReturnRefOfCopyAction< R > ReturnRefOfCopy (const R &x)
 
template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction< N, const char *, false > > SetArgPointee (const char *p)
 
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 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 T >
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > SetErrnoAndReturn (int errval, T result)
 
template<typename T1 , typename T2 >
bool StaticAssertTypeEq ()
 
GTEST_API_ std::string TempDir ()
 
 TEST (CodeLocationForTEST, Verify)
 
 TEST (GTestEnvVarTest, Dummy)
 
 TEST (SuccessfulAssertionTest, ASSERT)
 
 TEST (SuccessfulAssertionTest, ASSERT_STR)
 
 TEST (SuccessfulAssertionTest, EXPECT)
 
 TEST (SuccessfulAssertionTest, EXPECT_STR)
 
 TEST (SuccessfulAssertionTest, SUCCEED)
 
 TEST_F (CodeLocationForTESTF, Verify)
 
 TEST_F (CurrentTestInfoTest, WorksForFirstTestInATestSuite)
 
 TEST_F (CurrentTestInfoTest, WorksForSecondTestInATestSuite)
 
 TEST_F (ParseFlagsTest, AlsoRunDisabledTestsFalse)
 
 TEST_F (ParseFlagsTest, AlsoRunDisabledTestsFlag)
 
 TEST_F (ParseFlagsTest, AlsoRunDisabledTestsTrue)
 
 TEST_F (ParseFlagsTest, BreakOnFailureFalse_0)
 
 TEST_F (ParseFlagsTest, BreakOnFailureFalse_f)
 
 TEST_F (ParseFlagsTest, BreakOnFailureFalse_F)
 
 TEST_F (ParseFlagsTest, BreakOnFailureTrue)
 
 TEST_F (ParseFlagsTest, BreakOnFailureWithoutValue)
 
 TEST_F (ParseFlagsTest, CatchExceptions)
 
 TEST_F (ParseFlagsTest, DeathTestUseFork)
 
 TEST_F (ParseFlagsTest, DuplicatedFlags)
 
 TEST_F (ParseFlagsTest, Empty)
 
 TEST_F (ParseFlagsTest, FilterBad)
 
 TEST_F (ParseFlagsTest, FilterEmpty)
 
 TEST_F (ParseFlagsTest, FilterNonEmpty)
 
 TEST_F (ParseFlagsTest, ListTestsFalse)
 
 TEST_F (ParseFlagsTest, ListTestsFalse_f)
 
 TEST_F (ParseFlagsTest, ListTestsFalse_F)
 
 TEST_F (ParseFlagsTest, ListTestsFlag)
 
 TEST_F (ParseFlagsTest, ListTestsTrue)
 
 TEST_F (ParseFlagsTest, NoFlag)
 
 TEST_F (ParseFlagsTest, OutputEmpty)
 
 TEST_F (ParseFlagsTest, OutputXml)
 
 TEST_F (ParseFlagsTest, OutputXmlDirectory)
 
 TEST_F (ParseFlagsTest, OutputXmlFile)
 
 TEST_F (ParseFlagsTest, PrintTimeFalse)
 
 TEST_F (ParseFlagsTest, PrintTimeFalse_f)
 
 TEST_F (ParseFlagsTest, PrintTimeFalse_F)
 
 TEST_F (ParseFlagsTest, PrintTimeFlag)
 
 TEST_F (ParseFlagsTest, PrintTimeTrue)
 
 TEST_F (ParseFlagsTest, RandomSeed)
 
 TEST_F (ParseFlagsTest, Repeat)
 
 TEST_F (ParseFlagsTest, ShuffleFalse_0)
 
 TEST_F (ParseFlagsTest, ShuffleTrue)
 
 TEST_F (ParseFlagsTest, ShuffleWithoutValue)
 
 TEST_F (ParseFlagsTest, StackTraceDepth)
 
 TEST_F (ParseFlagsTest, StreamResultTo)
 
 TEST_F (ParseFlagsTest, ThrowOnFailureFalse_0)
 
 TEST_F (ParseFlagsTest, ThrowOnFailureTrue)
 
 TEST_F (ParseFlagsTest, ThrowOnFailureWithoutValue)
 
 TEST_F (ParseFlagsTest, UnrecognizedFlag)
 
 TEST_F (SetUpTestCaseTest, Test1)
 
 TEST_F (SetUpTestCaseTest, Test2)
 
 TEST_F (SetUpTestSuiteTest, TestSetupTestSuite1)
 
 TEST_F (SetUpTestSuiteTest, TestSetupTestSuite2)
 
 TEST_F (TestInfoTest, Names)
 
 TEST_F (TestInfoTest, result)
 
 TEST_P (CodeLocationForTESTP, Verify)
 
static bool TestPartFatallyFailed (const TestPartResult &result)
 
static bool TestPartNonfatallyFailed (const TestPartResult &result)
 
static const char * TestPartResultTypeToString (TestPartResult::Type type)
 
static bool TestPartSkipped (const TestPartResult &result)
 
 TYPED_TEST (CodeLocationForTYPEDTEST, Verify)
 
 TYPED_TEST_P (CodeLocationForTYPEDTESTP, Verify)
 
 TYPED_TEST_SUITE (CodeLocationForTYPEDTEST, int)
 
 TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP)
 
static bool ValidateTestPropertyName (const std::string &property_name, const std::vector< std::string > &reserved_names)
 
template<typename... T>
internal::ValueArray< T... > Values (T... v)
 
template<class Container >
internal::ParamGenerator< typename Container::value_typeValuesIn (const Container &container)
 
template<typename T , size_t N>
internal::ParamGenerator< TValuesIn (const T(&array)[N])
 
template<typename ForwardIterator >
internal::ParamGenerator< typename ::testing::internal::IteratorTraits< ForwardIterator >::value_typeValuesIn (ForwardIterator begin, ForwardIterator end)
 
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 >::typeWithoutArgs (InnerAction &&action)
 

Variables

class GTEST_API_ testing::ScopedTrace GTEST_ATTRIBUTE_UNUSED_
 
static const char kDeathTestSuiteFilter [] = "*DeathTest:*DeathTest/*"
 
static const char kDefaultDeathTestStyle [] = GTEST_DEFAULT_DEATH_TEST_STYLE
 
static const char kDefaultOutputFile [] = "test_detail"
 
static const char kDefaultOutputFormat [] = "xml"
 
static const char kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*"
 
static const char *const kReservedTestCaseAttributes []
 
static const char *const kReservedTestSuiteAttributes []
 
static const char *const kReservedTestSuitesAttributes []
 
static const char kTestShardIndex [] = "GTEST_SHARD_INDEX"
 
static const char kTestShardStatusFile [] = "GTEST_SHARD_STATUS_FILE"
 
static const char kTestTotalShards [] = "GTEST_TOTAL_SHARDS"
 
static const char kUniversalFilter [] = "*"
 

Typedef Documentation

◆ TimeInMillis

Definition at line 528 of file gtest.h.

◆ Unused

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

Function Documentation

◆ ACTION_P()

testing::ACTION_P ( ReturnPointee  ,
pointer   
)

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

◆ ACTION_TEMPLATE() [1/28]

testing::ACTION_TEMPLATE ( DeleteArg  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_0_VALUE_PARAMS()   
)

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

◆ ACTION_TEMPLATE() [2/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_0_VALUE_PARAMS()   
)

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

◆ ACTION_TEMPLATE() [3/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_10_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9)   
)

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

◆ ACTION_TEMPLATE() [4/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_1_VALUE_PARAMS(p0)   
)

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

◆ ACTION_TEMPLATE() [5/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_2_VALUE_PARAMS(p0, p1)   
)

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

◆ ACTION_TEMPLATE() [6/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_3_VALUE_PARAMS(p0, p1, p2)   
)

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

◆ ACTION_TEMPLATE() [7/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_4_VALUE_PARAMS(p0, p1, p2, p3)   
)

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

◆ ACTION_TEMPLATE() [8/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4)   
)

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

◆ ACTION_TEMPLATE() [9/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5)   
)

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

◆ ACTION_TEMPLATE() [10/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6)   
)

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

◆ ACTION_TEMPLATE() [11/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_8_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7)   
)

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

◆ ACTION_TEMPLATE() [12/28]

testing::ACTION_TEMPLATE ( InvokeArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_9_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8)   
)

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

◆ ACTION_TEMPLATE() [13/28]

testing::ACTION_TEMPLATE ( ReturnArg  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_0_VALUE_PARAMS()   
)

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

◆ ACTION_TEMPLATE() [14/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_0_VALUE_PARAMS()   
)

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

◆ ACTION_TEMPLATE() [15/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_10_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9)   
)

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

◆ ACTION_TEMPLATE() [16/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_1_VALUE_PARAMS(p0)   
)

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

◆ ACTION_TEMPLATE() [17/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_2_VALUE_PARAMS(p0, p1)   
)

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

◆ ACTION_TEMPLATE() [18/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_3_VALUE_PARAMS(p0, p1, p2)   
)

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

◆ ACTION_TEMPLATE() [19/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_4_VALUE_PARAMS(p0, p1, p2, p3)   
)

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

◆ ACTION_TEMPLATE() [20/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4)   
)

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

◆ ACTION_TEMPLATE() [21/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5)   
)

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

◆ ACTION_TEMPLATE() [22/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6)   
)

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

◆ ACTION_TEMPLATE() [23/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_8_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7)   
)

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

◆ ACTION_TEMPLATE() [24/28]

testing::ACTION_TEMPLATE ( ReturnNew  ,
HAS_1_TEMPLATE_PARAMS(typename, T ,
AND_9_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, p6, p7, p8)   
)

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

◆ ACTION_TEMPLATE() [25/28]

testing::ACTION_TEMPLATE ( SaveArg  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_1_VALUE_PARAMS(pointer  
)

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

◆ ACTION_TEMPLATE() [26/28]

testing::ACTION_TEMPLATE ( SaveArgPointee  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_1_VALUE_PARAMS(pointer  
)

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

◆ ACTION_TEMPLATE() [27/28]

testing::ACTION_TEMPLATE ( SetArgReferee  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_1_VALUE_PARAMS(value  
)

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

◆ ACTION_TEMPLATE() [28/28]

testing::ACTION_TEMPLATE ( SetArrayArgument  ,
HAS_1_TEMPLATE_PARAMS(int, k)  ,
AND_2_VALUE_PARAMS(first, last)   
)

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

◆ AddGlobalTestEnvironment()

Environment* testing::AddGlobalTestEnvironment ( Environment env)
inline

Definition at line 1468 of file gtest.h.

◆ AnyNumber()

GTEST_API_ Cardinality testing::AnyNumber ( )

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

◆ ArrayAsVector()

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

Definition at line 2119 of file gtest.cc.

◆ AssertionFailure() [1/2]

AssertionResult testing::AssertionFailure ( )

Definition at line 1036 of file gtest.cc.

◆ AssertionFailure() [2/2]

AssertionResult testing::AssertionFailure ( const Message message)

Definition at line 1042 of file gtest.cc.

◆ AssertionSuccess()

AssertionResult testing::AssertionSuccess ( )

Definition at line 1031 of file gtest.cc.

◆ AssertPred1Helper()

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.

◆ AssertPred2Helper()

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 130 of file gtest_pred_impl.h.

◆ AssertPred3Helper()

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 180 of file gtest_pred_impl.h.

◆ AssertPred4Helper()

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 236 of file gtest_pred_impl.h.

◆ AssertPred5Helper()

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 298 of file gtest_pred_impl.h.

◆ Assign()

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

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

◆ AtLeast()

GTEST_API_ Cardinality testing::AtLeast ( int  n)

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

◆ AtMost()

GTEST_API_ Cardinality testing::AtMost ( int  n)

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

◆ Between()

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

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

◆ Bool()

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

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

◆ ByMove()

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

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

◆ ByRef()

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

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

◆ Combine() [1/9]

template<typename Generator1 , typename Generator2 >
internal::CartesianProductHolder2<Generator1, Generator2> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2 
)

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

◆ Combine() [2/9]

template<typename Generator1 , typename Generator2 , typename Generator3 >
internal::CartesianProductHolder3<Generator1, Generator2, Generator3> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3 
)

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

◆ Combine() [3/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 >
internal::CartesianProductHolder4<Generator1, Generator2, Generator3, Generator4> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4 
)

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

◆ Combine() [4/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 >
internal::CartesianProductHolder5<Generator1, Generator2, Generator3, Generator4, Generator5> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4,
const Generator5 &  g5 
)

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

◆ Combine() [5/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 >
internal::CartesianProductHolder6<Generator1, Generator2, Generator3, Generator4, Generator5, Generator6> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4,
const Generator5 &  g5,
const Generator6 &  g6 
)

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

◆ Combine() [6/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 >
internal::CartesianProductHolder7<Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4,
const Generator5 &  g5,
const Generator6 &  g6,
const Generator7 &  g7 
)

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

◆ Combine() [7/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 , typename Generator8 >
internal::CartesianProductHolder8<Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7, Generator8> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4,
const Generator5 &  g5,
const Generator6 &  g6,
const Generator7 &  g7,
const Generator8 &  g8 
)

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

◆ Combine() [8/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 , typename Generator8 , typename Generator9 >
internal::CartesianProductHolder9<Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7, Generator8, Generator9> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4,
const Generator5 &  g5,
const Generator6 &  g6,
const Generator7 &  g7,
const Generator8 &  g8,
const Generator9 &  g9 
)

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

◆ Combine() [9/9]

template<typename Generator1 , typename Generator2 , typename Generator3 , typename Generator4 , typename Generator5 , typename Generator6 , typename Generator7 , typename Generator8 , typename Generator9 , typename Generator10 >
internal::CartesianProductHolder10<Generator1, Generator2, Generator3, Generator4, Generator5, Generator6, Generator7, Generator8, Generator9, Generator10> testing::Combine ( const Generator1 &  g1,
const Generator2 &  g2,
const Generator3 &  g3,
const Generator4 &  g4,
const Generator5 &  g5,
const Generator6 &  g6,
const Generator7 &  g7,
const Generator8 &  g8,
const Generator9 &  g9,
const Generator10 &  g10 
)

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

◆ DoAll()

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

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

◆ DoDefault()

internal::DoDefaultAction testing::DoDefault ( )
inline

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

◆ DoubleLE()

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

Definition at line 1448 of file gtest.cc.

◆ Exactly()

GTEST_API_ Cardinality testing::Exactly ( int  n)

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

◆ FloatLE()

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

Definition at line 1441 of file gtest.cc.

◆ FormatCountableNoun()

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

Definition at line 2844 of file gtest.cc.

◆ FormatTestCount()

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

Definition at line 2852 of file gtest.cc.

◆ FormatTestSuiteCount()

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

Definition at line 2857 of file gtest.cc.

◆ FormatWordList()

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

Definition at line 2138 of file gtest.cc.

◆ GetDefaultFilter()

static const char* testing::GetDefaultFilter ( )
static

Definition at line 203 of file gtest.cc.

◆ GetReservedAttributesForElement()

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

Definition at line 2123 of file gtest.cc.

◆ GMOCK_DECLARE_bool_()

testing::GMOCK_DECLARE_bool_ ( catch_leaked_mocks  )

◆ GMOCK_DECLARE_int32_()

testing::GMOCK_DECLARE_int32_ ( default_mock_behavior  )

◆ GMOCK_DECLARE_string_()

testing::GMOCK_DECLARE_string_ ( verbose  )

◆ GMOCK_DEFINE_bool_()

testing::GMOCK_DEFINE_bool_ ( catch_leaked_mocks  ,
true  ,
"true iff Google Mock should report leaked mock objects " "as failures."   
)

◆ GMOCK_DEFINE_int32_()

testing::GMOCK_DEFINE_int32_ ( default_mock_behavior  ,
,
"Controls the default behavior of mocks." " Valid values:\n" " 0 - by  default,
mocks act as NiceMocks.\n" " 1 - by  default,
mocks act as NaggyMocks.\n" " 2 - by  default,
mocks act as StrictMocks."   
)

◆ GMOCK_DEFINE_string_()

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."   
)

◆ GTEST_DECLARE_int32_()

testing::GTEST_DECLARE_int32_ ( repeat  )

◆ GTEST_DECLARE_string_() [1/2]

testing::GTEST_DECLARE_string_ ( death_test_style  )

◆ GTEST_DECLARE_string_() [2/2]

testing::GTEST_DECLARE_string_ ( filter  )

◆ GTEST_DEFINE_bool_() [1/11]

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."   
)

◆ GTEST_DEFINE_bool_() [2/11]

testing::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_() [3/11]

testing::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_bool_() [4/11]

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."   
)

◆ GTEST_DEFINE_bool_() [5/11]

testing::GTEST_DEFINE_bool_ ( install_failure_signal_handler  ,
internal::BoolFromGTestEnv("install_failure_signal_handler", false)  ,
"If true and supported on the current  platform,
" GTEST_NAME_ " should " "install a signal handler that dumps debugging information when fatal " "signals are raised."   
)

◆ GTEST_DEFINE_bool_() [6/11]

testing::GTEST_DEFINE_bool_ ( list_tests  ,
false  ,
"List all tests without running them."   
)

◆ GTEST_DEFINE_bool_() [7/11]

testing::GTEST_DEFINE_bool_ ( print_time  ,
internal::BoolFromGTestEnv("print_time", true)  ,
"True iff " GTEST_NAME_ " should display elapsed time in text output."   
)

◆ GTEST_DEFINE_bool_() [8/11]

testing::GTEST_DEFINE_bool_ ( print_utf8  ,
internal::BoolFromGTestEnv("print_utf8", true)  ,
"True iff " GTEST_NAME_ " prints UTF8 characters as text."   
)

◆ GTEST_DEFINE_bool_() [9/11]

testing::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_() [10/11]

testing::GTEST_DEFINE_bool_ ( shuffle  ,
internal::BoolFromGTestEnv("shuffle", false)  ,
"True iff " GTEST_NAME_ " should randomize tests' order on every run."   
)

◆ GTEST_DEFINE_bool_() [11/11]

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. For use with an external test framework."   
)

◆ GTEST_DEFINE_int32_() [1/3]

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."   
)

◆ GTEST_DEFINE_int32_() [2/3]

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."   
)

◆ GTEST_DEFINE_int32_() [3/3]

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."   
)

◆ GTEST_DEFINE_string_() [1/5]

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."   
)

◆ GTEST_DEFINE_string_() [2/5]

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)."   
)

◆ GTEST_DEFINE_string_() [3/5]

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."   
)

◆ GTEST_DEFINE_string_() [4/5]

testing::GTEST_DEFINE_string_ ( output  ,
internal::StringFromGTestEnv("output", internal::OutputFlagAlsoCheckEnvVar().c_str())  ,
"A format   defaults to \"xml\" but can be specified to be \"json\",
" "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_string_() [5/5]

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."   
)

◆ IgnoreResult()

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

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

◆ InitGoogleMock() [1/3]

GTEST_API_ void testing::InitGoogleMock ( )

Definition at line 203 of file gmock.cc.

◆ InitGoogleMock() [2/3]

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

Definition at line 191 of file gmock.cc.

◆ InitGoogleMock() [3/3]

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

Definition at line 197 of file gmock.cc.

◆ InitGoogleTest() [1/3]

void testing::InitGoogleTest ( )

Definition at line 6025 of file gtest.cc.

◆ InitGoogleTest() [2/3]

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

Definition at line 6005 of file gtest.cc.

◆ InitGoogleTest() [3/3]

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

Definition at line 6015 of file gtest.cc.

◆ INSTANTIATE_TEST_SUITE_P()

testing::INSTANTIATE_TEST_SUITE_P ( CodeLocationForTESTP  ,
Values(0)   
)

◆ INSTANTIATE_TYPED_TEST_SUITE_P()

testing::INSTANTIATE_TYPED_TEST_SUITE_P ( My  ,
CodeLocationForTYPEDTESTP  ,
int   
)

◆ Invoke() [1/2]

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

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

◆ Invoke() [2/2]

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

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

◆ InvokeWithoutArgs() [1/2]

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

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

◆ InvokeWithoutArgs() [2/2]

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

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

◆ IsNotSubstring() [1/3]

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

Definition at line 1654 of file gtest.cc.

◆ IsNotSubstring() [2/3]

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

Definition at line 1636 of file gtest.cc.

◆ IsNotSubstring() [3/3]

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

Definition at line 1642 of file gtest.cc.

◆ IsSubstring() [1/3]

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

Definition at line 1648 of file gtest.cc.

◆ IsSubstring() [2/3]

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

Definition at line 1624 of file gtest.cc.

◆ IsSubstring() [3/3]

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

Definition at line 1630 of file gtest.cc.

◆ MakeAction()

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

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

◆ MakePolymorphicAction()

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

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

◆ MATCHER() [1/3]

testing::MATCHER ( IsEmpty  ,
negation ? "isn't empty" :"is empty"   
)

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

◆ MATCHER() [2/3]

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

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

◆ MATCHER() [3/3]

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

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

◆ operator<<() [1/2]

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

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

◆ operator<<() [2/2]

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

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

◆ PrintFlag()

void testing::PrintFlag ( const char *  flag)

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

◆ PrintToString()

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

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

◆ Range() [1/2]

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

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

◆ Range() [2/2]

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

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

◆ REGISTER_TYPED_TEST_SUITE_P()

testing::REGISTER_TYPED_TEST_SUITE_P ( CodeLocationForTYPEDTESTP  ,
Verify   
)

◆ RegisterTest()

template<int &... ExplicitParameterBarrier, typename 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 2468 of file gtest.h.

◆ Return() [1/2]

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

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

◆ Return() [2/2]

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

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

◆ ReturnNull()

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

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

◆ ReturnRef()

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

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

◆ ReturnRefOfCopy()

template<typename R >
internal::ReturnRefOfCopyAction<R> testing::ReturnRefOfCopy ( const R &  x)
inline

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

◆ SetArgPointee() [1/3]

template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction<N, const char*, false> > testing::SetArgPointee ( const char *  p)

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

◆ SetArgPointee() [2/3]

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

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

◆ SetArgPointee() [3/3]

template<size_t N>
PolymorphicAction< internal::SetArgumentPointeeAction<N, const wchar_t*, false> > testing::SetArgPointee ( const wchar_t *  p)

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

◆ SetArgumentPointee()

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

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

◆ SetErrnoAndReturn()

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

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

◆ StaticAssertTypeEq()

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

Definition at line 2332 of file gtest.h.

◆ TempDir()

std::string testing::TempDir ( )

Definition at line 6039 of file gtest.cc.

◆ TEST() [1/7]

testing::TEST ( CodeLocationForTEST  ,
Verify   
)

Definition at line 5357 of file gtest_unittest.cc.

◆ TEST() [2/7]

testing::TEST ( GTestEnvVarTest  ,
Dummy   
)

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

◆ TEST() [3/7]

testing::TEST ( SuccessfulAssertionTest  ,
ASSERT   
)

Definition at line 4231 of file gtest_unittest.cc.

◆ TEST() [4/7]

testing::TEST ( SuccessfulAssertionTest  ,
ASSERT_STR   
)

Definition at line 4237 of file gtest_unittest.cc.

◆ TEST() [5/7]

testing::TEST ( SuccessfulAssertionTest  ,
EXPECT   
)

Definition at line 4219 of file gtest_unittest.cc.

◆ TEST() [6/7]

testing::TEST ( SuccessfulAssertionTest  ,
EXPECT_STR   
)

Definition at line 4225 of file gtest_unittest.cc.

◆ TEST() [7/7]

testing::TEST ( SuccessfulAssertionTest  ,
SUCCEED   
)

Definition at line 4212 of file gtest_unittest.cc.

◆ TEST_F() [1/50]

testing::TEST_F ( CodeLocationForTESTF  ,
Verify   
)

Definition at line 5364 of file gtest_unittest.cc.

◆ TEST_F() [2/50]

testing::TEST_F ( CurrentTestInfoTest  ,
WorksForFirstTestInATestSuite   
)

Definition at line 6304 of file gtest_unittest.cc.

◆ TEST_F() [3/50]

testing::TEST_F ( CurrentTestInfoTest  ,
WorksForSecondTestInATestSuite   
)

Definition at line 6319 of file gtest_unittest.cc.

◆ TEST_F() [4/50]

testing::TEST_F ( ParseFlagsTest  ,
AlsoRunDisabledTestsFalse   
)

Definition at line 6088 of file gtest_unittest.cc.

◆ TEST_F() [5/50]

testing::TEST_F ( ParseFlagsTest  ,
AlsoRunDisabledTestsFlag   
)

Definition at line 6067 of file gtest_unittest.cc.

◆ TEST_F() [6/50]

testing::TEST_F ( ParseFlagsTest  ,
AlsoRunDisabledTestsTrue   
)

Definition at line 6077 of file gtest_unittest.cc.

◆ TEST_F() [7/50]

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureFalse_0   
)

Definition at line 5841 of file gtest_unittest.cc.

◆ TEST_F() [8/50]

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureFalse_f   
)

Definition at line 5850 of file gtest_unittest.cc.

◆ TEST_F() [9/50]

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureFalse_F   
)

Definition at line 5859 of file gtest_unittest.cc.

◆ TEST_F() [10/50]

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureTrue   
)

Definition at line 5869 of file gtest_unittest.cc.

◆ TEST_F() [11/50]

testing::TEST_F ( ParseFlagsTest  ,
BreakOnFailureWithoutValue   
)

Definition at line 5832 of file gtest_unittest.cc.

◆ TEST_F() [12/50]

testing::TEST_F ( ParseFlagsTest  ,
CatchExceptions   
)

Definition at line 5878 of file gtest_unittest.cc.

◆ TEST_F() [13/50]

testing::TEST_F ( ParseFlagsTest  ,
DeathTestUseFork   
)

Definition at line 5887 of file gtest_unittest.cc.

◆ TEST_F() [14/50]

testing::TEST_F ( ParseFlagsTest  ,
DuplicatedFlags   
)

Definition at line 5897 of file gtest_unittest.cc.

◆ TEST_F() [15/50]

testing::TEST_F ( ParseFlagsTest  ,
Empty   
)

Definition at line 5787 of file gtest_unittest.cc.

◆ TEST_F() [16/50]

testing::TEST_F ( ParseFlagsTest  ,
FilterBad   
)

Definition at line 5805 of file gtest_unittest.cc.

◆ TEST_F() [17/50]

testing::TEST_F ( ParseFlagsTest  ,
FilterEmpty   
)

Definition at line 5814 of file gtest_unittest.cc.

◆ TEST_F() [18/50]

testing::TEST_F ( ParseFlagsTest  ,
FilterNonEmpty   
)

Definition at line 5823 of file gtest_unittest.cc.

◆ TEST_F() [19/50]

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFalse   
)

Definition at line 5939 of file gtest_unittest.cc.

◆ TEST_F() [20/50]

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFalse_f   
)

Definition at line 5948 of file gtest_unittest.cc.

◆ TEST_F() [21/50]

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFalse_F   
)

Definition at line 5957 of file gtest_unittest.cc.

◆ TEST_F() [22/50]

testing::TEST_F ( ParseFlagsTest  ,
ListTestsFlag   
)

Definition at line 5921 of file gtest_unittest.cc.

◆ TEST_F() [23/50]

testing::TEST_F ( ParseFlagsTest  ,
ListTestsTrue   
)

Definition at line 5930 of file gtest_unittest.cc.

◆ TEST_F() [24/50]

testing::TEST_F ( ParseFlagsTest  ,
NoFlag   
)

Definition at line 5796 of file gtest_unittest.cc.

◆ TEST_F() [25/50]

testing::TEST_F ( ParseFlagsTest  ,
OutputEmpty   
)

Definition at line 5966 of file gtest_unittest.cc.

◆ TEST_F() [26/50]

testing::TEST_F ( ParseFlagsTest  ,
OutputXml   
)

Definition at line 5975 of file gtest_unittest.cc.

◆ TEST_F() [27/50]

testing::TEST_F ( ParseFlagsTest  ,
OutputXmlDirectory   
)

Definition at line 5993 of file gtest_unittest.cc.

◆ TEST_F() [28/50]

testing::TEST_F ( ParseFlagsTest  ,
OutputXmlFile   
)

Definition at line 5984 of file gtest_unittest.cc.

◆ TEST_F() [29/50]

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFalse   
)

Definition at line 6022 of file gtest_unittest.cc.

◆ TEST_F() [30/50]

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFalse_f   
)

Definition at line 6031 of file gtest_unittest.cc.

◆ TEST_F() [31/50]

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFalse_F   
)

Definition at line 6040 of file gtest_unittest.cc.

◆ TEST_F() [32/50]

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeFlag   
)

Definition at line 6004 of file gtest_unittest.cc.

◆ TEST_F() [33/50]

testing::TEST_F ( ParseFlagsTest  ,
PrintTimeTrue   
)

Definition at line 6013 of file gtest_unittest.cc.

◆ TEST_F() [34/50]

testing::TEST_F ( ParseFlagsTest  ,
RandomSeed   
)

Definition at line 6049 of file gtest_unittest.cc.

◆ TEST_F() [35/50]

testing::TEST_F ( ParseFlagsTest  ,
Repeat   
)

Definition at line 6058 of file gtest_unittest.cc.

◆ TEST_F() [36/50]

testing::TEST_F ( ParseFlagsTest  ,
ShuffleFalse_0   
)

Definition at line 6108 of file gtest_unittest.cc.

◆ TEST_F() [37/50]

testing::TEST_F ( ParseFlagsTest  ,
ShuffleTrue   
)

Definition at line 6117 of file gtest_unittest.cc.

◆ TEST_F() [38/50]

testing::TEST_F ( ParseFlagsTest  ,
ShuffleWithoutValue   
)

Definition at line 6099 of file gtest_unittest.cc.

◆ TEST_F() [39/50]

testing::TEST_F ( ParseFlagsTest  ,
StackTraceDepth   
)

Definition at line 6126 of file gtest_unittest.cc.

◆ TEST_F() [40/50]

testing::TEST_F ( ParseFlagsTest  ,
StreamResultTo   
)

Definition at line 6134 of file gtest_unittest.cc.

◆ TEST_F() [41/50]

testing::TEST_F ( ParseFlagsTest  ,
ThrowOnFailureFalse_0   
)

Definition at line 6154 of file gtest_unittest.cc.

◆ TEST_F() [42/50]

testing::TEST_F ( ParseFlagsTest  ,
ThrowOnFailureTrue   
)

Definition at line 6164 of file gtest_unittest.cc.

◆ TEST_F() [43/50]

testing::TEST_F ( ParseFlagsTest  ,
ThrowOnFailureWithoutValue   
)

Definition at line 6145 of file gtest_unittest.cc.

◆ TEST_F() [44/50]

testing::TEST_F ( ParseFlagsTest  ,
UnrecognizedFlag   
)

Definition at line 5907 of file gtest_unittest.cc.

◆ TEST_F() [45/50]

testing::TEST_F ( SetUpTestCaseTest  ,
Test1   
)

Definition at line 5458 of file gtest_unittest.cc.

◆ TEST_F() [46/50]

testing::TEST_F ( SetUpTestCaseTest  ,
Test2   
)

Definition at line 5461 of file gtest_unittest.cc.

◆ TEST_F() [47/50]

testing::TEST_F ( SetUpTestSuiteTest  ,
TestSetupTestSuite1   
)

Definition at line 5519 of file gtest_unittest.cc.

◆ TEST_F() [48/50]

testing::TEST_F ( SetUpTestSuiteTest  ,
TestSetupTestSuite2   
)

Definition at line 5524 of file gtest_unittest.cc.

◆ TEST_F() [49/50]

testing::TEST_F ( TestInfoTest  ,
Names   
)

Definition at line 5332 of file gtest_unittest.cc.

◆ TEST_F() [50/50]

testing::TEST_F ( TestInfoTest  ,
result   
)

Definition at line 5340 of file gtest_unittest.cc.

◆ TEST_P()

testing::TEST_P ( CodeLocationForTESTP  ,
Verify   
)

Definition at line 5371 of file gtest_unittest.cc.

◆ TestPartFatallyFailed()

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

Definition at line 2201 of file gtest.cc.

◆ TestPartNonfatallyFailed()

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

Definition at line 2211 of file gtest.cc.

◆ TestPartResultTypeToString()

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

Definition at line 2865 of file gtest.cc.

◆ TestPartSkipped()

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

Definition at line 2182 of file gtest.cc.

◆ TYPED_TEST()

testing::TYPED_TEST ( CodeLocationForTYPEDTEST  ,
Verify   
)

Definition at line 5383 of file gtest_unittest.cc.

◆ TYPED_TEST_P()

testing::TYPED_TEST_P ( CodeLocationForTYPEDTESTP  ,
Verify   
)

Definition at line 5393 of file gtest_unittest.cc.

◆ TYPED_TEST_SUITE()

testing::TYPED_TEST_SUITE ( CodeLocationForTYPEDTEST  ,
int   
)

◆ TYPED_TEST_SUITE_P()

testing::TYPED_TEST_SUITE_P ( CodeLocationForTYPEDTESTP  )

◆ ValidateTestPropertyName()

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

Definition at line 2152 of file gtest.cc.

◆ Values()

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

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

◆ ValuesIn() [1/3]

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

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

◆ ValuesIn() [2/3]

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

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

◆ ValuesIn() [3/3]

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

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

◆ WithArg()

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

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

◆ WithArgs()

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 1023 of file gmock-actions.h.

◆ WithoutArgs()

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

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

Variable Documentation

◆ GTEST_ATTRIBUTE_UNUSED_

class GTEST_API_ testing::ScopedTrace testing::GTEST_ATTRIBUTE_UNUSED_

◆ kDeathTestSuiteFilter

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

Definition at line 157 of file gtest.cc.

◆ kDefaultDeathTestStyle

const char testing::kDefaultDeathTestStyle[] = GTEST_DEFAULT_DEATH_TEST_STYLE
static

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

◆ kDefaultOutputFile

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

Definition at line 165 of file gtest.cc.

◆ kDefaultOutputFormat

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

Definition at line 163 of file gtest.cc.

◆ kDisableTestFilter

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

Definition at line 152 of file gtest.cc.

◆ kReservedTestCaseAttributes

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

Definition at line 2114 of file gtest.cc.

◆ kReservedTestSuiteAttributes

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

Definition at line 2104 of file gtest.cc.

◆ kReservedTestSuitesAttributes

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

Definition at line 2091 of file gtest.cc.

◆ kTestShardIndex

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

Definition at line 168 of file gtest.cc.

◆ kTestShardStatusFile

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

Definition at line 172 of file gtest.cc.

◆ kTestTotalShards

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

Definition at line 170 of file gtest.cc.

◆ kUniversalFilter

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

Definition at line 160 of file gtest.cc.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11