| Index: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js
|
| diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..db4ffc9e4aa7e81d4d498bddb9deff744e245d8f
|
| --- /dev/null
|
| +++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js
|
| @@ -0,0 +1,58 @@
|
| +timing_test(function() {
|
| + at(0, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
|
| + }, "Autogenerated");
|
| + at(0.1, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
|
| + }, "Autogenerated");
|
| + at(0.2, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
|
| + }, "Autogenerated");
|
| + at(0.30000000000000004, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, -666.6666870117188, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -533.3333129882813, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -533.3599853515625, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -533.3333129882813, 0)'}]);
|
| + }, "Autogenerated");
|
| + at(0.4, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, -400, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -266.6666564941406, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -266.6933288574219, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -266.6666564941406, 0)'}]);
|
| + }, "Autogenerated");
|
| + at(0.5, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, -133.3333282470703, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, 0, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -0.02666666731238365, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
|
| + }, "Autogenerated");
|
| + at(0.6, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'transform':'matrix(1, 0, 0, 1, 0, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, 0, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
|
| + {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
|
| + }, "Autogenerated");
|
| +}, "Autogenerated checks.");
|
|
|