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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp
index 3da6b49ae23a382710beb6f07b296f736fdbfba4..141dcf392da898ce6d38696d976b88e3d8b3f985 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp
@@ -62,16 +62,18 @@ TEST_F(AnimationAnimatableUnknownTest, ToCSSValue) {
}
TEST_F(AnimationAnimatableUnknownTest, Interpolate) {
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(
- animatableUnknown.get(),
- otherAnimatableUnknown.get(), 0)
- .get())
- ->toCSSValue());
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(
- animatableUnknown.get(),
- otherAnimatableUnknown.get(), 0.4)
- .get())
- ->toCSSValue());
+ EXPECT_EQ(cssValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(animatableUnknown.get(),
+ otherAnimatableUnknown.get(), 0)
+ .get())
+ ->toCSSValue());
+ EXPECT_EQ(cssValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(animatableUnknown.get(),
+ otherAnimatableUnknown.get(), 0.4)
+ .get())
+ ->toCSSValue());
EXPECT_EQ(otherCSSValue,
toAnimatableUnknown(
AnimatableValue::interpolate(animatableUnknown.get(),
@@ -91,31 +93,36 @@ TEST_F(AnimationAnimatableUnknownTest, Interpolate) {
.get())
->toCSSValue());
- EXPECT_EQ(otherCSSValue, toAnimatableUnknown(AnimatableValue::interpolate(
- otherAnimatableUnknown.get(),
- animatableUnknown.get(), 0)
- .get())
- ->toCSSValue());
- EXPECT_EQ(otherCSSValue, toAnimatableUnknown(AnimatableValue::interpolate(
- otherAnimatableUnknown.get(),
- animatableUnknown.get(), 0.4)
- .get())
- ->toCSSValue());
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(
- otherAnimatableUnknown.get(),
- animatableUnknown.get(), 0.5)
- .get())
- ->toCSSValue());
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(
- otherAnimatableUnknown.get(),
- animatableUnknown.get(), 0.6)
- .get())
- ->toCSSValue());
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(
- otherAnimatableUnknown.get(),
- animatableUnknown.get(), 1)
- .get())
- ->toCSSValue());
+ EXPECT_EQ(otherCSSValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(),
+ animatableUnknown.get(), 0)
+ .get())
+ ->toCSSValue());
+ EXPECT_EQ(otherCSSValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(),
+ animatableUnknown.get(), 0.4)
+ .get())
+ ->toCSSValue());
+ EXPECT_EQ(cssValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(),
+ animatableUnknown.get(), 0.5)
+ .get())
+ ->toCSSValue());
+ EXPECT_EQ(cssValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(),
+ animatableUnknown.get(), 0.6)
+ .get())
+ ->toCSSValue());
+ EXPECT_EQ(cssValue,
+ toAnimatableUnknown(
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(),
+ animatableUnknown.get(), 1)
+ .get())
+ ->toCSSValue());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698