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

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

Issue 1561073003: Support re-running tests while debugging. (Closed) Base URL: git@github.com:dart-lang/test@debugger-wip
Patch Set: Code review changes Created 4 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
« no previous file with comments | « lib/src/runner/engine.dart ('k') | lib/src/runner/reporter/compact.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 library test.runner.loader; 5 library test.runner.loader;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 10
11 import 'package:analyzer/analyzer.dart'; 11 import 'package:analyzer/analyzer.dart' hide Configuration;
12 import 'package:async/async.dart'; 12 import 'package:async/async.dart';
13 import 'package:path/path.dart' as p; 13 import 'package:path/path.dart' as p;
14 import 'package:stack_trace/stack_trace.dart'; 14 import 'package:stack_trace/stack_trace.dart';
15 15
16 import '../backend/group.dart'; 16 import '../backend/group.dart';
17 import '../backend/metadata.dart'; 17 import '../backend/metadata.dart';
18 import '../backend/test.dart'; 18 import '../backend/test.dart';
19 import '../backend/test_platform.dart'; 19 import '../backend/test_platform.dart';
20 import '../util/dart.dart' as dart; 20 import '../util/dart.dart' as dart;
21 import '../util/io.dart'; 21 import '../util/io.dart';
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 Future close() { 266 Future close() {
267 return _closeMemo.runOnce(() async { 267 return _closeMemo.runOnce(() async {
268 await Future.wait(_suites.map((suite) => suite.close())); 268 await Future.wait(_suites.map((suite) => suite.close()));
269 _suites.clear(); 269 _suites.clear();
270 270
271 if (!_browserServerMemo.hasRun) return; 271 if (!_browserServerMemo.hasRun) return;
272 await (await _browserServer).close(); 272 await (await _browserServer).close();
273 }); 273 });
274 } 274 }
275 } 275 }
OLDNEW
« no previous file with comments | « lib/src/runner/engine.dart ('k') | lib/src/runner/reporter/compact.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698