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

Unified Diff: Source/web/tests/TouchActionTest.cpp

Issue 962053003: tests: Use runPendingTasks instead of WebThread::enterRunLoop()/exitRunLoop() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/tests/TouchActionTest.cpp
diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
index bf309a3219b71d7b0ff7f0154a1d9f83c63b8cbd..c7efed9ada54aa16712e77d7cdc6064148014a37 100644
--- a/Source/web/tests/TouchActionTest.cpp
+++ b/Source/web/tests/TouchActionTest.cpp
@@ -42,6 +42,7 @@
#include "core/layout/LayoutTreeAsText.h"
#include "core/page/EventHandler.h"
#include "core/testing/URLTestHelpers.h"
+#include "core/testing/UnitTestHelpers.h"
#include "public/platform/Platform.h"
#include "public/platform/WebUnitTestSupport.h"
#include "public/web/WebDocument.h"
@@ -58,7 +59,7 @@
#include <gtest/gtest.h>
using namespace blink;
-using blink::FrameTestHelpers::runPendingTasks;
+using blink::testing::runPendingTasks;
namespace {
@@ -101,7 +102,7 @@ private:
const int kfakeTouchId = 7;
-class TouchActionTest : public testing::Test {
+class TouchActionTest : public ::testing::Test {
public:
TouchActionTest()
: m_baseURL("http://www.test.com/")

Powered by Google App Engine
This is Rietveld 408576698