Home
last modified time | relevance | path

Searched refs:GMOCK_FLAG (Results 1 – 9 of 9) sorted by relevance

/external/chromium/testing/gmock/test/
Dgmock_test.cc41 using testing::GMOCK_FLAG(verbose);
50 const ::std::string old_verbose = GMOCK_FLAG(verbose); in TestInitGoogleMock()
60 EXPECT_EQ(expected_gmock_verbose, GMOCK_FLAG(verbose).c_str()); in TestInitGoogleMock()
61 GMOCK_FLAG(verbose) = old_verbose; // Restores the gmock_verbose flag. in TestInitGoogleMock()
73 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
87 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
118 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
166 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
180 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
211 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
[all …]
Dgmock-internal-utils_test.cc352 original_verbose_ = GMOCK_FLAG(verbose).c_str(); in SetUp()
355 virtual void TearDown() { GMOCK_FLAG(verbose) = original_verbose_; } in TearDown()
361 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
367 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
373 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
386 const string old_flag = GMOCK_FLAG(verbose); in TestLogWithSeverity()
387 GMOCK_FLAG(verbose) = verbosity; in TestLogWithSeverity()
399 GMOCK_FLAG(verbose) = old_flag; in TestLogWithSeverity()
405 const string saved_flag = GMOCK_FLAG(verbose); in TEST()
406 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST()
[all …]
Dgmock_output_test_.cc68 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
73 testing::GMOCK_FLAG(verbose) = "warning"; in TEST_F()
77 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
82 testing::GMOCK_FLAG(verbose) = "warning"; in TEST_F()
285 testing::GMOCK_FLAG(catch_leaked_mocks) = true; in main()
286 testing::GMOCK_FLAG(verbose) = "warning"; in main()
Dgmock-nice-strict_test.cc55 using testing::GMOCK_FLAG(verbose);
140 const string saved_flag = GMOCK_FLAG(verbose); in TEST()
141 GMOCK_FLAG(verbose) = "info"; in TEST()
151 GMOCK_FLAG(verbose) = saved_flag; in TEST()
Dgmock-spec-builders_test.cc79 using testing::GMOCK_FLAG(verbose);
1872 : saved_verbose_flag_(GMOCK_FLAG(verbose).c_str()) {} in VerboseFlagPreservingFixture()
1874 ~VerboseFlagPreservingFixture() { GMOCK_FLAG(verbose) = saved_verbose_flag_; } in ~VerboseFlagPreservingFixture()
2033 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
2041 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
2049 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
2057 GMOCK_FLAG(verbose) = "invalid"; // Treated as "warning". in TEST_F()
2090 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
2097 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
2104 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
[all …]
/external/chromium/testing/gmock/include/gmock/internal/
Dgmock-port.h61 #define GMOCK_FLAG(name) FLAGS_gmock_##name macro
64 #define GMOCK_DECLARE_bool_(name) extern bool GMOCK_FLAG(name)
66 extern ::testing::internal::Int32 GMOCK_FLAG(name)
68 extern ::testing::internal::String GMOCK_FLAG(name)
72 bool GMOCK_FLAG(name) = (default_val)
74 ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
76 ::testing::internal::String GMOCK_FLAG(name) = (default_val)
/external/chromium/testing/gmock/src/
Dgmock-internal-utils.cc111 if (GMOCK_FLAG(verbose) == kInfoVerbosity) { in LogIsVisible()
114 } else if (GMOCK_FLAG(verbose) == kErrorVerbosity) { in LogIsVisible()
Dgmock.cc139 &GMOCK_FLAG(catch_leaked_mocks)) || in InitGoogleMockImpl()
140 ParseGoogleMockStringFlag(arg, "verbose", &GMOCK_FLAG(verbose))) { in InitGoogleMockImpl()
Dgmock-spec-builders.cc529 if (!GMOCK_FLAG(catch_leaked_mocks)) in ~MockObjectRegistry()