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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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
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 "base/message_loop/message_loop.h"
5 #include "base/run_loop.h" 6 #include "base/run_loop.h"
6 #include "base/test/scoped_task_environment.h" 7 #include "base/test/scoped_task_environment.h"
7 #include "build/build_config.h" 8 #include "build/build_config.h"
8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
9 #include "ui/gfx/animation/animation_delegate.h" 10 #include "ui/gfx/animation/animation_delegate.h"
10 #include "ui/gfx/animation/linear_animation.h" 11 #include "ui/gfx/animation/linear_animation.h"
11 #include "ui/gfx/animation/test_animation_delegate.h" 12 #include "ui/gfx/animation/test_animation_delegate.h"
12 13
13 #if defined(OS_WIN) 14 #if defined(OS_WIN)
14 #include "base/test/scoped_task_environment.h" 15 #include "base/test/scoped_task_environment.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 EXPECT_EQ(0.0, animation.GetCurrentValue()); 158 EXPECT_EQ(0.0, animation.GetCurrentValue());
158 animation.Start(); 159 animation.Start();
159 EXPECT_EQ(0.0, animation.GetCurrentValue()); 160 EXPECT_EQ(0.0, animation.GetCurrentValue());
160 animation.End(); 161 animation.End();
161 EXPECT_EQ(1.0, animation.GetCurrentValue()); 162 EXPECT_EQ(1.0, animation.GetCurrentValue());
162 animation.Start(); 163 animation.Start();
163 EXPECT_EQ(0.0, animation.GetCurrentValue()); 164 EXPECT_EQ(0.0, animation.GetCurrentValue());
164 } 165 }
165 166
166 } // namespace gfx 167 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698