| Index: Source/core/animation/AnimatableDoubleTest.cpp
|
| diff --git a/Source/core/animation/AnimatableDoubleTest.cpp b/Source/core/animation/AnimatableDoubleTest.cpp
|
| index ea1ab5df4ea43632a400c55f4930a1cc59162eae..ce8510bd5443c003d7f3354eef3ff6588261d1fe 100644
|
| --- a/Source/core/animation/AnimatableDoubleTest.cpp
|
| +++ b/Source/core/animation/AnimatableDoubleTest.cpp
|
| @@ -39,19 +39,19 @@ using namespace WebCore;
|
|
|
| namespace {
|
|
|
| -TEST(CoreAnimationAnimatableDoubleTest, Create)
|
| +TEST(AnimationAnimatableDoubleTest, Create)
|
| {
|
| EXPECT_TRUE(static_cast<bool>(AnimatableDouble::create(5).get()));
|
| EXPECT_TRUE(static_cast<bool>(AnimatableDouble::create(10).get()));
|
| }
|
|
|
| -TEST(CoreAnimationAnimatableDoubleTest, Equal)
|
| +TEST(AnimationAnimatableDoubleTest, Equal)
|
| {
|
| EXPECT_TRUE(AnimatableDouble::create(10)->equals(AnimatableDouble::create(10).get()));
|
| EXPECT_FALSE(AnimatableDouble::create(5)->equals(AnimatableDouble::create(10).get()));
|
| }
|
|
|
| -TEST(CoreAnimationAnimatableDoubleTest, ToCSSValue)
|
| +TEST(AnimationAnimatableDoubleTest, ToCSSValue)
|
| {
|
| RefPtr<CSSValue> cssValue5 = CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_NUMBER);
|
| RefPtr<CSSValue> cssValue10 = CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_NUMBER);
|
| @@ -59,14 +59,14 @@ TEST(CoreAnimationAnimatableDoubleTest, ToCSSValue)
|
| EXPECT_FALSE(AnimatableDouble::create(5)->toCSSValue()->equals(*cssValue10.get()));
|
| }
|
|
|
| -TEST(CoreAnimationAnimatableDoubleTest, ToDouble)
|
| +TEST(AnimationAnimatableDoubleTest, ToDouble)
|
| {
|
| EXPECT_EQ(5.9, AnimatableDouble::create(5.9)->toDouble());
|
| EXPECT_EQ(-10, AnimatableDouble::create(-10)->toDouble());
|
| }
|
|
|
|
|
| -TEST(CoreAnimationAnimatableDoubleTest, Interpolate)
|
| +TEST(AnimationAnimatableDoubleTest, Interpolate)
|
| {
|
| RefPtr<AnimatableDouble> from10 = AnimatableDouble::create(10);
|
| RefPtr<AnimatableDouble> to20 = AnimatableDouble::create(20);
|
| @@ -79,7 +79,7 @@ TEST(CoreAnimationAnimatableDoubleTest, Interpolate)
|
| EXPECT_EQ(25, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1.5).get())->toDouble());
|
| }
|
|
|
| -TEST(CoreAnimationAnimatableDoubleTest, Add)
|
| +TEST(AnimationAnimatableDoubleTest, Add)
|
| {
|
| EXPECT_EQ(-10, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(-2).get(), AnimatableDouble::create(-8).get()).get())->toDouble());
|
| EXPECT_EQ(0, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(50).get(), AnimatableDouble::create(-50).get()).get())->toDouble());
|
|
|