Fix leaks in tests introduced in http://crrev.com/149846.

TBR=jyasskin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10827158

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149863 0039d316-1c4b-4281-b951-d872f2087c98
parent 728032f4
......@@ -137,6 +137,8 @@ TEST_F(ExtensionActionTest, Visibility) {
ASSERT_FALSE(action.GetIsVisible(1));
ASSERT_FALSE(action.GetIsVisible(100));
EXPECT_FALSE(action.GetIconAnimation(100));
message_loop.RunAllPending();
}
TEST_F(ExtensionActionTest, GetAttention) {
......@@ -156,6 +158,8 @@ TEST_F(ExtensionActionTest, GetAttention) {
action.SetAppearance(1, ExtensionAction::ACTIVE);
EXPECT_FALSE(action.GetIconAnimation(1))
<< "The animation should not play again if the icon was already visible.";
message_loop.RunAllPending();
}
TEST_F(ExtensionActionTest, Badge) {
......
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