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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-iterations-basic-checks.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 timing_test(function() {
2 at(0 * 1000, function() {
3 assert_styles(
4 '.anim',
5 [{'left':'100px'},
6 {'left':'100px'},
7 {'left':'180px'},
8 {'left':'180px'},
9 {'left':'180px'},
10 {'left':'180px'},
11 {'left':'100px'},
12 {'left':'100px'},
13 {'left':'180px'},
14 {'left':'180px'},
15 {'left':'180px'},
16 {'left':'180px'}]);
17 }, "Autogenerated");
18 at(0.9 * 1000, function() {
19 assert_styles(
20 '.anim',
21 [{'left':'280px'},
22 {'left':'172px'},
23 {'left':'180px'},
24 {'left':'120px'},
25 {'left':'180px'},
26 {'left':'180px'},
27 {'left':'280px'},
28 {'left':'172px'},
29 {'left':'180px'},
30 {'left':'120px'},
31 {'left':'180px'},
32 {'left':'180px'}]);
33 }, "Autogenerated");
34 at(1.8 * 1000, function() {
35 assert_styles(
36 '.anim',
37 [{'left':'260px'},
38 {'left':'164px'},
39 {'left':'180px'},
40 {'left':'140px'},
41 {'left':'116px'},
42 {'left':'180px'},
43 {'left':'260px'},
44 {'left':'164px'},
45 {'left':'180px'},
46 {'left':'140px'},
47 {'left':'116px'},
48 {'left':'180px'}]);
49 }, "Autogenerated");
50 at(2.7 * 1000, function() {
51 assert_styles(
52 '.anim',
53 [{'left':'240px'},
54 {'left':'156px'},
55 {'left':'180px'},
56 {'left':'160px'},
57 {'left':'124px'},
58 {'left':'180px'},
59 {'left':'240px'},
60 {'left':'156px'},
61 {'left':'180px'},
62 {'left':'160px'},
63 {'left':'124px'},
64 {'left':'180px'}]);
65 }, "Autogenerated");
66 at(3.6 * 1000, function() {
67 assert_styles(
68 '.anim',
69 [{'left':'180px'},
70 {'left':'180px'},
71 {'left':'180px'},
72 {'left':'180px'},
73 {'left':'132px'},
74 {'left':'180px'},
75 {'left':'180px'},
76 {'left':'180px'},
77 {'left':'180px'},
78 {'left':'180px'},
79 {'left':'132px'},
80 {'left':'180px'}]);
81 }, "Autogenerated");
82 at(4.5 * 1000, function() {
83 assert_styles(
84 '.anim',
85 [{'left':'200px'},
86 {'left':'140px'},
87 {'left':'180px'},
88 {'left':'180px'},
89 {'left':'180px'},
90 {'left':'180px'},
91 {'left':'180px'},
92 {'left':'180px'},
93 {'left':'180px'},
94 {'left':'200px'},
95 {'left':'140px'},
96 {'left':'180px'}]);
97 }, "Autogenerated");
98 at(5.4 * 1000, function() {
99 assert_styles(
100 '.anim',
101 [{'left':'180px'},
102 {'left':'132px'},
103 {'left':'180px'},
104 {'left':'220px'},
105 {'left':'148px'},
106 {'left':'180px'},
107 {'left':'220px'},
108 {'left':'148px'},
109 {'left':'180px'},
110 {'left':'180px'},
111 {'left':'132px'},
112 {'left':'180px'}]);
113 }, "Autogenerated");
114 at(6.300000000000001 * 1000, function() {
115 assert_styles(
116 '.anim',
117 [{'left':'160px'},
118 {'left':'124px'},
119 {'left':'180px'},
120 {'left':'240px'},
121 {'left':'156px'},
122 {'left':'180px'},
123 {'left':'240px'},
124 {'left':'156px'},
125 {'left':'180px'},
126 {'left':'160px'},
127 {'left':'124px'},
128 {'left':'180px'}]);
129 }, "Autogenerated");
130 at(7.200000000000001 * 1000, function() {
131 assert_styles(
132 '.anim',
133 [{'left':'140px'},
134 {'left':'180px'},
135 {'left':'180px'},
136 {'left':'260px'},
137 {'left':'164px'},
138 {'left':'180px'},
139 {'left':'260px'},
140 {'left':'164px'},
141 {'left':'180px'},
142 {'left':'140px'},
143 {'left':'180px'},
144 {'left':'180px'}]);
145 }, "Autogenerated");
146 at(8.100000000000001 * 1000, function() {
147 assert_styles(
148 '.anim',
149 [{'left':'180px'},
150 {'left':'180px'},
151 {'left':'180px'},
152 {'left':'100px'},
153 {'left':'100px'},
154 {'left':'180px'},
155 {'left':'100px'},
156 {'left':'100px'},
157 {'left':'180px'},
158 {'left':'180px'},
159 {'left':'180px'},
160 {'left':'180px'}]);
161 }, "Autogenerated");
162 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698