Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2034)

Unified Diff: ash/launcher/launcher_view_unittest.cc

Issue 10827420: Revert 152221 - chromeos: Sync animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/launcher/launcher_view.cc ('k') | chrome/browser/extensions/pending_extension_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view_unittest.cc
===================================================================
--- ash/launcher/launcher_view_unittest.cc (revision 152351)
+++ ash/launcher/launcher_view_unittest.cc (working copy)
@@ -536,6 +536,9 @@
item.status = ash::STATUS_ATTENTION;
model_->Set(index, item);
ASSERT_EQ(internal::LauncherButton::STATE_ATTENTION, button->state());
+ item.status = ash::STATUS_IS_PENDING;
+ model_->Set(index, item);
+ ASSERT_EQ(internal::LauncherButton::STATE_PENDING, button->state());
}
// Confirm that item status changes are reflected in the buttons
@@ -556,6 +559,9 @@
item.status = ash::STATUS_ATTENTION;
model_->Set(index, item);
ASSERT_EQ(internal::LauncherButton::STATE_ATTENTION, button->state());
+ item.status = ash::STATUS_IS_PENDING;
+ model_->Set(index, item);
+ ASSERT_EQ(internal::LauncherButton::STATE_PENDING, button->state());
}
TEST_F(LauncherViewTest, LauncherTooltipTest) {
Property changes on: ash/launcher/launcher_view_unittest.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « ash/launcher/launcher_view.cc ('k') | chrome/browser/extensions/pending_extension_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698