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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 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: 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.");

Powered by Google App Engine
This is Rietveld 408576698