Index: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js |
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14d3a039fc8d92df717bb4e94acaf7bce303e642 |
--- /dev/null |
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js |
@@ -0,0 +1,17 @@ |
+timing_test(function() { |
+ at(0, function() { |
+ assert_styles("#target",{'left':'0px','backgroundColor':'rgb(176, 196, 222)'}); |
+ }); |
+ at(0.5, function() { |
+ assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222)'}); |
+ }); |
+ at(1.5, function() { |
+ assert_styles("#target",{'left':'100px','backgroundColor':'rgb(176, 196, 222)'}); |
+ }); |
+ at(2, function() { |
+ assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222)'}); |
+ }); |
+ at(3, function() { |
+ assert_styles("#target",{'left':'100px','backgroundColor':'rgb(0, 128, 0)'}); |
+ }); |
+}, "Auto generated tests"); |