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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-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-iterations-alternate-holes-checks.js
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-checks.js
new file mode 100644
index 0000000000000000000000000000000000000000..741ae0d760c163d63b428c5ee0e3e0c68c22290a
--- /dev/null
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-checks.js
@@ -0,0 +1,41 @@
+timing_test(function() {
+ at(0.25, function() {
+ assert_styles('#a', {'left':'200px'});
+ }, "Autogenerated test for #a at t=3.25");
+ at(0.5, function() {
+ assert_styles('#a', {'left':'300px'});
+ }, "Autogenerated test for #a at t=3.5");
+ at(0.75, function() {
+ assert_styles('#a', {'left':'400px'});
+ }, "Autogenerated test for #a at t=3.75");
+ at(1, function() {
+ assert_styles('#a', {'left':'100px'});
+ }, "Autogenerated test for #a at t=4");
+ at(1.25, function() {
+ assert_styles('#a', {'left':'400px'});
+ }, "Autogenerated test for #a at t=4.25");
+ at(1.5, function() {
+ assert_styles('#a', {'left':'300px'});
+ }, "Autogenerated test for #a at t=4.5");
+ at(1.75, function() {
+ assert_styles('#a', {'left':'200px'});
+ }, "Autogenerated test for #a at t=4.75");
+ at(2, function() {
+ assert_styles('#a', {'left':'100px'});
+ }, "Autogenerated test for #a at t=5");
+ at(2.25, function() {
+ assert_styles('#a', {'left':'200px'});
+ }, "Autogenerated test for #a at t=5.25");
+ at(2.5, function() {
+ assert_styles('#a', {'left':'300px'});
+ }, "Autogenerated test for #a at t=5.5");
+ at(2.75, function() {
+ assert_styles('#a', {'left':'400px'});
+ }, "Autogenerated test for #a at t=5.75");
+ at(3.0, function() {
+ assert_styles('#a', {'left':'100px'});
+ }, "Autogenerated test for #a at t=6.0");
+ at(4.0, function() {
+ assert_styles('#a', {'left':'100px'});
+ }, "Autogenerated test for #a at t=7.0");
+}, "Autogenerated checks.");

Powered by Google App Engine
This is Rietveld 408576698