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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-box-shadow-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-box-shadow-checks.js
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-box-shadow-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-box-shadow-checks.js
new file mode 100644
index 0000000000000000000000000000000000000000..e72c2a9f780237d2dc89c144d6a6e33495c23dca
--- /dev/null
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-box-shadow-checks.js
@@ -0,0 +1,42 @@
+timing_test(function() {
+ at(0, function() {
+ assert_styles(".anim", [
+ {'boxShadow':'rgb(0, 0, 255) -20px -20px 0px 0px'},
+ {'boxShadow':'rgb(0, 0, 255) -20px -20px 8px 0px inset'},
+ {'boxShadow':'rgb(0, 0, 255) 20px 20px 8px 0px inset'},
+ {'boxShadow':'none'},
+ ]);
+ });
+ at(1, function() {
+ assert_styles(".anim", [
+ {'boxShadow':'rgb(0, 32, 191) -10px -10px 3px 2px'},
+ {'boxShadow':'rgb(0, 32, 191) -10px -10px 9px 2px inset'},
+ {'boxShadow':'rgb(0, 0, 255) 20px 20px 8px 0px inset'},
+ {'boxShadow':'none'},
+ ]);
+ });
+ at(2, function() {
+ assert_styles(".anim", [
+ {'boxShadow':'rgb(0, 64, 128) 0px 0px 6px 4px'},
+ {'boxShadow':'rgb(0, 64, 128) 0px 0px 10px 4px inset'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ ]);
+ });
+ at(3, function() {
+ assert_styles(".anim", [
+ {'boxShadow':'rgb(0, 96, 64) 10px 10px 9px 6px'},
+ {'boxShadow':'rgb(0, 96, 64) 10px 10px 11px 6px inset'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ ]);
+ });
+ at(4, function() {
+ assert_styles(".anim", [
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px inset'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
+ ]);
+ });
+}, "Auto generated tests");

Powered by Google App Engine
This is Rietveld 408576698