Searched refs:GMOCK_FLAG (Results 1 – 9 of 9) sorted by relevance
/external/chromium/testing/gmock/test/ |
D | gmock_test.cc | 41 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 …]
|
D | gmock-internal-utils_test.cc | 352 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 …]
|
D | gmock_output_test_.cc | 68 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()
|
D | gmock-nice-strict_test.cc | 55 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()
|
D | gmock-spec-builders_test.cc | 79 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/ |
D | gmock-port.h | 61 #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/ |
D | gmock-internal-utils.cc | 111 if (GMOCK_FLAG(verbose) == kInfoVerbosity) { in LogIsVisible() 114 } else if (GMOCK_FLAG(verbose) == kErrorVerbosity) { in LogIsVisible()
|
D | gmock.cc | 139 &GMOCK_FLAG(catch_leaked_mocks)) || in InitGoogleMockImpl() 140 ParseGoogleMockStringFlag(arg, "verbose", &GMOCK_FLAG(verbose))) { in InitGoogleMockImpl()
|
D | gmock-spec-builders.cc | 529 if (!GMOCK_FLAG(catch_leaked_mocks)) in ~MockObjectRegistry()
|