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

Side by Side Diff: lib/src/runner/runner_suite.dart

Issue 1704183002: pkg/test: cleanup imports (Closed) Base URL: https://github.com/dart-lang/test.git@master
Patch Set: Created 4 years, 10 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 | « lib/src/runner/engine.dart ('k') | lib/src/runner/runner_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 import 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:async/async.dart'; 7 import 'package:async/async.dart';
8 8
9 import '../backend/group.dart';
9 import '../backend/operating_system.dart'; 10 import '../backend/operating_system.dart';
10 import '../backend/suite.dart'; 11 import '../backend/suite.dart';
11 import '../backend/group.dart';
12 import '../backend/test.dart'; 12 import '../backend/test.dart';
13 import '../backend/test_platform.dart'; 13 import '../backend/test_platform.dart';
14 import '../utils.dart'; 14 import '../utils.dart';
15 import 'environment.dart'; 15 import 'environment.dart';
16 16
17 /// A suite produced and consumed by the test runner that has runner-specific 17 /// A suite produced and consumed by the test runner that has runner-specific
18 /// logic and lifecycle management. 18 /// logic and lifecycle management.
19 /// 19 ///
20 /// This is separated from [Suite] because the backend library (which will 20 /// This is separated from [Suite] because the backend library (which will
21 /// eventually become its own package) is primarily for test code itself to use, 21 /// eventually become its own package) is primarily for test code itself to use,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 _onDebuggingController.add(debugging); 98 _onDebuggingController.add(debugging);
99 } 99 }
100 100
101 /// The backing function for [suite.close]. 101 /// The backing function for [suite.close].
102 Future _close() => _closeMemo.runOnce(() async { 102 Future _close() => _closeMemo.runOnce(() async {
103 _onDebuggingController.close(); 103 _onDebuggingController.close();
104 if (_onClose != null) await _onClose(); 104 if (_onClose != null) await _onClose();
105 }); 105 });
106 final _closeMemo = new AsyncMemoizer(); 106 final _closeMemo = new AsyncMemoizer();
107 } 107 }
OLDNEW
« no previous file with comments | « lib/src/runner/engine.dart ('k') | lib/src/runner/runner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698