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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-delay-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(".anim",{'left':'100px'});
4 });
5 at(0.1 * 1000, function() {
6 assert_styles(".anim",{'left':'100px'});
7 });
8 at(0.2 * 1000, function() {
9 assert_styles(".anim",{'left':'100px'});
10 });
11 at(0.30000000000000004 * 1000, function() {
12 assert_styles(".anim",{'left':'133.3px'});
13 });
14 at(0.4 * 1000, function() {
15 assert_styles(".anim",{'left':'166.7px'});
16 });
17 at(0.5 * 1000, function() {
18 assert_styles(".anim",{'left':'100px'});
19 });
20 at(0.6 * 1000, function() {
21 assert_styles(".anim",{'left':'133.3px'});
22 });
23 at(0.7 * 1000, function() {
24 assert_styles(".anim",{'left':'166.7px'});
25 });
26 at(800, function() {
27 assert_styles(".anim",{'left':'100px'});
28 });
29 at(0.8999999999999999 * 1000, function() {
30 assert_styles(".anim",{'left':'133.3px'});
31 });
32 at(0.9999999999999999 * 1000, function() {
33 assert_styles(".anim",{'left':'166.7px'});
34 });
35 at(1.0999999999999999 * 1000, function() {
36 assert_styles(".anim",{'left':'200px'});
37 });
38 at(1.2 * 1000, function() {
39 assert_styles(".anim",{'left':'200px'});
40 });
41 at(1.3 * 1000, function() {
42 assert_styles(".anim",{'left':'200px'});
43 });
44 at(1.4000000000000001 * 1000, function() {
45 assert_styles(".anim",{'left':'200px'});
46 });
47 at(1.5000000000000002 * 1000, function() {
48 assert_styles(".anim",{'left':'100px'});
49 });
50 at(1.6000000000000003 * 1000, function() {
51 assert_styles(".anim",{'left':'100px'});
52 });
53 at(1.7000000000000004 * 1000, function() {
54 assert_styles(".anim",{'left':'100px'});
55 });
56 at(1.8000000000000005 * 1000, function() {
57 assert_styles(".anim",{'left':'133.3px'});
58 });
59 at(1.9000000000000006 * 1000, function() {
60 assert_styles(".anim",{'left':'166.7px'});
61 });
62 at(2.0000000000000004 * 1000, function() {
63 assert_styles(".anim",{'left':'100px'});
64 });
65 at(2.1000000000000005 * 1000, function() {
66 assert_styles(".anim",{'left':'133.3px'});
67 });
68 at(2.2000000000000006 * 1000, function() {
69 assert_styles(".anim",{'left':'166.7px'});
70 });
71 at(2.3000000000000007 * 1000, function() {
72 assert_styles(".anim",{'left':'100px'});
73 });
74 at(2.400000000000001 * 1000, function() {
75 assert_styles(".anim",{'left':'133.3px'});
76 });
77 at(2.500000000000001 * 1000, function() {
78 assert_styles(".anim",{'left':'166.7px'});
79 });
80 at(2.600000000000001 * 1000, function() {
81 assert_styles(".anim",{'left':'200px'});
82 });
83 at(2.700000000000001 * 1000, function() {
84 assert_styles(".anim",{'left':'200px'});
85 });
86 at(2.800000000000001 * 1000, function() {
87 assert_styles(".anim",{'left':'200px'});
88 });
89 at(2.9000000000000012 * 1000, function() {
90 assert_styles(".anim",{'left':'200px'});
91 });
92 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698