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

Unified Diff: Source/core/workers/WorkerThreadTest.cpp

Issue 1325193002: Fix didEvaluateWorkerScript expectation in WorkerThreadTest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerThreadTest.cpp
diff --git a/Source/core/workers/WorkerThreadTest.cpp b/Source/core/workers/WorkerThreadTest.cpp
index 14549166e531cd3b6f08bab8c897ef3212979b5f..b11a0988406a2a13e6e4d4d9090299615ba82120 100644
--- a/Source/core/workers/WorkerThreadTest.cpp
+++ b/Source/core/workers/WorkerThreadTest.cpp
@@ -23,6 +23,7 @@ using testing::Mock;
namespace blink {
namespace {
+
class MockWorkerLoaderProxyProvider : public WorkerLoaderProxyProvider {
public:
MockWorkerLoaderProxyProvider() { }
@@ -254,7 +255,7 @@ TEST_F(WorkerThreadTest, StartAndStopImmediately)
{
EXPECT_CALL(*m_mockWorkerReportingProxy, workerGlobalScopeStarted(_))
.Times(AtMost(1));
- EXPECT_CALL(*m_mockWorkerReportingProxy, didEvaluateWorkerScript(true))
+ EXPECT_CALL(*m_mockWorkerReportingProxy, didEvaluateWorkerScript(_))
.Times(AtMost(1));
EXPECT_CALL(*m_mockWorkerReportingProxy, workerThreadTerminated())
.Times(AtMost(1));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698