| Index: ash/system/tray/system_tray_unittest.cc
|
| diff --git a/ash/system/tray/system_tray_unittest.cc b/ash/system/tray/system_tray_unittest.cc
|
| index 74da62510a4c730e02a6306f98d2f3f4315cc36f..9b62f275283f971af7cf227a5a35c98d7313209e 100644
|
| --- a/ash/system/tray/system_tray_unittest.cc
|
| +++ b/ash/system/tray/system_tray_unittest.cc
|
| @@ -232,12 +232,12 @@ TEST_F(SystemTrayTest, SystemTrayNotifications) {
|
| tray->ShowNotificationView(test_item);
|
| ASSERT_TRUE(test_item->notification_view() != NULL);
|
|
|
| - // Show the default view, ensure the notification view is destroyed.
|
| + // Show the default view, notification view should remain.
|
| tray->ShowDefaultView(BUBBLE_CREATE_NEW);
|
| RunAllPendingInMessageLoop();
|
| - ASSERT_TRUE(test_item->notification_view() == NULL);
|
| + ASSERT_TRUE(test_item->notification_view() != NULL);
|
|
|
| - // Show the detailed view, ensure the notificaiton view is created again.
|
| + // Show the detailed view, ensure the notificaiton view remains.
|
| tray->ShowDetailedView(detailed_item, 0, false, BUBBLE_CREATE_NEW);
|
| RunAllPendingInMessageLoop();
|
| ASSERT_TRUE(detailed_item->detailed_view() != NULL);
|
|
|