Chromium Code Reviews

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-timing-functions-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.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 timing_test(function() {
2 at(0 * 1000, function() {
3 assert_styles('.anim', {'left':'0px'});
4 }, "Autogenerated");
5 at(0.4 * 1000, function() {
6 assert_styles('.anim', {'left':'0px'});
7 }, "Autogenerated");
8 at(0.8 * 1000, function() {
9 assert_styles('.anim', {'left':'0px'});
10 }, "Autogenerated");
11 at(1.2000000000000002 * 1000, function() {
12 assert_styles(
13 '.anim',
14 [{'left':'20px'},
15 {'left':'3.41483736038208px'},
16 {'left':'32.11287307739258px'},
17 {'left':'40.48971939086914px'},
18 {'left':'66.66666412353516px'},
19 {'left':'0px'},
20 {'left':'0px'},
21 {'left':'-48.27153778076172px'},
22 {'left':'200px'},
23 {'left':'0px'},
24 {'left':'0px'}]);
25 }, "Autogenerated");
26 at(1.6 * 1000, function() {
27 assert_styles(
28 '.anim',
29 [{'left':'60px'},
30 {'left':'25.923603057861328px'},
31 {'left':'89.03398132324219px'},
32 {'left':'88.9017333984375px'},
33 {'left':'66.66666412353516px'},
34 {'left':'66.66666412353516px'},
35 {'left':'0px'},
36 {'left':'-51.93635177612305px'},
37 {'left':'200px'},
38 {'left':'0px'},
39 {'left':'0px'}]);
40 }, "Autogenerated");
41 at(2 * 1000, function() {
42 assert_styles(
43 '.anim',
44 [{'left':'100px'},
45 {'left':'63.07688522338867px'},
46 {'left':'136.92311096191406px'},
47 {'left':'129.63328552246094px'},
48 {'left':'133.3333282470703px'},
49 {'left':'133.3333282470703px'},
50 {'left':'66.66666412353516px'},
51 {'left':'100px'},
52 {'left':'200px'},
53 {'left':'200px'},
54 {'left':'0px'}]);
55 }, "Autogenerated");
56 at(2.4 * 1000, function() {
57 assert_styles(
58 '.anim',
59 [{'left':'140px'},
60 {'left':'110.96601867675781px'},
61 {'left':'174.07640075683594px'},
62 {'left':'165.04061889648438px'},
63 {'left':'200px'},
64 {'left':'133.3333282470703px'},
65 {'left':'133.3333282470703px'},
66 {'left':'251.9363555908203px'},
67 {'left':'200px'},
68 {'left':'200px'},
69 {'left':'0px'}]);
70 }, "Autogenerated");
71 at(2.8 * 1000, function() {
72 assert_styles(
73 '.anim',
74 [{'left':'180px'},
75 {'left':'167.8871307373047px'},
76 {'left':'196.5851593017578px'},
77 {'left':'193.0833740234375px'},
78 {'left':'200px'},
79 {'left':'200px'},
80 {'left':'133.3333282470703px'},
81 {'left':'248.27154541015625px'},
82 {'left':'200px'},
83 {'left':'200px'},
84 {'left':'0px'}]);
85 }, "Autogenerated");
86 at(3.1999999999999997 * 1000, function() {
87 assert_styles('.anim', {'left':'200px'});
88 }, "Autogenerated");
89 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine