| Index: trunk/src/athena/home/home_card_unittest.cc
|
| ===================================================================
|
| --- trunk/src/athena/home/home_card_unittest.cc (revision 285397)
|
| +++ trunk/src/athena/home/home_card_unittest.cc (working copy)
|
| @@ -57,6 +57,10 @@
|
| athena::ActivityFactory::Get()->CreateWebActivity(
|
| NULL, GURL("http://www.google.com/")));
|
| EXPECT_EQ(HomeCard::VISIBLE_MINIMIZED, HomeCard::Get()->GetState());
|
| +
|
| + // Overview mode has to finish before ending test, otherwise it crashes.
|
| + // TODO(mukai): fix this.
|
| + WindowManager::GetInstance()->ToggleOverview();
|
| }
|
|
|
| TEST_F(HomeCardTest, Accelerators) {
|
| @@ -80,6 +84,10 @@
|
| EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState());
|
| generator.PressKey(ui::VKEY_L, ui::EF_CONTROL_DOWN);
|
| EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState());
|
| +
|
| + // Overview mode has to finish before ending test, otherwise it crashes.
|
| + // TODO(mukai): fix this.
|
| + WindowManager::GetInstance()->ToggleOverview();
|
| }
|
|
|
| } // namespace athena
|
|
|