Commit bbbbe120 authored by Hiroshige Hayashizaki's avatar Hiroshige Hayashizaki Committed by Commit Bot

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: default avatarKouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559423}
parent 7e512a53
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment