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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-non-numeric-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-non-numeric-checks.js
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-non-numeric-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-non-numeric-checks.js
new file mode 100644
index 0000000000000000000000000000000000000000..8d0826e3f25726d5a2b2217d643d38064c295bcd
--- /dev/null
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-non-numeric-checks.js
@@ -0,0 +1,26 @@
+timing_test(function() {
+ at(0, function() {
+ assert_styles('#test', {'display':'none'});
+ }, "Autogenerated");
+ at(0.08, function() {
+ assert_styles('#test', {'display':'block'});
+ }, "Autogenerated");
+ at(0.16, function() {
+ assert_styles('#test', {'display':'none'});
+ }, "Autogenerated");
+ at(0.24, function() {
+ assert_styles('#test', {'display':'block'});
+ }, "Autogenerated");
+ at(0.32, function() {
+ assert_styles('#test', {'display':'none'});
+ }, "Autogenerated");
+ at(0.4, function() {
+ assert_styles('#test', {'display':'block'});
+ }, "Autogenerated");
+ at(0.48000000000000004, function() {
+ assert_styles('#test', {'display':'none'});
+ }, "Autogenerated");
+ at(0.56, function() {
+ assert_styles('#test', {'display':'none'});
+ }, "Autogenerated");
+}, "Autogenerated checks.");

Powered by Google App Engine
This is Rietveld 408576698