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

Unified Diff: Source/web/tests/WebPageNewSerializerTest.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/WebPageNewSerializerTest.cpp
diff --git a/Source/web/tests/WebPageNewSerializerTest.cpp b/Source/web/tests/WebPageNewSerializerTest.cpp
index 2e2cb38cb4c347650180afd54e6169db56c857d0..b8b3e5b32981863ebf3bf881472549ec5826d002 100644
--- a/Source/web/tests/WebPageNewSerializerTest.cpp
+++ b/Source/web/tests/WebPageNewSerializerTest.cpp
@@ -30,6 +30,7 @@
#include "config.h"
#include "core/testing/URLTestHelpers.h"
+#include "core/testing/UnitTestHelpers.h"
#include "public/platform/Platform.h"
#include "public/platform/WebString.h"
#include "public/platform/WebThread.h"
@@ -49,9 +50,9 @@
namespace {
-using blink::FrameTestHelpers::runPendingTasks;
using blink::URLTestHelpers::toKURL;
using blink::URLTestHelpers::registerMockedURLLoad;
+using blink::testing::runPendingTasks;
using namespace blink;
class LineReader {
@@ -114,7 +115,7 @@ private:
WebString* m_serializationData;
};
-class WebPageNewSerializeTest : public testing::Test {
+class WebPageNewSerializeTest : public ::testing::Test {
public:
WebPageNewSerializeTest()
: m_baseURL("http://internal.test/")

Powered by Google App Engine
This is Rietveld 408576698