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

Side by Side Diff: ui/gfx/animation/animation_unittest.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/animation/animation_container_unittest.cc ('k') | ui/gfx/animation/linear_animation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h"
5 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
6 #include "ui/gfx/animation/animation_delegate.h" 7 #include "ui/gfx/animation/animation_delegate.h"
7 #include "ui/gfx/animation/linear_animation.h" 8 #include "ui/gfx/animation/linear_animation.h"
8 #include "ui/gfx/animation/test_animation_delegate.h" 9 #include "ui/gfx/animation/test_animation_delegate.h"
9 10
10 #if defined(OS_WIN) 11 #if defined(OS_WIN)
11 #include "base/win/windows_version.h" 12 #include "base/win/windows_version.h"
12 #endif 13 #endif
13 14
14 namespace gfx { 15 namespace gfx {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 EXPECT_EQ(0.0, animation.GetCurrentValue()); 150 EXPECT_EQ(0.0, animation.GetCurrentValue());
150 animation.Start(); 151 animation.Start();
151 EXPECT_EQ(0.0, animation.GetCurrentValue()); 152 EXPECT_EQ(0.0, animation.GetCurrentValue());
152 animation.End(); 153 animation.End();
153 EXPECT_EQ(1.0, animation.GetCurrentValue()); 154 EXPECT_EQ(1.0, animation.GetCurrentValue());
154 animation.Start(); 155 animation.Start();
155 EXPECT_EQ(0.0, animation.GetCurrentValue()); 156 EXPECT_EQ(0.0, animation.GetCurrentValue());
156 } 157 }
157 158
158 } // namespace gfx 159 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/animation/animation_container_unittest.cc ('k') | ui/gfx/animation/linear_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698