/external/webkit/Source/WebKit/chromium/tests/ |
H A D | CCThreadTaskTest.cpp | 37 class Mock { class in namespace:__anon15371 48 Mock mock; 55 createCCThreadTask(&mock, &Mock::method0)->performTask(); 56 createCCThreadTask(&mock, &Mock::method1, 9)->performTask(); 57 createCCThreadTask(&mock, &Mock::method2, 9, 8)->performTask(); 58 createCCThreadTask(&mock, &Mock::method3, 9, 8, 7)->performTask(); 59 createCCThreadTask(&mock, &Mock::method4, 9, 8, 7, 6)->performTask();
|
/external/webkit/Tools/Scripts/webkitpy/common/net/irc/ |
H A D | ircproxy_unittest.py | 33 from webkitpy.thirdparty.mock import Mock namespace 38 proxy = IRCProxy(Mock(), Mock())
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
H A D | test_runner_unittest.py | 36 from webkitpy.thirdparty.mock import Mock namespace 50 port = Mock() 52 runner = TestRunnerWrapper(port=port, options=Mock(), 53 printer=Mock())
|
/external/chromium/chrome/browser/chromeos/login/ |
H A D | enterprise_enrollment_screen_browsertest.cc | 14 using testing::Mock; 40 Mock::VerifyAndClearExpectations(&mock_screen_observer);
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
H A D | rebaseline_unittest.py | 32 from webkitpy.thirdparty.mock import Mock namespace 42 build = Mock()
|
H A D | roll_unittest.py | 29 from webkitpy.thirdparty.mock import Mock namespace
|
H A D | queues_unittest.py | 38 from webkitpy.thirdparty.mock import Mock namespace 66 tool.executive = Mock() 68 queue._options = Mock() 85 queue._options = Mock() 94 queue._options = Mock() 140 "handle_unexpected_error": "Mock error message\n", 150 queue._options = Mock() 222 "handle_unexpected_error": "MOCK setting flag 'commit-queue' to '-' on attachment '197' with comment 'Rejecting attachment 197 from commit-queue.' and additional comment 'Mock error message'\n", 239 "handle_unexpected_error": "MOCK setting flag 'commit-queue' to '-' on attachment '197' with comment 'Rejecting attachment 197 from commit-queue.' and additional comment 'Mock error message'\n", 277 "handle_unexpected_error": "MOCK setting flag 'commit-queue' to '-' on attachment '197' with comment 'Rejecting attachment 197 from commit-queue.' and additional comment 'Mock erro [all...] |
/external/chromium/chrome/browser/prefs/ |
H A D | scoped_user_pref_update_unittest.cc | 13 using testing::Mock; 53 Mock::VerifyAndClearExpectations(&observer_); 63 Mock::VerifyAndClearExpectations(&observer_); 78 Mock::VerifyAndClearExpectations(&observer_);
|
H A D | pref_change_registrar_unittest.cc | 14 using testing::Mock; 66 Mock::VerifyAndClearExpectations(service()); 77 Mock::VerifyAndClearExpectations(service()); 88 Mock::VerifyAndClearExpectations(service()); 106 Mock::VerifyAndClearExpectations(service()); 117 Mock::VerifyAndClearExpectations(service());
|
H A D | overlay_persistent_pref_store_unittest.cc | 12 using ::testing::Mock; 35 Mock::VerifyAndClearExpectations(&obs); 40 Mock::VerifyAndClearExpectations(&obs); 45 Mock::VerifyAndClearExpectations(&obs); 50 Mock::VerifyAndClearExpectations(&obs); 55 Mock::VerifyAndClearExpectations(&obs); 60 Mock::VerifyAndClearExpectations(&obs); 65 Mock::VerifyAndClearExpectations(&obs); 73 Mock::VerifyAndClearExpectations(&obs);
|
H A D | pref_notifier_impl_unittest.cc | 19 using testing::Mock; 166 Mock::VerifyAndClearExpectations(&obs1_); 167 Mock::VerifyAndClearExpectations(&obs2_); 175 Mock::VerifyAndClearExpectations(&obs1_); 176 Mock::VerifyAndClearExpectations(&obs2_); 184 Mock::VerifyAndClearExpectations(&obs1_); 185 Mock::VerifyAndClearExpectations(&obs2_); 193 Mock::VerifyAndClearExpectations(&obs1_); 194 Mock::VerifyAndClearExpectations(&obs2_);
|
H A D | pref_set_observer_unittest.cc | 64 using testing::Mock; 75 Mock::VerifyAndClearExpectations(&observer); 83 Mock::VerifyAndClearExpectations(&observer); 88 Mock::VerifyAndClearExpectations(&observer);
|
H A D | pref_service_unittest.cc | 29 using testing::Mock; 72 Mock::VerifyAndClearExpectations(&obs); 78 Mock::VerifyAndClearExpectations(&obs); 84 Mock::VerifyAndClearExpectations(&obs); 89 Mock::VerifyAndClearExpectations(&obs); 127 Mock::VerifyAndClearExpectations(&obs); 138 Mock::VerifyAndClearExpectations(&obs); 139 Mock::VerifyAndClearExpectations(&obs2); 147 Mock::VerifyAndClearExpectations(&obs); 148 Mock [all...] |
H A D | pref_value_store_unittest.cc | 22 using testing::Mock; 370 Mock::VerifyAndClearExpectations(&pref_notifier_); 387 Mock::VerifyAndClearExpectations(&pref_notifier_); 392 Mock::VerifyAndClearExpectations(&pref_notifier_); 396 Mock::VerifyAndClearExpectations(&pref_notifier_); 400 Mock::VerifyAndClearExpectations(&pref_notifier_); 404 Mock::VerifyAndClearExpectations(&pref_notifier_); 408 Mock::VerifyAndClearExpectations(&pref_notifier_); 417 Mock::VerifyAndClearExpectations(&pref_notifier_); 422 Mock [all...] |
/external/littlemock/src/com/google/testing/littlemock/ |
H A D | Mock.java | 29 * @Mock private MyInterface mMockMyInterface; 40 public @interface Mock { interface
|
/external/chromium/testing/gmock/test/ |
H A D | gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 104 // This test requires identical definitions of Interface and Mock to be 109 // definitions of Interface and Mock tests MUST be kept in the SAME 205 class Mock: public Interface { class in inherits:Interface 207 Mock() {} function in class:Mock 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; 251 Mock mock; 260 Mock mock; 268 Mock moc [all...] |
H A D | gmock-nice-strict_test.cc | 40 // clash with ::testing::Mock. 41 class Mock { class 43 Mock() {} function in class:Mock 48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 194 // Tests that NiceMock<Mock> compiles where Mock is a user-defined 195 // class (as opposed to ::testing::Mock). We had to workaround an 196 // MSVC 8.0 bug that caused the symbol Mock used in the definition of 203 NiceMock< ::Mock> nice; 268 // Tests that StrictMock<Mock> compile [all...] |
/external/chromium/testing/gmock/include/gmock/ |
H A D | gmock-generated-nice-strict.h | 36 // Given a mock class MockFoo that is created using Google Mock, 73 ::testing::Mock::AllowUninterestingCalls( 81 ::testing::Mock::AllowUninterestingCalls( 86 ::testing::Mock::AllowUninterestingCalls( 92 ::testing::Mock::AllowUninterestingCalls( 99 ::testing::Mock::AllowUninterestingCalls( 106 ::testing::Mock::AllowUninterestingCalls( 114 ::testing::Mock::AllowUninterestingCalls( 123 ::testing::Mock::AllowUninterestingCalls( 132 ::testing::Mock [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/bot/ |
H A D | sheriff_unittest.py | 34 from webkitpy.thirdparty.mock import Mock namespace 57 commit_info = Mock()
|
/external/chromium/testing/gmock/src/ |
H A D | gmock-spec-builders.cc | 32 // Google Mock - a framework for writing C++ mock classes. 54 // Protects the mock object registry (in class Mock), all function 275 Mock::Register(mock_obj, this); 335 // We must get Google Mock's reaction on uninteresting calls 340 Mock::GetReactionOnUninterestingCalls(MockObject()); 489 // Class Mock. 514 // Mock::AllowLeak(), ON_CALL(), or EXPECT_CALL() is called on it. It 575 // Maps a mock object to the reaction Google Mock should have when an 579 // Sets the reaction Google Mock should have when an uninteresting 590 // Tells Google Mock t [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
H A D | api_unittest.py | 42 from webkitpy.thirdparty.mock import Mock namespace 128 scm = Mock() 147 scm = Mock() 164 scm = Mock() 181 scm = Mock() 188 scm = Mock() 194 scm = Mock() 212 scm = Mock()
|
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
H A D | validatechangelogs_unittest.py | 32 from webkitpy.thirdparty.mock import Mock namespace 43 diff_file = Mock()
|
/external/chromium/chrome/browser/policy/ |
H A D | device_token_fetcher_unittest.cc | 28 using testing::Mock; 84 Mock::VerifyAndClearExpectations(&observer); 96 Mock::VerifyAndClearExpectations(&observer); 117 Mock::VerifyAndClearExpectations(&observer); 135 Mock::VerifyAndClearExpectations(&observer);
|
/external/webkit/Tools/Scripts/webkitpy/common/net/ |
H A D | credentials_unittest.py | 37 from webkitpy.thirdparty.mock import Mock namespace 106 executive_mock = Mock() 122 executive_mock = Mock()
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | client_side_detection_host_unittest.cc | 31 using ::testing::Mock; 202 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get())); 203 EXPECT_TRUE(Mock::VerifyAndClear(sb_service_.get())); 204 EXPECT_TRUE(Mock::VerifyAndClear(mock_profile_)); 224 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get())); 240 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get())); 255 EXPECT_TRUE(Mock::VerifyAndClear(sb_service_.get())); 271 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get())); 281 EXPECT_TRUE(Mock::VerifyAndClear(sb_service_.get())); 301 EXPECT_TRUE(Mock [all...] |