Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: Source/web/tests/TouchActionTest.cpp

Issue 725653004: Fix the failing TouchAction unit test and re-enable the test suite Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/web/tests/data/touch-action-simple.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 webTouchEvent.touches[0].position.x = clientPoint.x(); 321 webTouchEvent.touches[0].position.x = clientPoint.x();
322 webTouchEvent.touches[0].position.y = clientPoint.y(); 322 webTouchEvent.touches[0].position.y = clientPoint.y();
323 webTouchEvent.touches[0].radiusX = 10; 323 webTouchEvent.touches[0].radiusX = 10;
324 webTouchEvent.touches[0].radiusY = 10; 324 webTouchEvent.touches[0].radiusY = 10;
325 325
326 webView->handleInputEvent(webTouchEvent); 326 webView->handleInputEvent(webTouchEvent);
327 runPendingTasks(); 327 runPendingTasks();
328 } 328 }
329 329
330 // crbug.com/411038 330 // crbug.com/411038
331 TEST_F(TouchActionTest, DISABLED_Simple) 331 TEST_F(TouchActionTest, Simple)
332 { 332 {
333 runTouchActionTest("touch-action-simple.html"); 333 runTouchActionTest("touch-action-simple.html");
334 } 334 }
335 335
336 TEST_F(TouchActionTest, Overflow) 336 TEST_F(TouchActionTest, Overflow)
337 { 337 {
338 runTouchActionTest("touch-action-overflow.html"); 338 runTouchActionTest("touch-action-overflow.html");
339 } 339 }
340 340
341 TEST_F(TouchActionTest, ShadowDOM) 341 TEST_F(TouchActionTest, ShadowDOM)
342 { 342 {
343 runShadowDOMTest("touch-action-shadow-dom.html"); 343 runShadowDOMTest("touch-action-shadow-dom.html");
344 } 344 }
345 345
346 TEST_F(TouchActionTest, Pan) 346 TEST_F(TouchActionTest, Pan)
347 { 347 {
348 runTouchActionTest("touch-action-pan.html"); 348 runTouchActionTest("touch-action-pan.html");
349 } 349 }
350 350
351 } 351 }
OLDNEW
« no previous file with comments | « no previous file | Source/web/tests/data/touch-action-simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698