| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_configurations; | 5 library test_configurations; |
| 6 | 6 |
| 7 import "dart:async"; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 import "dart:math" as math; | 9 import 'dart:math' as math; |
| 10 | 10 |
| 11 import "browser_controller.dart"; | 11 import 'co19_test_config.dart'; |
| 12 import "co19_test_config.dart"; | 12 import 'lib/browser_controller.dart'; |
| 13 import "http_server.dart"; | 13 import 'lib/http_server.dart'; |
| 14 import "path.dart"; | 14 import 'lib/path.dart'; |
| 15 import "test_progress.dart"; | 15 import 'lib/test_progress.dart'; |
| 16 import "test_runner.dart"; | 16 import 'lib/test_utils.dart'; |
| 17 import "test_suite.dart"; | 17 import 'lib/utils.dart'; |
| 18 import "utils.dart"; | 18 import 'test_runner.dart'; |
| 19 import "vm_test_config.dart"; | 19 import 'test_suite.dart'; |
| 20 import 'vm_test_suite.dart'; |
| 20 | 21 |
| 21 /** | 22 /** |
| 22 * The directories that contain test suites which follow the conventions | 23 * The directories that contain test suites which follow the conventions |
| 23 * required by [StandardTestSuite]'s forDirectory constructor. | 24 * required by [StandardTestSuite]'s forDirectory constructor. |
| 24 * New test suites should follow this convention because it makes it much | 25 * New test suites should follow this convention because it makes it much |
| 25 * simpler to add them to test.dart. Existing test suites should be | 26 * simpler to add them to test.dart. Existing test suites should be |
| 26 * moved to here, if possible. | 27 * moved to here, if possible. |
| 27 */ | 28 */ |
| 28 final TEST_SUITE_DIRECTORIES = [ | 29 final TEST_SUITE_DIRECTORIES = [ |
| 29 new Path('pkg'), | 30 new Path('pkg'), |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 recordingOutputPath); | 287 recordingOutputPath); |
| 287 } | 288 } |
| 288 | 289 |
| 289 // Start all the HTTP servers required before starting the process queue. | 290 // Start all the HTTP servers required before starting the process queue. |
| 290 if (serverFutures.isEmpty) { | 291 if (serverFutures.isEmpty) { |
| 291 startProcessQueue(); | 292 startProcessQueue(); |
| 292 } else { | 293 } else { |
| 293 Future.wait(serverFutures).then((_) => startProcessQueue()); | 294 Future.wait(serverFutures).then((_) => startProcessQueue()); |
| 294 } | 295 } |
| 295 } | 296 } |
| OLD | NEW |