| Index: ash/common/shelf/shelf_window_watcher_unittest.cc
|
| diff --git a/ash/common/shelf/shelf_window_watcher_unittest.cc b/ash/common/shelf/shelf_window_watcher_unittest.cc
|
| index d50c8579f96a42def55dbe4ad06f240d2a28744e..9634e82152679f37e785565275dc99f2746d3788 100644
|
| --- a/ash/common/shelf/shelf_window_watcher_unittest.cc
|
| +++ b/ash/common/shelf/shelf_window_watcher_unittest.cc
|
| @@ -72,6 +72,10 @@ TEST_F(ShelfWindowWatcherTest, OpenAndClose) {
|
| }
|
|
|
| TEST_F(ShelfWindowWatcherTest, CreateAndRemoveShelfItemProperties) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only has an APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
|
|
| @@ -109,6 +113,10 @@ TEST_F(ShelfWindowWatcherTest, CreateAndRemoveShelfItemProperties) {
|
| }
|
|
|
| TEST_F(ShelfWindowWatcherTest, ActivateWindow) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only have APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
| std::unique_ptr<views::Widget> widget1 =
|
| @@ -143,6 +151,10 @@ TEST_F(ShelfWindowWatcherTest, ActivateWindow) {
|
| }
|
|
|
| TEST_F(ShelfWindowWatcherTest, UpdateWindowProperty) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only has an APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
|
|
| @@ -167,6 +179,10 @@ TEST_F(ShelfWindowWatcherTest, UpdateWindowProperty) {
|
| }
|
|
|
| TEST_F(ShelfWindowWatcherTest, MaximizeAndRestoreWindow) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only has an APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
|
|
| @@ -204,6 +220,10 @@ TEST_F(ShelfWindowWatcherTest, MaximizeAndRestoreWindow) {
|
|
|
| // Check that an item is maintained when its associated Window is docked.
|
| TEST_F(ShelfWindowWatcherTest, DockWindow) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only has an APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
|
|
| @@ -240,6 +260,10 @@ TEST_F(ShelfWindowWatcherTest, DockWindow) {
|
| // Check |window|'s item is not changed during the dragging.
|
| // TODO(simonhong): Add a test for removing a Window during the dragging.
|
| TEST_F(ShelfWindowWatcherTest, DragWindow) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only has an APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
|
|
| @@ -268,6 +292,10 @@ TEST_F(ShelfWindowWatcherTest, DragWindow) {
|
|
|
| // Ensure shelf items are added and removed as panels are opened and closed.
|
| TEST_F(ShelfWindowWatcherTest, PanelWindow) {
|
| + // TODO: investigate failure in mash. http://crbug.com/695562.
|
| + if (WmShell::Get()->IsRunningInMash())
|
| + return;
|
| +
|
| // ShelfModel only has an APP_LIST item.
|
| EXPECT_EQ(1, model_->item_count());
|
|
|
|
|