Set IsReady() more systematically in unit tests
This CL sets IsReady() false at MockPendingScript construction and sets it true in ScriptRunnerTest::NotifyScriptReady(). This removes most of IsReady() EXPECT_CALL()s. Bug: 842349 Change-Id: I633f4fa17add8f149efc068b8b2a4573db2a6c53 Reviewed-on: https://chromium-review.googlesource.com/1041131 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#559423}
Showing
This diff is collapsed.
Please register or sign in to comment