Home
last modified time | relevance | path

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

12

/external/v8/testing/gmock/test/
Dgmock_test.cc44 using testing::GMOCK_FLAG(verbose);
52 const ::std::string old_verbose = GMOCK_FLAG(verbose); in TestInitGoogleMock()
62 EXPECT_EQ(expected_gmock_verbose, GMOCK_FLAG(verbose).c_str()); in TestInitGoogleMock()
63 GMOCK_FLAG(verbose) = old_verbose; // Restores the gmock_verbose flag. in TestInitGoogleMock()
75 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
89 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
120 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
149 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
163 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
194 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
[all …]
Dgmock-nice-strict_test.cc55 using testing::GMOCK_FLAG(verbose);
115 const string saved_flag = GMOCK_FLAG(verbose); in TEST()
116 GMOCK_FLAG(verbose) = "warning"; in TEST()
126 GMOCK_FLAG(verbose) = saved_flag; in TEST()
132 const string saved_flag = GMOCK_FLAG(verbose); in TEST()
133 GMOCK_FLAG(verbose) = "warning"; in TEST()
145 GMOCK_FLAG(verbose) = saved_flag; in TEST()
153 const string saved_flag = GMOCK_FLAG(verbose); in TEST()
154 GMOCK_FLAG(verbose) = "info"; in TEST()
160 GMOCK_FLAG(verbose) = saved_flag; in TEST()
[all …]
Dgmock-internal-utils_test.cc372 original_verbose_ = GMOCK_FLAG(verbose); in SetUp()
375 virtual void TearDown() { GMOCK_FLAG(verbose) = original_verbose_; } in TearDown()
381 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
387 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
393 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
406 const string old_flag = GMOCK_FLAG(verbose); in TestLogWithSeverity()
407 GMOCK_FLAG(verbose) = verbosity; in TestLogWithSeverity()
419 GMOCK_FLAG(verbose) = old_flag; in TestLogWithSeverity()
425 const string saved_flag = GMOCK_FLAG(verbose); in TEST()
426 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST()
[all …]
Dgmock_output_test_.cc69 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
74 testing::GMOCK_FLAG(verbose) = "warning"; in TEST_F()
78 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
83 testing::GMOCK_FLAG(verbose) = "warning"; in TEST_F()
286 testing::GMOCK_FLAG(catch_leaked_mocks) = true; in main()
287 testing::GMOCK_FLAG(verbose) = "warning"; in main()
Dgmock-spec-builders_test.cc79 using testing::GMOCK_FLAG(verbose);
1968 : saved_verbose_flag_(GMOCK_FLAG(verbose)) {} in VerboseFlagPreservingFixture()
1970 ~VerboseFlagPreservingFixture() { GMOCK_FLAG(verbose) = saved_verbose_flag_; } in ~VerboseFlagPreservingFixture()
1985 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST()
1999 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST()
2153 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
2161 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
2169 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
2177 GMOCK_FLAG(verbose) = "invalid"; // Treated as "warning". in TEST_F()
2210 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
[all …]
/external/googletest/googlemock/test/
Dgmock_test.cc43 using testing::GMOCK_FLAG(verbose);
51 const ::std::string old_verbose = GMOCK_FLAG(verbose); in TestInitGoogleMock()
61 EXPECT_EQ(expected_gmock_verbose, GMOCK_FLAG(verbose).c_str()); in TestInitGoogleMock()
62 GMOCK_FLAG(verbose) = old_verbose; // Restores the gmock_verbose flag. in TestInitGoogleMock()
74 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
88 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
119 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
148 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
162 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
193 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
[all …]
Dgmock-nice-strict_test.cc54 using testing::GMOCK_FLAG(verbose);
114 const std::string saved_flag = GMOCK_FLAG(verbose); in TEST()
115 GMOCK_FLAG(verbose) = "warning"; in TEST()
125 GMOCK_FLAG(verbose) = saved_flag; in TEST()
131 const std::string saved_flag = GMOCK_FLAG(verbose); in TEST()
132 GMOCK_FLAG(verbose) = "warning"; in TEST()
144 GMOCK_FLAG(verbose) = saved_flag; in TEST()
152 const std::string saved_flag = GMOCK_FLAG(verbose); in TEST()
153 GMOCK_FLAG(verbose) = "info"; in TEST()
159 GMOCK_FLAG(verbose) = saved_flag; in TEST()
[all …]
Dgmock-internal-utils_test.cc372 original_verbose_ = GMOCK_FLAG(verbose); in SetUp()
375 virtual void TearDown() { GMOCK_FLAG(verbose) = original_verbose_; } in TearDown()
381 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
387 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
393 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
406 const std::string old_flag = GMOCK_FLAG(verbose); in TestLogWithSeverity()
407 GMOCK_FLAG(verbose) = verbosity; in TestLogWithSeverity()
419 GMOCK_FLAG(verbose) = old_flag; in TestLogWithSeverity()
425 const std::string saved_flag = GMOCK_FLAG(verbose); in TEST()
426 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST()
[all …]
Dgmock_output_test_.cc69 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
74 testing::GMOCK_FLAG(verbose) = "warning"; in TEST_F()
78 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
83 testing::GMOCK_FLAG(verbose) = "warning"; in TEST_F()
286 testing::GMOCK_FLAG(catch_leaked_mocks) = true; in main()
287 testing::GMOCK_FLAG(verbose) = "warning"; in main()
Dgmock-spec-builders_test.cc79 using testing::GMOCK_FLAG(verbose);
1967 : saved_verbose_flag_(GMOCK_FLAG(verbose)) {} in VerboseFlagPreservingFixture()
1969 ~VerboseFlagPreservingFixture() { GMOCK_FLAG(verbose) = saved_verbose_flag_; } in ~VerboseFlagPreservingFixture()
1984 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST()
1998 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST()
2152 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
2160 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
2168 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
2176 GMOCK_FLAG(verbose) = "invalid"; // Treated as "warning". in TEST_F()
2209 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
[all …]
/external/google-breakpad/src/testing/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);
1883 : saved_verbose_flag_(GMOCK_FLAG(verbose).c_str()) {} in VerboseFlagPreservingFixture()
1885 ~VerboseFlagPreservingFixture() { GMOCK_FLAG(verbose) = saved_verbose_flag_; } in ~VerboseFlagPreservingFixture()
2044 GMOCK_FLAG(verbose) = kInfoVerbosity; in TEST_F()
2052 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
2060 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
2068 GMOCK_FLAG(verbose) = "invalid"; // Treated as "warning". in TEST_F()
2101 GMOCK_FLAG(verbose) = kWarningVerbosity; in TEST_F()
2108 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
2115 GMOCK_FLAG(verbose) = kErrorVerbosity; in TEST_F()
[all …]
/external/googletest/googlemock/include/gmock/internal/
Dgmock-port.h70 #define GMOCK_FLAG(name) FLAGS_gmock_##name macro
75 #define GMOCK_DECLARE_bool_(name) extern GTEST_API_ bool GMOCK_FLAG(name)
77 extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
79 extern GTEST_API_ ::std::string GMOCK_FLAG(name)
83 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
85 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
87 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
/external/v8/testing/gmock/include/gmock/internal/
Dgmock-port.h70 #define GMOCK_FLAG(name) FLAGS_gmock_##name macro
75 #define GMOCK_DECLARE_bool_(name) extern GTEST_API_ bool GMOCK_FLAG(name)
77 extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
79 extern GTEST_API_ ::std::string GMOCK_FLAG(name)
83 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
85 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
87 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-port.h61 #define GMOCK_FLAG(name) FLAGS_gmock_##name macro
64 #define GMOCK_DECLARE_bool_(name) extern GTEST_API_ bool GMOCK_FLAG(name)
66 extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
68 extern GTEST_API_ ::testing::internal::String GMOCK_FLAG(name)
72 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
74 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
76 GTEST_API_ ::testing::internal::String GMOCK_FLAG(name) = (default_val)
/external/google-breakpad/src/testing/src/
Dgmock.cc139 &GMOCK_FLAG(catch_leaked_mocks)) || in InitGoogleMockImpl()
140 ParseGoogleMockStringFlag(arg, "verbose", &GMOCK_FLAG(verbose))) { in InitGoogleMockImpl()
Dgmock-internal-utils.cc111 if (GMOCK_FLAG(verbose) == kInfoVerbosity) { in LogIsVisible()
114 } else if (GMOCK_FLAG(verbose) == kErrorVerbosity) { in LogIsVisible()
/external/v8/testing/gmock/src/
Dgmock.cc140 &GMOCK_FLAG(catch_leaked_mocks)) || in InitGoogleMockImpl()
141 ParseGoogleMockStringFlag(arg, "verbose", &GMOCK_FLAG(verbose))) { in InitGoogleMockImpl()
Dgmock-internal-utils.cc111 if (GMOCK_FLAG(verbose) == kInfoVerbosity) { in LogIsVisible()
114 } else if (GMOCK_FLAG(verbose) == kErrorVerbosity) { in LogIsVisible()
/external/googletest/googlemock/src/
Dgmock.cc140 &GMOCK_FLAG(catch_leaked_mocks)) || in InitGoogleMockImpl()
141 ParseGoogleMockStringFlag(arg, "verbose", &GMOCK_FLAG(verbose))) { in InitGoogleMockImpl()
Dgmock-internal-utils.cc111 if (GMOCK_FLAG(verbose) == kInfoVerbosity) { in LogIsVisible()
114 } else if (GMOCK_FLAG(verbose) == kErrorVerbosity) { in LogIsVisible()
Dgmock-spec-builders.cc249 GMOCK_FLAG(verbose) == kInfoVerbosity ? 3 : -1; in ReportUninterestingCall()
553 if (!GMOCK_FLAG(catch_leaked_mocks)) in ~MockObjectRegistry()

12