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)) | |
Environment * | AddGlobalTestEnvironment (Environment *env) |
GTEST_API_ Cardinality | AnyNumber () |
template<int kSize> | |
std::vector< std::string > | ArrayAsVector (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< T > | ByRef (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::string > | GetReservedAttributesForElement (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< A > | IgnoreResult (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 >::type > | InvokeWithoutArgs (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< F > | MakeAction (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< T > | Range (T start, T end) |
template<typename T , typename IncrementT > | |
internal::ParamGenerator< T > | Range (T start, T end, IncrementT step) |
REGISTER_TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP, Verify) | |
template<int &... ExplicitParameterBarrier, typename Factory > | |
TestInfo * | 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) |
PolymorphicAction< internal::ReturnVoidAction > | Return () |
template<typename R > | |
internal::ReturnAction< R > | Return (R value) |
PolymorphicAction< internal::ReturnNullAction > | ReturnNull () |
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_type > | ValuesIn (const Container &container) |
template<typename T , size_t N> | |
internal::ParamGenerator< T > | ValuesIn (const T(&array)[N]) |
template<typename ForwardIterator > | |
internal::ParamGenerator< typename ::testing::internal::IteratorTraits< ForwardIterator >::value_type > | ValuesIn (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 >::type > | WithoutArgs (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 [] = "*" |
Definition at line 996 of file gmock-actions.h.
testing::ACTION_P | ( | ReturnPointee | , |
pointer | |||
) |
Definition at line 138 of file gmock-more-actions.h.
testing::ACTION_TEMPLATE | ( | DeleteArg | , |
HAS_1_TEMPLATE_PARAMS(int, k) | , | ||
AND_0_VALUE_PARAMS() | |||
) |
Definition at line 131 of file gmock-more-actions.h.
testing::ACTION_TEMPLATE | ( | InvokeArgument | , |
HAS_1_TEMPLATE_PARAMS(int, k) | , | ||
AND_0_VALUE_PARAMS() | |||
) |
Definition at line 1680 of file gmock-generated-actions.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
testing::ACTION_TEMPLATE | ( | ReturnArg | , |
HAS_1_TEMPLATE_PARAMS(int, k) | , | ||
AND_0_VALUE_PARAMS() | |||
) |
Definition at line 77 of file gmock-more-actions.h.
testing::ACTION_TEMPLATE | ( | ReturnNew | , |
HAS_1_TEMPLATE_PARAMS(typename, T) | , | ||
AND_0_VALUE_PARAMS() | |||
) |
Definition at line 1784 of file gmock-generated-actions.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
|
inline |
GTEST_API_ Cardinality testing::AnyNumber | ( | ) |
Definition at line 145 of file gmock-cardinalities.cc.
std::vector<std::string> testing::ArrayAsVector | ( | const char *const (&) | array[kSize] | ) |
AssertionResult testing::AssertionFailure | ( | const Message & | message | ) |
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.
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.
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.
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.
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.
PolymorphicAction<internal::AssignAction<T1, T2> > testing::Assign | ( | T1 * | ptr, |
T2 | val | ||
) |
Definition at line 1122 of file gmock-actions.h.
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::Between | ( | int | min, |
int | max | ||
) |
Definition at line 148 of file gmock-cardinalities.cc.
|
inline |
Definition at line 364 of file gtest-param-test.h.
internal::ByMoveWrapper<R> testing::ByMove | ( | R | x | ) |
Definition at line 1074 of file gmock-actions.h.
Definition at line 1191 of file gmock-actions.h.
internal::CartesianProductHolder2<Generator1, Generator2> testing::Combine | ( | const Generator1 & | g1, |
const Generator2 & | g2 | ||
) |
Definition at line 415 of file gtest-param-test.h.
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.
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.
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.
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.
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.
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.
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.
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.
internal::DoAllAction<typename std::decay<Action>::type...> testing::DoAll | ( | Action &&... | action | ) |
Definition at line 1001 of file gmock-actions.h.
|
inline |
Definition at line 1079 of file gmock-actions.h.
AssertionResult testing::DoubleLE | ( | const char * | expr1, |
const char * | expr2, | ||
double | val1, | ||
double | val2 | ||
) |
GTEST_API_ Cardinality testing::Exactly | ( | int | n | ) |
Definition at line 153 of file gmock-cardinalities.cc.
AssertionResult testing::FloatLE | ( | const char * | expr1, |
const char * | expr2, | ||
float | val1, | ||
float | val2 | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
testing::GMOCK_DECLARE_bool_ | ( | catch_leaked_mocks | ) |
testing::GMOCK_DECLARE_int32_ | ( | default_mock_behavior | ) |
testing::GMOCK_DECLARE_string_ | ( | verbose | ) |
testing::GMOCK_DEFINE_bool_ | ( | catch_leaked_mocks | , |
true | , | ||
"true iff Google Mock should report leaked mock objects " "as failures." | |||
) |
testing::GMOCK_DEFINE_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." | |||
) |
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." | |||
) |
testing::GTEST_DECLARE_int32_ | ( | repeat | ) |
testing::GTEST_DECLARE_string_ | ( | death_test_style | ) |
testing::GTEST_DECLARE_string_ | ( | filter | ) |
testing::GTEST_DEFINE_bool_ | ( | also_run_disabled_tests | , |
internal::BoolFromGTestEnv("also_run_disabled_tests", false) | , | ||
"Run disabled tests | too, | ||
in addition to the tests normally being run." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | break_on_failure | , |
internal::BoolFromGTestEnv("break_on_failure", false) | , | ||
"True iff a failed assertion should be a debugger break-point." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | catch_exceptions | , |
internal::BoolFromGTestEnv("catch_exceptions", true) | , | ||
"True iff " GTEST_NAME_ " should catch exceptions and treat them as test failures." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | 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." | |||
) |
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." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | print_time | , |
internal::BoolFromGTestEnv("print_time", true) | , | ||
"True iff " GTEST_NAME_ " should display elapsed time in text output." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | print_utf8 | , |
internal::BoolFromGTestEnv("print_utf8", true) | , | ||
"True iff " GTEST_NAME_ " prints UTF8 characters as text." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | show_internal_stack_frames | , |
false | , | ||
"True iff " GTEST_NAME_ " should include internal stack frames when " "printing test failure stack traces." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | shuffle | , |
internal::BoolFromGTestEnv("shuffle", false) | , | ||
"True iff " GTEST_NAME_ " should randomize tests' order on every run." | |||
) |
testing::GTEST_DEFINE_bool_ | ( | throw_on_failure | , |
internal::BoolFromGTestEnv("throw_on_failure", false) | , | ||
"When this flag is | specified, | ||
a failed assertion will throw an exception " "if exceptions are enabled or exit the program with a non-zero code " "otherwise. For use with an external test framework." | |||
) |
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." | |||
) |
testing::GTEST_DEFINE_int32_ | ( | repeat | , |
internal::Int32FromGTestEnv("repeat", 1) | , | ||
"How many times to repeat each test. Specify a negative number " "for repeating forever. Useful for shaking out flaky tests." | |||
) |
testing::GTEST_DEFINE_int32_ | ( | stack_trace_depth | , |
internal::Int32FromGTestEnv("stack_trace_depth", kMaxStackTraceDepth) | , | ||
"The maximum number of stack frames to print when an " "assertion fails. The valid range is 0 through | 100, | ||
inclusive." | |||
) |
testing::GTEST_DEFINE_string_ | ( | color | , |
internal::StringFromGTestEnv("color", "auto") | , | ||
"Whether to use colors in the output. Valid values: | yes, | ||
no | , | ||
" "and auto. 'auto' means to use colors if the output is " "being sent to a terminal and the TERM environment variable " "is set to a terminal type that supports colors." | |||
) |
testing::GTEST_DEFINE_string_ | ( | death_test_style | , |
internal::StringFromGTestEnv("death_test_style", kDefaultDeathTestStyle) | , | ||
"Indicates how to run a death test in a forked child process: " "\"threadsafe\" (child process re-executes the test binary " "from the beginning, running only the specific death test) or " "\"fast\" (child process runs the death test immediately " "after forking)." | |||
) |
testing::GTEST_DEFINE_string_ | ( | filter | , |
internal::StringFromGTestEnv("filter", GetDefaultFilter()) | , | ||
"A colon-separated list of glob (not regex) patterns " "for filtering the tests to | run, | ||
optionally followed by a " "'-' and a :separated list of negative patterns(tests to " "exclude). A test is run if it matches one of the positive " "patterns and does not match any of the negative patterns." | |||
) |
testing::GTEST_DEFINE_string_ | ( | output | , |
internal::StringFromGTestEnv("output", 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." | |||
) |
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." | |||
) |
|
inline |
Definition at line 1176 of file gmock-actions.h.
GTEST_API_ void testing::InitGoogleMock | ( | ) |
GTEST_API_ void testing::InitGoogleMock | ( | int * | argc, |
char ** | argv | ||
) |
GTEST_API_ void testing::InitGoogleMock | ( | int * | argc, |
wchar_t ** | argv | ||
) |
void testing::InitGoogleTest | ( | int * | argc, |
wchar_t ** | argv | ||
) |
testing::INSTANTIATE_TEST_SUITE_P | ( | CodeLocationForTESTP | , |
Values(0) | |||
) |
testing::INSTANTIATE_TYPED_TEST_SUITE_P | ( | My | , |
CodeLocationForTYPEDTESTP | , | ||
int | |||
) |
internal::InvokeMethodAction<Class, MethodPtr> testing::Invoke | ( | Class * | obj_ptr, |
MethodPtr | method_ptr | ||
) |
Definition at line 1152 of file gmock-actions.h.
std::decay<FunctionImpl>::type testing::Invoke | ( | FunctionImpl && | function_impl | ) |
Definition at line 1145 of file gmock-actions.h.
internal::InvokeMethodWithoutArgsAction<Class, MethodPtr> testing::InvokeWithoutArgs | ( | Class * | obj_ptr, |
MethodPtr | method_ptr | ||
) |
Definition at line 1167 of file gmock-actions.h.
internal::InvokeWithoutArgsAction<typename std::decay<FunctionImpl>::type> testing::InvokeWithoutArgs | ( | FunctionImpl | function_impl | ) |
Definition at line 1160 of file gmock-actions.h.
AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const ::std::string & | needle, | ||
const ::std::string & | haystack | ||
) |
AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const char * | needle, | ||
const char * | haystack | ||
) |
AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const wchar_t * | needle, | ||
const wchar_t * | haystack | ||
) |
AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const ::std::string & | needle, | ||
const ::std::string & | haystack | ||
) |
AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const char * | needle, | ||
const char * | haystack | ||
) |
AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const wchar_t * | needle, | ||
const wchar_t * | haystack | ||
) |
Action<F> testing::MakeAction | ( | ActionInterface< F > * | impl | ) |
Definition at line 463 of file gmock-actions.h.
|
inline |
Definition at line 475 of file gmock-actions.h.
testing::MATCHER | ( | IsEmpty | , |
negation ? "isn't empty" :"is empty" | |||
) |
Definition at line 61 of file gmock-more-matchers.h.
Definition at line 81 of file gmock-more-matchers.h.
Definition at line 73 of file gmock-more-matchers.h.
|
inline |
Definition at line 204 of file gtest-message.h.
std::ostream& testing::operator<< | ( | std::ostream & | os, |
const TestPartResult & | result | ||
) |
Definition at line 48 of file gtest-test-part.cc.
void testing::PrintFlag | ( | const char * | flag | ) |
Definition at line 49 of file googletest-env-var-test_.cc.
::std::string testing::PrintToString | ( | const T & | value | ) |
Definition at line 938 of file gtest-printers.h.
internal::ParamGenerator<T> testing::Range | ( | T | start, |
T | end | ||
) |
Definition at line 239 of file gtest-param-test.h.
internal::ParamGenerator<T> testing::Range | ( | T | start, |
T | end, | ||
IncrementT | step | ||
) |
Definition at line 233 of file gtest-param-test.h.
testing::REGISTER_TYPED_TEST_SUITE_P | ( | CodeLocationForTYPEDTESTP | , |
Verify | |||
) |
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 | ||
) |
|
inline |
Definition at line 1051 of file gmock-actions.h.
internal::ReturnAction<R> testing::Return | ( | R | value | ) |
Definition at line 1041 of file gmock-actions.h.
|
inline |
Definition at line 1046 of file gmock-actions.h.
|
inline |
Definition at line 1057 of file gmock-actions.h.
|
inline |
Definition at line 1065 of file gmock-actions.h.
PolymorphicAction< internal::SetArgumentPointeeAction<N, const char*, false> > testing::SetArgPointee | ( | const char * | p | ) |
Definition at line 1097 of file gmock-actions.h.
PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage<T>::value> > testing::SetArgPointee | ( | const T & | x | ) |
Definition at line 1089 of file gmock-actions.h.
PolymorphicAction< internal::SetArgumentPointeeAction<N, const wchar_t*, false> > testing::SetArgPointee | ( | const wchar_t * | p | ) |
Definition at line 1105 of file gmock-actions.h.
PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage<T>::value> > testing::SetArgumentPointee | ( | const T & | x | ) |
Definition at line 1115 of file gmock-actions.h.
PolymorphicAction<internal::SetErrnoAndReturnAction<T> > testing::SetErrnoAndReturn | ( | int | errval, |
T | result | ||
) |
Definition at line 1131 of file gmock-actions.h.
bool testing::StaticAssertTypeEq | ( | ) |
std::string testing::TempDir | ( | ) |
testing::TEST | ( | CodeLocationForTEST | , |
Verify | |||
) |
Definition at line 5357 of file gtest_unittest.cc.
testing::TEST | ( | GTestEnvVarTest | , |
Dummy | |||
) |
Definition at line 46 of file googletest-env-var-test_.cc.
testing::TEST | ( | SuccessfulAssertionTest | , |
ASSERT | |||
) |
Definition at line 4231 of file gtest_unittest.cc.
testing::TEST | ( | SuccessfulAssertionTest | , |
ASSERT_STR | |||
) |
Definition at line 4237 of file gtest_unittest.cc.
testing::TEST | ( | SuccessfulAssertionTest | , |
EXPECT | |||
) |
Definition at line 4219 of file gtest_unittest.cc.
testing::TEST | ( | SuccessfulAssertionTest | , |
EXPECT_STR | |||
) |
Definition at line 4225 of file gtest_unittest.cc.
testing::TEST | ( | SuccessfulAssertionTest | , |
SUCCEED | |||
) |
Definition at line 4212 of file gtest_unittest.cc.
testing::TEST_F | ( | CodeLocationForTESTF | , |
Verify | |||
) |
Definition at line 5364 of file gtest_unittest.cc.
testing::TEST_F | ( | CurrentTestInfoTest | , |
WorksForFirstTestInATestSuite | |||
) |
Definition at line 6304 of file gtest_unittest.cc.
testing::TEST_F | ( | CurrentTestInfoTest | , |
WorksForSecondTestInATestSuite | |||
) |
Definition at line 6319 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
AlsoRunDisabledTestsFalse | |||
) |
Definition at line 6088 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
AlsoRunDisabledTestsFlag | |||
) |
Definition at line 6067 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
AlsoRunDisabledTestsTrue | |||
) |
Definition at line 6077 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
BreakOnFailureFalse_0 | |||
) |
Definition at line 5841 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
BreakOnFailureFalse_f | |||
) |
Definition at line 5850 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
BreakOnFailureFalse_F | |||
) |
Definition at line 5859 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
BreakOnFailureTrue | |||
) |
Definition at line 5869 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
BreakOnFailureWithoutValue | |||
) |
Definition at line 5832 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
CatchExceptions | |||
) |
Definition at line 5878 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
DeathTestUseFork | |||
) |
Definition at line 5887 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
DuplicatedFlags | |||
) |
Definition at line 5897 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
Empty | |||
) |
Definition at line 5787 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
FilterBad | |||
) |
Definition at line 5805 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
FilterEmpty | |||
) |
Definition at line 5814 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
FilterNonEmpty | |||
) |
Definition at line 5823 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ListTestsFalse | |||
) |
Definition at line 5939 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ListTestsFalse_f | |||
) |
Definition at line 5948 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ListTestsFalse_F | |||
) |
Definition at line 5957 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ListTestsFlag | |||
) |
Definition at line 5921 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ListTestsTrue | |||
) |
Definition at line 5930 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
NoFlag | |||
) |
Definition at line 5796 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
OutputEmpty | |||
) |
Definition at line 5966 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
OutputXml | |||
) |
Definition at line 5975 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
OutputXmlDirectory | |||
) |
Definition at line 5993 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
OutputXmlFile | |||
) |
Definition at line 5984 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
PrintTimeFalse | |||
) |
Definition at line 6022 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
PrintTimeFalse_f | |||
) |
Definition at line 6031 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
PrintTimeFalse_F | |||
) |
Definition at line 6040 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
PrintTimeFlag | |||
) |
Definition at line 6004 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
PrintTimeTrue | |||
) |
Definition at line 6013 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
RandomSeed | |||
) |
Definition at line 6049 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
Repeat | |||
) |
Definition at line 6058 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ShuffleFalse_0 | |||
) |
Definition at line 6108 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ShuffleTrue | |||
) |
Definition at line 6117 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ShuffleWithoutValue | |||
) |
Definition at line 6099 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
StackTraceDepth | |||
) |
Definition at line 6126 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
StreamResultTo | |||
) |
Definition at line 6134 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ThrowOnFailureFalse_0 | |||
) |
Definition at line 6154 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ThrowOnFailureTrue | |||
) |
Definition at line 6164 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
ThrowOnFailureWithoutValue | |||
) |
Definition at line 6145 of file gtest_unittest.cc.
testing::TEST_F | ( | ParseFlagsTest | , |
UnrecognizedFlag | |||
) |
Definition at line 5907 of file gtest_unittest.cc.
testing::TEST_F | ( | SetUpTestCaseTest | , |
Test1 | |||
) |
Definition at line 5458 of file gtest_unittest.cc.
testing::TEST_F | ( | SetUpTestCaseTest | , |
Test2 | |||
) |
Definition at line 5461 of file gtest_unittest.cc.
testing::TEST_F | ( | SetUpTestSuiteTest | , |
TestSetupTestSuite1 | |||
) |
Definition at line 5519 of file gtest_unittest.cc.
testing::TEST_F | ( | SetUpTestSuiteTest | , |
TestSetupTestSuite2 | |||
) |
Definition at line 5524 of file gtest_unittest.cc.
testing::TEST_F | ( | TestInfoTest | , |
Names | |||
) |
Definition at line 5332 of file gtest_unittest.cc.
testing::TEST_F | ( | TestInfoTest | , |
result | |||
) |
Definition at line 5340 of file gtest_unittest.cc.
testing::TEST_P | ( | CodeLocationForTESTP | , |
Verify | |||
) |
Definition at line 5371 of file gtest_unittest.cc.
|
static |
|
static |
|
static |
|
static |
testing::TYPED_TEST | ( | CodeLocationForTYPEDTEST | , |
Verify | |||
) |
Definition at line 5383 of file gtest_unittest.cc.
testing::TYPED_TEST_P | ( | CodeLocationForTYPEDTESTP | , |
Verify | |||
) |
Definition at line 5393 of file gtest_unittest.cc.
testing::TYPED_TEST_SUITE | ( | CodeLocationForTYPEDTEST | , |
int | |||
) |
testing::TYPED_TEST_SUITE_P | ( | CodeLocationForTYPEDTESTP | ) |
|
static |
internal::ValueArray<T...> testing::Values | ( | T... | v | ) |
Definition at line 340 of file gtest-param-test.h.
internal::ParamGenerator< typename Container::value_type > testing::ValuesIn | ( | const Container & | container | ) |
Definition at line 314 of file gtest-param-test.h.
internal::ParamGenerator<T> testing::ValuesIn | ( | const T(&) | array[N] | ) |
Definition at line 309 of file gtest-param-test.h.
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.
internal::WithArgsAction<typename std::decay<InnerAction>::type, k> testing::WithArg | ( | InnerAction && | action | ) |
Definition at line 1013 of file gmock-actions.h.
internal::WithArgsAction<typename std::decay<InnerAction>::type, k, ks...> testing::WithArgs | ( | InnerAction && | action | ) |
Definition at line 1023 of file gmock-actions.h.
internal::WithArgsAction<typename std::decay<InnerAction>::type> testing::WithoutArgs | ( | InnerAction && | action | ) |
Definition at line 1033 of file gmock-actions.h.
class GTEST_API_ testing::ScopedTrace testing::GTEST_ATTRIBUTE_UNUSED_ |
|
static |
|
static |
Definition at line 95 of file gtest-death-test.cc.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |