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

Side by Side Diff: sky/engine/core/animation/AnimationStackTest.cpp

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "sky/engine/config.h"
6 #include "sky/engine/core/animation/AnimationStack.h" 5 #include "sky/engine/core/animation/AnimationStack.h"
7 6
8 #include <gtest/gtest.h> 7 #include <gtest/gtest.h>
9 #include "sky/engine/core/animation/ActiveAnimations.h" 8 #include "sky/engine/core/animation/ActiveAnimations.h"
10 #include "sky/engine/core/animation/AnimationClock.h" 9 #include "sky/engine/core/animation/AnimationClock.h"
11 #include "sky/engine/core/animation/AnimationTimeline.h" 10 #include "sky/engine/core/animation/AnimationTimeline.h"
12 #include "sky/engine/core/animation/KeyframeEffectModel.h" 11 #include "sky/engine/core/animation/KeyframeEffectModel.h"
13 #include "sky/engine/core/animation/LegacyStyleInterpolation.h" 12 #include "sky/engine/core/animation/LegacyStyleInterpolation.h"
14 #include "sky/engine/core/animation/animatable/AnimatableDouble.h" 13 #include "sky/engine/core/animation/animatable/AnimatableDouble.h"
15 14
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 EXPECT_TRUE(interpolationValue(interpolations.get(CSSPropertyFontSize))->equ als(AnimatableDouble::create(3).get())); 140 EXPECT_TRUE(interpolationValue(interpolations.get(CSSPropertyFontSize))->equ als(AnimatableDouble::create(3).get()));
142 EXPECT_EQ(2u, effects().size()); 141 EXPECT_EQ(2u, effects().size());
143 142
144 updateTimeline(17); 143 updateTimeline(17);
145 interpolations = AnimationStack::activeInterpolations(&element->activeAnimat ions()->defaultStack(), 0, 0, Animation::DefaultPriority, 0); 144 interpolations = AnimationStack::activeInterpolations(&element->activeAnimat ions()->defaultStack(), 0, 0, Animation::DefaultPriority, 0);
146 EXPECT_TRUE(interpolationValue(interpolations.get(CSSPropertyFontSize))->equ als(AnimatableDouble::create(3).get())); 145 EXPECT_TRUE(interpolationValue(interpolations.get(CSSPropertyFontSize))->equ als(AnimatableDouble::create(3).get()));
147 EXPECT_EQ(1u, effects().size()); 146 EXPECT_EQ(1u, effects().size());
148 } 147 }
149 148
150 } 149 }
OLDNEW
« no previous file with comments | « sky/engine/core/animation/AnimationStack.cpp ('k') | sky/engine/core/animation/AnimationTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698