OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import "dart:async"; | 6 import "dart:async"; |
| 7 |
| 8 import "package:status_file/expectation.dart"; |
| 9 |
7 import "../../../tools/testing/dart/command.dart"; | 10 import "../../../tools/testing/dart/command.dart"; |
8 import "../../../tools/testing/dart/configuration.dart"; | 11 import "../../../tools/testing/dart/configuration.dart"; |
9 import "../../../tools/testing/dart/expectation.dart"; | |
10 import "../../../tools/testing/dart/options.dart"; | 12 import "../../../tools/testing/dart/options.dart"; |
11 import "../../../tools/testing/dart/test_runner.dart"; | 13 import "../../../tools/testing/dart/test_runner.dart"; |
12 import "../../../tools/testing/dart/test_suite.dart"; | 14 import "../../../tools/testing/dart/test_suite.dart"; |
13 import "../../../tools/testing/dart/test_progress.dart" as progress; | 15 import "../../../tools/testing/dart/test_progress.dart" as progress; |
14 import "../../../tools/testing/dart/utils.dart"; | 16 import "../../../tools/testing/dart/utils.dart"; |
15 import "process_test_util.dart"; | 17 import "process_test_util.dart"; |
16 | 18 |
17 final DEFAULT_TIMEOUT = 20; | 19 final DEFAULT_TIMEOUT = 20; |
18 final LONG_TIMEOUT = 30; | 20 final LONG_TIMEOUT = 30; |
19 | 21 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 break; | 160 break; |
159 case 'timeout': | 161 case 'timeout': |
160 // This process should be killed by the test after DEFAULT_TIMEOUT | 162 // This process should be killed by the test after DEFAULT_TIMEOUT |
161 new Timer(new Duration(hours: 42), () {}); | 163 new Timer(new Duration(hours: 42), () {}); |
162 break; | 164 break; |
163 default: | 165 default: |
164 throw "Unknown option ${arguments[0]} passed to test_runner_test"; | 166 throw "Unknown option ${arguments[0]} passed to test_runner_test"; |
165 } | 167 } |
166 } | 168 } |
167 } | 169 } |
OLD | NEW |