| 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.backend.live_test; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 | 6 |
| 9 import 'group.dart'; | 7 import 'group.dart'; |
| 10 import 'state.dart'; | 8 import 'state.dart'; |
| 11 import 'suite.dart'; | 9 import 'suite.dart'; |
| 12 import 'test.dart'; | 10 import 'test.dart'; |
| 13 | 11 |
| 14 /// A runnable instance of a test. | 12 /// A runnable instance of a test. |
| 15 /// | 13 /// |
| 16 /// This is distinct from [Test] in order to keep [Test]. Running a test | 14 /// This is distinct from [Test] in order to keep [Test]. Running a test |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 /// | 138 /// |
| 141 /// This doesn't automatically happen after the test completes because there | 139 /// This doesn't automatically happen after the test completes because there |
| 142 /// may be more asynchronous work going on in the background that could | 140 /// may be more asynchronous work going on in the background that could |
| 143 /// produce new errors. | 141 /// produce new errors. |
| 144 /// | 142 /// |
| 145 /// Returns a [Future] that completes once all resources are released *and* | 143 /// Returns a [Future] that completes once all resources are released *and* |
| 146 /// the test has completed. This allows the caller to wait until the test's | 144 /// the test has completed. This allows the caller to wait until the test's |
| 147 /// tear-down logic has run. | 145 /// tear-down logic has run. |
| 148 Future close(); | 146 Future close(); |
| 149 } | 147 } |
| OLD | NEW |