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

Side by Side Diff: runtime/observatory/tests/service/issue_27238_test.dart

Issue 2505673002: Observatory: remove unused imports (Closed)
Patch Set: oops Created 4 years, 1 month 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug 4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug
5 5
6 import 'package:observatory/service_io.dart';
7 import 'service_test_common.dart'; 6 import 'service_test_common.dart';
8 import 'dart:async'; 7 import 'dart:async';
9 import 'test_helper.dart'; 8 import 'test_helper.dart';
10 import 'dart:developer'; 9 import 'dart:developer';
11 10
12 const int LINE_A = 20; 11 const int LINE_A = 19;
13 const int LINE_B = 23; 12 const int LINE_B = 22;
14 const int LINE_C = 24; 13 const int LINE_C = 23;
15 const int LINE_D = 26; 14 const int LINE_D = 25;
16 const int LINE_E = 27; 15 const int LINE_E = 26;
17 16
18 testMain() async { 17 testMain() async {
19 debugger(); 18 debugger();
20 Future future1 = new Future.value(); // LINE_A. 19 Future future1 = new Future.value(); // LINE_A.
21 Future future2 = new Future.value(); 20 Future future2 = new Future.value();
22 21
23 await future1; // LINE_B. 22 await future1; // LINE_B.
24 await future2; // LINE_C. 23 await future2; // LINE_C.
25 24
26 print('foo1'); // LINE_D. 25 print('foo1'); // LINE_D.
(...skipping 11 matching lines...) Expand all
38 smartNext, 37 smartNext,
39 hasStoppedAtBreakpoint, 38 hasStoppedAtBreakpoint,
40 stoppedAtLine(LINE_C), 39 stoppedAtLine(LINE_C),
41 smartNext, 40 smartNext,
42 hasStoppedAtBreakpoint, 41 hasStoppedAtBreakpoint,
43 stoppedAtLine(LINE_D), 42 stoppedAtLine(LINE_D),
44 resumeIsolate, 43 resumeIsolate,
45 ]; 44 ];
46 45
47 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); 46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain);
OLDNEW
« no previous file with comments | « runtime/observatory/lib/repositories.dart ('k') | runtime/observatory/tests/service/issue_27287_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698