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

Side by Side Diff: tests/lib_2/async/schedule_microtask_test.dart

Issue 3001793002: Migrated test block 171 to Dart 2.0. (Closed)
Patch Set: Created 3 years, 4 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
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:async_helper/async_helper.dart'; 5 import 'package:async_helper/async_helper.dart';
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 Future testOneScheduleMicrotask() { 9 Future testOneScheduleMicrotask() {
10 var completer = new Completer(); 10 var completer = new Completer();
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 main() { 86 main() {
87 asyncStart(); 87 asyncStart();
88 testOneScheduleMicrotask() 88 testOneScheduleMicrotask()
89 .then((_) => testMultipleScheduleMicrotask()) 89 .then((_) => testMultipleScheduleMicrotask())
90 .then((_) => testScheduleMicrotaskThenTimer()) 90 .then((_) => testScheduleMicrotaskThenTimer())
91 .then((_) => testTimerThenScheduleMicrotask()) 91 .then((_) => testTimerThenScheduleMicrotask())
92 .then((_) => testTimerThenScheduleMicrotaskChain()) 92 .then((_) => testTimerThenScheduleMicrotaskChain())
93 .then((_) => asyncEnd()); 93 .then((_) => asyncEnd());
94 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698