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

Unified Diff: Source/web/tests/WebViewTest.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/WebViewTest.cpp
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
index 5819e60bb94178009a99062ed75be376ff8b67b6..b53158f726f3c2781f201d6e9f0952d8c6618aaa 100644
--- a/Source/web/tests/WebViewTest.cpp
+++ b/Source/web/tests/WebViewTest.cpp
@@ -49,6 +49,7 @@
#include "core/page/Page.h"
#include "core/paint/LayerPainter.h"
#include "core/testing/URLTestHelpers.h"
+#include "core/testing/UnitTestHelpers.h"
#include "platform/KeyboardCodes.h"
#include "platform/geometry/IntSize.h"
#include "platform/graphics/Color.h"
@@ -85,8 +86,8 @@
using namespace blink;
using blink::FrameTestHelpers::loadFrame;
-using blink::FrameTestHelpers::runPendingTasks;
using blink::URLTestHelpers::toKURL;
+using blink::testing::runPendingTasks;
namespace {
@@ -203,7 +204,7 @@ private:
};
-class WebViewTest : public testing::Test {
+class WebViewTest : public ::testing::Test {
public:
WebViewTest()
: m_baseURL("http://www.test.com/")
« Source/web/tests/WebFrameTest.cpp ('K') | « Source/web/tests/WebPluginContainerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698