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

Side by Side Diff: sky/tests/events/dispatcher.dart

Issue 1212163009: Port remaining Sky tests to the new world (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: add Created 5 years, 5 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
« no previous file with comments | « sky/tests/dom/replaceChild.sky ('k') | sky/tests/events/dispatcher.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script>
2 import "../resources/third_party/unittest/unittest.dart"; 1 import "../resources/third_party/unittest/unittest.dart";
3 import "../resources/unit.dart"; 2 import "../resources/unit.dart";
4 import "dart:sky"; 3 import "dart:sky";
5 import 'dart:async'; 4 import 'dart:async';
6 5
7 void send20IntegersToDispatcherController(DispatcherController d) { 6 void send20IntegersToDispatcherController(DispatcherController d) {
8 for (var index = 0; index < 20; index += 1) 7 for (var index = 0; index < 20; index += 1)
9 d.add(index); 8 d.add(index);
10 } 9 }
11 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if (Zone.current == zoneB) 92 if (Zone.current == zoneB)
94 result.add(v + 0.2); 93 result.add(v + 0.2);
95 }); 94 });
96 }); 95 });
97 send20IntegersToDispatcherController(d); 96 send20IntegersToDispatcherController(d);
98 expect(result, orderedEquals([0.1,0.2,1.1,1.2,2.1,2.2,3.1,3.2,4.1,4.2,5.1, 5.2,6.1,6.2,7.1,7.2,8.1,8.2,9.1,9.2,10.1,11.1,12.1,13.1,14.1,15.1,16.1,17.1,18.1 ])); 97 expect(result, orderedEquals([0.1,0.2,1.1,1.2,2.1,2.2,3.1,3.2,4.1,4.2,5.1, 5.2,6.1,6.2,7.1,7.2,8.1,8.2,9.1,9.2,10.1,11.1,12.1,13.1,14.1,15.1,16.1,17.1,18.1 ]));
99 }); 98 });
100 99
101 }); 100 });
102 } 101 }
103 </script>
OLDNEW
« no previous file with comments | « sky/tests/dom/replaceChild.sky ('k') | sky/tests/events/dispatcher.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698