Commit a5c58ab8 authored by zork@chromium.org's avatar zork@chromium.org

Remove deprecated test: ShelfWidgetTest::ActivateAsFallback

BUG=285364

Review URL: https://codereview.chromium.org/133273017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245348 0039d316-1c4b-4281-b951-d872f2087c98
parent 84034a92
...@@ -39,22 +39,6 @@ internal::ShelfLayoutManager* GetShelfLayoutManager() { ...@@ -39,22 +39,6 @@ internal::ShelfLayoutManager* GetShelfLayoutManager() {
typedef test::AshTestBase ShelfWidgetTest; typedef test::AshTestBase ShelfWidgetTest;
// Shelf can't be activated on mouse click, but it is activable from
// the focus cycler or as fallback.
// TODO(mtomasz): make this test work with the FocusController.
// crbug.com/285364.
TEST_F(ShelfWidgetTest, DISABLED_ActivateAsFallback) {
Shelf* shelf = Shelf::ForPrimaryDisplay();
ShelfWidget* shelf_widget = shelf->shelf_widget();
EXPECT_FALSE(shelf_widget->CanActivate());
shelf_widget->WillActivateAsFallback();
EXPECT_TRUE(shelf_widget->CanActivate());
wm::ActivateWindow(shelf_widget->GetNativeWindow());
EXPECT_FALSE(shelf_widget->CanActivate());
}
void TestLauncherAlignment(aura::Window* root, void TestLauncherAlignment(aura::Window* root,
ShelfAlignment alignment, ShelfAlignment alignment,
const std::string& expected) { const std::string& expected) {
......
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