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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-color-names-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-color-names-checks.js
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-color-names-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-color-names-checks.js
new file mode 100644
index 0000000000000000000000000000000000000000..170b623d6bda4212f563d93e9d708c857f94aa4a
--- /dev/null
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-color-names-checks.js
@@ -0,0 +1,431 @@
+timing_test(function() {
+ at(0.0, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(240, 248, 255)'},
+ {'backgroundColor':'rgb(255, 127, 80)'},
+ {'backgroundColor':'rgb(139, 0, 0)'},
+ {'backgroundColor':'rgb(220, 220, 220)'},
+ {'backgroundColor':'rgb(124, 252, 0)'},
+ {'backgroundColor':'rgb(255, 255, 224)'},
+ {'backgroundColor':'rgb(255, 228, 225)'},
+ {'backgroundColor':'rgb(205, 133, 63)'},
+ {'backgroundColor':'rgb(106, 90, 205)'}]);
+ }, "Autogenerated");
+ at(0.125, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(245, 242, 236)'},
+ {'backgroundColor':'rgb(182, 137, 154)'},
+ {'backgroundColor':'rgb(186, 75, 61)'},
+ {'backgroundColor':'rgb(233, 233, 236)'},
+ {'backgroundColor':'rgb(185, 251, 96)'},
+ {'backgroundColor':'rgb(128, 255, 112)'},
+ {'backgroundColor':'rgb(255, 228, 204)'},
+ {'backgroundColor':'rgb(228, 161, 129)'},
+ {'backgroundColor':'rgb(109, 109, 175)'}]);
+ }, "Autogenerated");
+ at(0.25, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(249, 236, 218)'},
+ {'backgroundColor':'rgb(110, 148, 227)'},
+ {'backgroundColor':'rgb(233, 150, 122)'},
+ {'backgroundColor':'rgb(246, 246, 253)'},
+ {'backgroundColor':'rgb(247, 250, 192)'},
+ {'backgroundColor':'rgb(0, 255, 0)'},
+ {'backgroundColor':'rgb(255, 228, 184)'},
+ {'backgroundColor':'rgb(252, 188, 194)'},
+ {'backgroundColor':'rgb(112, 128, 144)'}]);
+ }, "Autogenerated");
+ at(0.375, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(148, 243, 231)'},
+ {'backgroundColor':'rgb(163, 189, 230)'},
+ {'backgroundColor':'rgb(188, 169, 133)'},
+ {'backgroundColor':'rgb(251, 235, 151)'},
+ {'backgroundColor':'rgb(222, 236, 215)'},
+ {'backgroundColor':'rgb(25, 230, 25)'},
+ {'backgroundColor':'rgb(255, 226, 178)'},
+ {'backgroundColor':'rgb(241, 179, 210)'},
+ {'backgroundColor':'rgb(112, 128, 144)'}]);
+ }, "Autogenerated");
+ at(0.5, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(31, 253, 250)'},
+ {'backgroundColor':'rgb(236, 236, 222)'},
+ {'backgroundColor':'rgb(143, 188, 143)'},
+ {'backgroundColor':'rgb(254, 219, 32)'},
+ {'backgroundColor':'rgb(183, 220, 227)'},
+ {'backgroundColor':'rgb(50, 205, 50)'},
+ {'backgroundColor':'rgb(255, 223, 174)'},
+ {'backgroundColor':'rgb(225, 164, 219)'},
+ {'backgroundColor':'rgb(112, 128, 144)'}]);
+ }, "Autogenerated");
+ at(0.625, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(44, 255, 240)'},
+ {'backgroundColor':'rgb(243, 170, 165)'},
+ {'backgroundColor':'rgb(108, 125, 141)'},
+ {'backgroundColor':'rgb(242, 198, 11)'},
+ {'backgroundColor':'rgb(196, 186, 195)'},
+ {'backgroundColor':'rgb(150, 223, 140)'},
+ {'backgroundColor':'rgb(167, 146, 158)'},
+ {'backgroundColor':'rgb(206, 182, 224)'},
+ {'backgroundColor':'rgb(184, 189, 197)'}]);
+ }, "Autogenerated");
+ at(0.75, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(103, 255, 220)'},
+ {'backgroundColor':'rgb(227, 63, 90)'},
+ {'backgroundColor':'rgb(72, 61, 139)'},
+ {'backgroundColor':'rgb(225, 174, 26)'},
+ {'backgroundColor':'rgb(227, 145, 147)'},
+ {'backgroundColor':'rgb(250, 240, 230)'},
+ {'backgroundColor':'rgb(48, 42, 136)'},
+ {'backgroundColor':'rgb(184, 212, 228)'},
+ {'backgroundColor':'rgb(255, 250, 250)'}]);
+ }, "Autogenerated");
+ at(0.875, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(159, 255, 224)'},
+ {'backgroundColor':'rgb(158, 86, 115)'},
+ {'backgroundColor':'rgb(60, 70, 109)'},
+ {'backgroundColor':'rgb(193, 155, 59)'},
+ {'backgroundColor':'rgb(236, 164, 164)'},
+ {'backgroundColor':'rgb(253, 120, 243)'},
+ {'backgroundColor':'rgb(71, 69, 157)'},
+ {'backgroundColor':'rgb(163, 161, 201)'},
+ {'backgroundColor':'rgb(128, 253, 189)'}]);
+ }, "Autogenerated");
+ at(1.0, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(212, 255, 244)'},
+ {'backgroundColor':'rgb(55, 196, 206)'},
+ {'backgroundColor':'rgb(47, 79, 79)'},
+ {'backgroundColor':'rgb(151, 137, 104)'},
+ {'backgroundColor':'rgb(228, 223, 223)'},
+ {'backgroundColor':'rgb(255, 0, 255)'},
+ {'backgroundColor':'rgb(190, 184, 205)'},
+ {'backgroundColor':'rgb(140, 56, 154)'},
+ {'backgroundColor':'rgb(0, 255, 127)'}]);
+ }, "Autogenerated");
+ at(1.125, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(241, 253, 247)'},
+ {'backgroundColor':'rgb(0, 199, 230)'},
+ {'backgroundColor':'rgb(47, 79, 79)'},
+ {'backgroundColor':'rgb(100, 128, 100)'},
+ {'backgroundColor':'rgb(230, 254, 245)'},
+ {'backgroundColor':'rgb(192, 0, 128)'},
+ {'backgroundColor':'rgb(226, 219, 180)'},
+ {'backgroundColor':'rgb(156, 0, 100)'},
+ {'backgroundColor':'rgb(35, 193, 154)'}]);
+ }, "Autogenerated");
+ at(1.25, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(243, 248, 231)'},
+ {'backgroundColor':'rgb(0, 80, 175)'},
+ {'backgroundColor':'rgb(47, 79, 79)'},
+ {'backgroundColor':'rgb(40, 128, 40)'},
+ {'backgroundColor':'rgb(242, 252, 224)'},
+ {'backgroundColor':'rgb(128, 0, 0)'},
+ {'backgroundColor':'rgb(167, 165, 72)'},
+ {'backgroundColor':'rgb(215, 0, 40)'},
+ {'backgroundColor':'rgb(70, 130, 180)'}]);
+ }, "Autogenerated");
+ at(1.375, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(247, 242, 216)'},
+ {'backgroundColor':'rgb(0, 22, 139)'},
+ {'backgroundColor':'rgb(24, 143, 144)'},
+ {'backgroundColor':'rgb(27, 148, 7)'},
+ {'backgroundColor':'rgb(244, 244, 210)'},
+ {'backgroundColor':'rgb(115, 103, 85)'},
+ {'backgroundColor':'rgb(125, 130, 5)'},
+ {'backgroundColor':'rgb(245, 22, 22)'},
+ {'backgroundColor':'rgb(140, 155, 160)'}]);
+ }, "Autogenerated");
+ at(1.5, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(251, 234, 205)'},
+ {'backgroundColor':'rgb(0, 87, 139)'},
+ {'backgroundColor':'rgb(0, 206, 209)'},
+ {'backgroundColor':'rgb(108, 207, 29)'},
+ {'backgroundColor':'rgb(226, 226, 211)'},
+ {'backgroundColor':'rgb(102, 205, 170)'},
+ {'backgroundColor':'rgb(115, 137, 22)'},
+ {'backgroundColor':'rgb(213, 89, 89)'},
+ {'backgroundColor':'rgb(210, 180, 140)'}]);
+ }, "Autogenerated");
+ at(1.625, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(231, 207, 178)'},
+ {'backgroundColor':'rgb(17, 139, 127)'},
+ {'backgroundColor':'rgb(74, 103, 210)'},
+ {'backgroundColor':'rgb(169, 243, 55)'},
+ {'backgroundColor':'rgb(205, 214, 205)'},
+ {'backgroundColor':'rgb(51, 103, 188)'},
+ {'backgroundColor':'rgb(121, 144, 32)'},
+ {'backgroundColor':'rgb(176, 139, 151)'},
+ {'backgroundColor':'rgb(105, 154, 134)'}]);
+ }, "Autogenerated");
+ at(1.75, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(112, 100, 86)'},
+ {'backgroundColor':'rgb(103, 136, 67)'},
+ {'backgroundColor':'rgb(148, 0, 211)'},
+ {'backgroundColor':'rgb(148, 184, 93)'},
+ {'backgroundColor':'rgb(173, 226, 173)'},
+ {'backgroundColor':'rgb(0, 0, 205)'},
+ {'backgroundColor':'rgb(190, 155, 15)'},
+ {'backgroundColor':'rgb(119, 122, 189)'},
+ {'backgroundColor':'rgb(0, 128, 128)'}]);
+ }, "Autogenerated");
+ at(1.875, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(8, 7, 6)'},
+ {'backgroundColor':'rgb(184, 135, 16)'},
+ {'backgroundColor':'rgb(202, 10, 179)'},
+ {'backgroundColor':'rgb(132, 132, 132)'},
+ {'backgroundColor':'rgb(146, 237, 146)'},
+ {'backgroundColor':'rgb(93, 43, 208)'},
+ {'backgroundColor':'rgb(255, 162, 0)'},
+ {'backgroundColor':'rgb(67, 104, 219)'},
+ {'backgroundColor':'rgb(108, 160, 172)'}]);
+ }, "Autogenerated");
+ at(2.0, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(128, 118, 103)'},
+ {'backgroundColor':'rgb(177, 152, 90)'},
+ {'backgroundColor':'rgb(255, 20, 147)'},
+ {'backgroundColor':'rgb(184, 192, 184)'},
+ {'backgroundColor':'rgb(178, 225, 178)'},
+ {'backgroundColor':'rgb(186, 85, 211)'},
+ {'backgroundColor':'rgb(255, 117, 0)'},
+ {'backgroundColor':'rgb(102, 87, 122)'},
+ {'backgroundColor':'rgb(216, 191, 216)'}]);
+ }, "Autogenerated");
+ at(2.125, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(247, 228, 199)'},
+ {'backgroundColor':'rgb(169, 168, 164)'},
+ {'backgroundColor':'rgb(128, 106, 201)'},
+ {'backgroundColor':'rgb(237, 251, 237)'},
+ {'backgroundColor':'rgb(209, 212, 209)'},
+ {'backgroundColor':'rgb(167, 99, 215)'},
+ {'backgroundColor':'rgb(255, 72, 0)'},
+ {'backgroundColor':'rgb(137, 70, 25)'},
+ {'backgroundColor':'rgb(236, 145, 144)'}]);
+ }, "Autogenerated");
+ at(2.25, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(143, 132, 227)'},
+ {'backgroundColor':'rgb(95, 139, 95)'},
+ {'backgroundColor':'rgb(0, 191, 255)'},
+ {'backgroundColor':'rgb(247, 189, 214)'},
+ {'backgroundColor':'rgb(230, 198, 203)'},
+ {'backgroundColor':'rgb(147, 112, 219)'},
+ {'backgroundColor':'rgb(239, 88, 94)'},
+ {'backgroundColor':'rgb(188, 95, 61)'},
+ {'backgroundColor':'rgb(255, 99, 71)'}]);
+ }, "Autogenerated");
+ at(2.375, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(24, 22, 250)'},
+ {'backgroundColor':'rgb(16, 106, 16)'},
+ {'backgroundColor':'rgb(53, 148, 180)'},
+ {'backgroundColor':'rgb(254, 119, 186)'},
+ {'backgroundColor':'rgb(251, 185, 195)'},
+ {'backgroundColor':'rgb(104, 146, 166)'},
+ {'backgroundColor':'rgb(221, 108, 194)'},
+ {'backgroundColor':'rgb(240, 122, 105)'},
+ {'backgroundColor':'rgb(160, 162, 140)'}]);
+ }, "Autogenerated");
+ at(2.5, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(52, 16, 244)'},
+ {'backgroundColor':'rgb(63, 126, 63)'},
+ {'backgroundColor':'rgb(105, 105, 105)'},
+ {'backgroundColor':'rgb(236, 100, 147)'},
+ {'backgroundColor':'rgb(255, 174, 166)'},
+ {'backgroundColor':'rgb(60, 179, 113)'},
+ {'backgroundColor':'rgb(226, 157, 198)'},
+ {'backgroundColor':'rgb(248, 142, 107)'},
+ {'backgroundColor':'rgb(64, 224, 208)'}]);
+ }, "Autogenerated");
+ at(2.625, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(116, 36, 231)'},
+ {'backgroundColor':'rgb(143, 158, 143)'},
+ {'backgroundColor':'rgb(105, 105, 105)'},
+ {'backgroundColor':'rgb(213, 94, 106)'},
+ {'backgroundColor':'rgb(255, 163, 133)'},
+ {'backgroundColor':'rgb(92, 142, 176)'},
+ {'backgroundColor':'rgb(235, 213, 177)'},
+ {'backgroundColor':'rgb(245, 158, 99)'},
+ {'backgroundColor':'rgb(151, 177, 223)'}]);
+ }, "Autogenerated");
+ at(2.75, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(146, 43, 168)'},
+ {'backgroundColor':'rgb(175, 173, 150)'},
+ {'backgroundColor':'rgb(105, 105, 105)'},
+ {'backgroundColor':'rgb(164, 63, 104)'},
+ {'backgroundColor':'rgb(185, 166, 137)'},
+ {'backgroundColor':'rgb(123, 104, 238)'},
+ {'backgroundColor':'rgb(211, 238, 164)'},
+ {'backgroundColor':'rgb(182, 156, 93)'},
+ {'backgroundColor':'rgb(238, 130, 238)'}]);
+ }, "Autogenerated");
+ at(2.875, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(159, 42, 82)'},
+ {'backgroundColor':'rgb(185, 180, 121)'},
+ {'backgroundColor':'rgb(68, 125, 180)'},
+ {'backgroundColor':'rgb(103, 20, 122)'},
+ {'backgroundColor':'rgb(81, 174, 160)'},
+ {'backgroundColor':'rgb(62, 177, 196)'},
+ {'backgroundColor':'rgb(171, 247, 156)'},
+ {'backgroundColor':'rgb(89, 144, 89)'},
+ {'backgroundColor':'rgb(242, 176, 209)'}]);
+ }, "Autogenerated");
+ at(3.0, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(179, 78, 65)'},
+ {'backgroundColor':'rgb(176, 137, 115)'},
+ {'backgroundColor':'rgb(30, 144, 255)'},
+ {'backgroundColor':'rgb(120, 64, 158)'},
+ {'backgroundColor':'rgb(58, 185, 190)'},
+ {'backgroundColor':'rgb(0, 250, 154)'},
+ {'backgroundColor':'rgb(158, 248, 174)'},
+ {'backgroundColor':'rgb(98, 166, 125)'},
+ {'backgroundColor':'rgb(245, 222, 179)'}]);
+ }, "Autogenerated");
+ at(3.125, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(206, 144, 109)'},
+ {'backgroundColor':'rgb(153, 51, 130)'},
+ {'backgroundColor':'rgb(104, 89, 145)'},
+ {'backgroundColor':'rgb(204, 183, 209)'},
+ {'backgroundColor':'rgb(106, 198, 227)'},
+ {'backgroundColor':'rgb(36, 230, 179)'},
+ {'backgroundColor':'rgb(169, 242, 214)'},
+ {'backgroundColor':'rgb(196, 215, 196)'},
+ {'backgroundColor':'rgb(250, 239, 217)'}]);
+ }, "Autogenerated");
+ at(3.25, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(198, 179, 140)'},
+ {'backgroundColor':'rgb(129, 20, 122)'},
+ {'backgroundColor':'rgb(178, 34, 34)'},
+ {'backgroundColor':'rgb(252, 250, 221)'},
+ {'backgroundColor':'rgb(132, 193, 232)'},
+ {'backgroundColor':'rgb(72, 209, 204)'},
+ {'backgroundColor':'rgb(183, 214, 221)'},
+ {'backgroundColor':'rgb(237, 214, 202)'},
+ {'backgroundColor':'rgb(255, 255, 255)'}]);
+ }, "Autogenerated");
+ at(3.375, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(139, 167, 151)'},
+ {'backgroundColor':'rgb(104, 70, 79)'},
+ {'backgroundColor':'rgb(217, 142, 137)'},
+ {'backgroundColor':'rgb(245, 239, 174)'},
+ {'backgroundColor':'rgb(125, 160, 186)'},
+ {'backgroundColor':'rgb(136, 115, 169)'},
+ {'backgroundColor':'rgb(204, 155, 178)'},
+ {'backgroundColor':'rgb(193, 138, 111)'},
+ {'backgroundColor':'rgb(250, 250, 250)'}]);
+ }, "Autogenerated");
+ at(3.5, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(99, 170, 140)'},
+ {'backgroundColor':'rgb(106, 111, 41)'},
+ {'backgroundColor':'rgb(255, 250, 240)'},
+ {'backgroundColor':'rgb(239, 230, 154)'},
+ {'backgroundColor':'rgb(119, 136, 153)'},
+ {'backgroundColor':'rgb(199, 21, 133)'},
+ {'backgroundColor':'rgb(223, 128, 155)'},
+ {'backgroundColor':'rgb(164, 96, 63)'},
+ {'backgroundColor':'rgb(245, 245, 245)'}]);
+ }, "Autogenerated");
+ at(3.625, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(114, 216, 65)'},
+ {'backgroundColor':'rgb(186, 127, 19)'},
+ {'backgroundColor':'rgb(145, 195, 137)'},
+ {'backgroundColor':'rgb(234, 230, 205)'},
+ {'backgroundColor':'rgb(119, 136, 153)'},
+ {'backgroundColor':'rgb(112, 23, 123)'},
+ {'backgroundColor':'rgb(240, 187, 186)'},
+ {'backgroundColor':'rgb(179, 147, 132)'},
+ {'backgroundColor':'rgb(250, 250, 123)'}]);
+ }, "Autogenerated");
+ at(3.75, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(132, 246, 2)'},
+ {'backgroundColor':'rgb(249, 134, 13)'},
+ {'backgroundColor':'rgb(34, 139, 34)'},
+ {'backgroundColor':'rgb(232, 231, 250)'},
+ {'backgroundColor':'rgb(123, 140, 157)'},
+ {'backgroundColor':'rgb(25, 25, 112)'},
+ {'backgroundColor':'rgb(255, 238, 211)'},
+ {'backgroundColor':'rgb(188, 193, 195)'},
+ {'backgroundColor':'rgb(255, 255, 0)'}]);
+ }, "Autogenerated");
+ at(3.875, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(171, 175, 16)'},
+ {'backgroundColor':'rgb(201, 92, 108)'},
+ {'backgroundColor':'rgb(145, 70, 145)'},
+ {'backgroundColor':'rgb(243, 235, 247)'},
+ {'backgroundColor':'rgb(149, 168, 190)'},
+ {'backgroundColor':'rgb(135, 140, 181)'},
+ {'backgroundColor':'rgb(255, 228, 198)'},
+ {'backgroundColor':'rgb(162, 199, 215)'},
+ {'backgroundColor':'rgb(205, 230, 25)'}]);
+ }, "Autogenerated");
+ at(4.0, function() {
+ assert_styles(
+ '.anim',
+ [{'backgroundColor':'rgb(210, 105, 30)'},
+ {'backgroundColor':'rgb(153, 50, 204)'},
+ {'backgroundColor':'rgb(255, 0, 255)'},
+ {'backgroundColor':'rgb(255, 240, 245)'},
+ {'backgroundColor':'rgb(176, 196, 222)'},
+ {'backgroundColor':'rgb(245, 255, 250)'},
+ {'backgroundColor':'rgb(255, 218, 185)'},
+ {'backgroundColor':'rgb(135, 206, 235)'},
+ {'backgroundColor':'rgb(154, 205, 50)'}]);
+ }, "Autogenerated");
+}, "Autogenerated checks.");

Powered by Google App Engine
This is Rietveld 408576698