OLD | NEW |
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.configuration; | |
6 | |
7 import 'dart:io'; | 5 import 'dart:io'; |
8 import 'dart:math' as math; | 6 import 'dart:math' as math; |
9 | 7 |
10 import 'package:args/args.dart'; | 8 import 'package:args/args.dart'; |
11 import 'package:path/path.dart' as p; | 9 import 'package:path/path.dart' as p; |
12 | 10 |
13 import '../frontend/timeout.dart'; | 11 import '../frontend/timeout.dart'; |
14 import '../backend/metadata.dart'; | 12 import '../backend/metadata.dart'; |
15 import '../backend/test_platform.dart'; | 13 import '../backend/test_platform.dart'; |
16 import '../utils.dart'; | 14 import '../utils.dart'; |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 : Uri.parse("http://localhost:$pubServePort"), | 241 : Uri.parse("http://localhost:$pubServePort"), |
244 concurrency = pauseAfterLoad | 242 concurrency = pauseAfterLoad |
245 ? 1 | 243 ? 1 |
246 : (concurrency == null ? _defaultConcurrency : concurrency), | 244 : (concurrency == null ? _defaultConcurrency : concurrency), |
247 platforms = platforms == null ? [TestPlatform.vm] : platforms.toList(), | 245 platforms = platforms == null ? [TestPlatform.vm] : platforms.toList(), |
248 paths = paths == null ? ["test"] : paths.toList(), | 246 paths = paths == null ? ["test"] : paths.toList(), |
249 explicitPaths = paths != null, | 247 explicitPaths = paths != null, |
250 this.tags = tags, | 248 this.tags = tags, |
251 this.excludeTags = excludeTags; | 249 this.excludeTags = excludeTags; |
252 } | 250 } |
OLD | NEW |