| 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 library scheduled_process; | 5 library scheduled_test.scheduled_process; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 | 9 |
| 10 import 'scheduled_test.dart'; | 10 import 'scheduled_test.dart'; |
| 11 import 'src/utils.dart'; | 11 import 'src/utils.dart'; |
| 12 import 'src/value_future.dart'; | 12 import 'src/value_future.dart'; |
| 13 | 13 |
| 14 /// A class representing a [Process] that is scheduled to run in the course of | 14 /// A class representing a [Process] that is scheduled to run in the course of |
| 15 /// the test. This class allows actions on the process to be scheduled | 15 /// the test. This class allows actions on the process to be scheduled |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 schedule(() { | 305 schedule(() { |
| 306 _endExpected = true; | 306 _endExpected = true; |
| 307 return _exitCode.then((exitCode) { | 307 return _exitCode.then((exitCode) { |
| 308 if (expectedExitCode != null) { | 308 if (expectedExitCode != null) { |
| 309 expect(exitCode, equals(expectedExitCode)); | 309 expect(exitCode, equals(expectedExitCode)); |
| 310 } | 310 } |
| 311 }); | 311 }); |
| 312 }, "waiting for process '$description' to exit"); | 312 }, "waiting for process '$description' to exit"); |
| 313 } | 313 } |
| 314 } | 314 } |
| OLD | NEW |