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

Unified Diff: ui/base/animation/animation_unittest.cc

Issue 10823387: Revert 152059 - Gradient overlay for constrained window (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 | « content/renderer/render_view_impl.cc ('k') | ui/base/animation/linear_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/animation_unittest.cc
===================================================================
--- ui/base/animation/animation_unittest.cc (revision 152061)
+++ ui/base/animation/animation_unittest.cc (working copy)
@@ -143,16 +143,4 @@
#endif
}
-// Test that current value is always 0 after Start() is called.
-TEST_F(AnimationTest, StartState) {
- LinearAnimation animation(100, 60, NULL);
- EXPECT_EQ(0.0, animation.GetCurrentValue());
- animation.Start();
- EXPECT_EQ(0.0, animation.GetCurrentValue());
- animation.End();
- EXPECT_EQ(1.0, animation.GetCurrentValue());
- animation.Start();
- EXPECT_EQ(0.0, animation.GetCurrentValue());
-}
-
} // namespace ui
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ui/base/animation/linear_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698