| 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 import 'dart:io'; | 5 import 'dart:io'; |
| 6 | 6 |
| 7 import 'package:collection/collection.dart'; | 7 import 'package:collection/collection.dart'; |
| 8 import 'package:glob/glob.dart'; | 8 import 'package:glob/glob.dart'; |
| 9 import 'package:path/path.dart' as p; | 9 import 'package:path/path.dart' as p; |
| 10 | 10 |
| 11 import '../frontend/timeout.dart'; | |
| 12 import '../backend/metadata.dart'; | 11 import '../backend/metadata.dart'; |
| 13 import '../backend/test_platform.dart'; | 12 import '../backend/test_platform.dart'; |
| 13 import '../frontend/timeout.dart'; |
| 14 import '../util/io.dart'; | 14 import '../util/io.dart'; |
| 15 import '../utils.dart'; | 15 import '../utils.dart'; |
| 16 import 'configuration/args.dart' as args; | 16 import 'configuration/args.dart' as args; |
| 17 import 'configuration/load.dart'; | 17 import 'configuration/load.dart'; |
| 18 import 'configuration/values.dart'; | 18 import 'configuration/values.dart'; |
| 19 | 19 |
| 20 /// A class that encapsulates the command-line configuration of the test runner. | 20 /// A class that encapsulates the command-line configuration of the test runner. |
| 21 class Configuration { | 21 class Configuration { |
| 22 /// The usage string for the command-line arguments. | 22 /// The usage string for the command-line arguments. |
| 23 static String get usage => args.usage; | 23 static String get usage => args.usage; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 pattern: other.pattern ?? pattern, | 212 pattern: other.pattern ?? pattern, |
| 213 platforms: other._platforms ?? _platforms, | 213 platforms: other._platforms ?? _platforms, |
| 214 paths: other._paths ?? _paths, | 214 paths: other._paths ?? _paths, |
| 215 filename: other._filename ?? _filename, | 215 filename: other._filename ?? _filename, |
| 216 includeTags: other.includeTags.union(includeTags), | 216 includeTags: other.includeTags.union(includeTags), |
| 217 excludeTags: other.excludeTags.union(excludeTags), | 217 excludeTags: other.excludeTags.union(excludeTags), |
| 218 tags: mergeMaps(tags, other.tags, | 218 tags: mergeMaps(tags, other.tags, |
| 219 value: (config1, config2) => config1.merge(config2))); | 219 value: (config1, config2) => config1.merge(config2))); |
| 220 } | 220 } |
| 221 } | 221 } |
| OLD | NEW |