Home
last modified time | relevance | path

Searched refs:handler2 (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/ash/host/
Dash_window_tree_host_x11_unittest.cc155 scoped_ptr<RootWindowEventHandler> handler2( in TEST_F() local
165 EXPECT_EQ(ui::ET_UNKNOWN, handler2->last_touch_type()); in TEST_F()
166 EXPECT_EQ(-1, handler2->last_touch_id()); in TEST_F()
179 EXPECT_EQ(ui::ET_TOUCH_PRESSED, handler2->last_touch_type()); in TEST_F()
180 EXPECT_EQ(0, handler2->last_touch_id()); in TEST_F()
181 EXPECT_EQ(gfx::Point(1500, 2500), handler2->last_touch_location()); in TEST_F()
192 EXPECT_EQ(ui::ET_TOUCH_PRESSED, handler2->last_touch_type()); in TEST_F()
193 EXPECT_EQ(1, handler2->last_touch_id()); in TEST_F()
194 EXPECT_EQ(gfx::Point(1600, 2600), handler2->last_touch_location()); in TEST_F()
205 EXPECT_EQ(ui::ET_TOUCH_MOVED, handler2->last_touch_type()); in TEST_F()
[all …]
/external/chromium_org/components/invalidation/
Dinvalidator_test_template.h200 FakeInvalidationHandler handler2; in TYPED_TEST_P() local
205 invalidator->RegisterHandler(&handler2); in TYPED_TEST_P()
219 invalidator->UpdateRegisteredIds(&handler2, ids); in TYPED_TEST_P()
234 EXPECT_EQ(INVALIDATIONS_ENABLED, handler2.GetInvalidatorState()); in TYPED_TEST_P()
257 EXPECT_EQ(1, handler2.GetInvalidationCount()); in TYPED_TEST_P()
258 EXPECT_THAT(expected_invalidations, Eq(handler2.GetLastInvalidationMap())); in TYPED_TEST_P()
266 EXPECT_EQ(TRANSIENT_INVALIDATION_ERROR, handler2.GetInvalidatorState()); in TYPED_TEST_P()
271 invalidator->UnregisterHandler(&handler2); in TYPED_TEST_P()
283 FakeInvalidationHandler handler2; in TYPED_TEST_P() local
286 invalidator->RegisterHandler(&handler2); in TYPED_TEST_P()
[all …]
Dinvalidation_service_test_template.h191 syncer::FakeInvalidationHandler handler2; in TYPED_TEST_P() local
196 invalidator->RegisterInvalidationHandler(&handler2); in TYPED_TEST_P()
210 invalidator->UpdateRegisteredInvalidationIds(&handler2, ids); in TYPED_TEST_P()
226 EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler2.GetInvalidatorState()); in TYPED_TEST_P()
252 EXPECT_EQ(1, handler2.GetInvalidationCount()); in TYPED_TEST_P()
253 EXPECT_THAT(expected_invalidations, Eq(handler2.GetLastInvalidationMap())); in TYPED_TEST_P()
264 handler2.GetInvalidatorState()); in TYPED_TEST_P()
271 invalidator->UnregisterInvalidationHandler(&handler2); in TYPED_TEST_P()
284 syncer::FakeInvalidationHandler handler2; in TYPED_TEST_P() local
287 invalidator->RegisterInvalidationHandler(&handler2); in TYPED_TEST_P()
[all …]
Dinvalidator_registrar_unittest.cc145 FakeInvalidationHandler handler2; in TEST_F() local
146 registrar.RegisterHandler(&handler2); in TEST_F()
154 EXPECT_DEATH({ registrar.UpdateRegisteredIds(&handler2, ids); }, ""); in TEST_F()
156 registrar.UnregisterHandler(&handler2); in TEST_F()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
Derror_handlers_unittest.py86 handler2 = self._error_handler(configuration=None)
88 self.assertTrue(handler1.__eq__(handler2))
117 handler2 = self._error_handler(configuration=None)
119 self.assertFalse(handler1.__ne__(handler2))
/external/valgrind/main/none/tests/x86-linux/
Dsigcontext.c27 static void handler2(int sig, struct sigcontext sc) in handler2() function
55 sa.sa_handler = (void*)handler2; in main()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DHandlerTest.java52 Handler handler2 = new Handler(looper); in testInsertsRunnablesBasedOnLooper() local
53 handler2.post(new Say("second thing")); in testInsertsRunnablesBasedOnLooper()
65 Handler handler2 = new Handler(Looper.myLooper()); in testDefaultConstructorUsesDefaultLooper() local
66 handler2.post(new Say("second thing")); in testDefaultConstructorUsesDefaultLooper()
84 Handler handler2 = new Handler(looper2); in testDifferentLoopersGetDifferentQueues() local
85 handler2.post(new Say("second thing")); in testDifferentLoopersGetDifferentQueues()
/external/chromium_org/v8/test/mjsunit/harmony/
Dproxies-json.js67 var handler2 = { variable
80 var proxy2 = Proxy.create(handler2);
/external/chromium_org/content/renderer/media/
Dmedia_stream_dispatcher_unittest.cc222 handler2(new MockMediaStreamDispatcherEventHandler); in TEST_F() local
234 kRequestId2, handler2.get()->AsWeakPtr(), in TEST_F()
255 EXPECT_EQ(handler2->request_id_, kRequestId2); in TEST_F()
/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc349 SyncEncryptionHandlerImpl handler2(user_share(), in TEST_F() local
353 handler2.AddObserver(&observer2); in TEST_F()
365 handler2.UpdateEncryptedTypesFromNigori(nigori, trans.GetWrappedTrans()); in TEST_F()
370 handler2.GetEncryptedTypesUnsafe())); in TEST_F()
394 handler2.UpdateEncryptedTypesFromNigori(nigori, trans.GetWrappedTrans()); in TEST_F()
398 EXPECT_TRUE(encrypted_types.Equals(handler2.GetEncryptedTypesUnsafe())); in TEST_F()
407 handler2.UpdateEncryptedTypesFromNigori(nigori, trans.GetWrappedTrans()); in TEST_F()
681 SyncEncryptionHandlerImpl handler2(user_share(), in TEST_F() local
688 EXPECT_FALSE(handler2.NeedKeystoreKey(trans.GetWrappedTrans())); in TEST_F()
/external/chromium_org/base/message_loop/
Dmessage_loop_unittest.cc599 TestIOHandler handler2(kPipeName2, callback2_called, true); in RunTest_WaitForIO() local
607 Unretained(&handler2))); in RunTest_WaitForIO()
/external/chromium_org/chrome/browser/ui/login/
Dlogin_prompt_browsertest.cc453 LoginHandler* handler2 = *(++(observer.handlers_.begin())); in IN_PROC_BROWSER_TEST_F() local
464 handler2->SetAuth(base::UTF8ToUTF16(username_digest_), in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/favicon/
Dfavicon_handler_unittest.cc1089 TestFaviconHandler handler2( in TEST_F() local
1095 DownloadTillDoneIgnoringHistory(&handler2, kPageURL, urls2, kSizes2); in TEST_F()