| 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 'package:test/src/backend/group.dart'; | 5 import 'package:test/src/backend/group.dart'; |
| 6 import 'package:test/src/backend/state.dart'; | 6 import 'package:test/src/backend/state.dart'; |
| 7 import 'package:test/src/backend/test.dart'; | |
| 8 import 'package:test/src/runner/engine.dart'; | 7 import 'package:test/src/runner/engine.dart'; |
| 9 import 'package:test/src/runner/runner_suite.dart'; | 8 import 'package:test/src/runner/runner_suite.dart'; |
| 10 import 'package:test/src/runner/vm/environment.dart'; | 9 import 'package:test/src/runner/vm/environment.dart'; |
| 11 import 'package:test/test.dart'; | 10 import 'package:test/test.dart'; |
| 12 | 11 |
| 13 import '../utils.dart'; | 12 import '../utils.dart'; |
| 14 | 13 |
| 15 void main() { | 14 void main() { |
| 16 test("runs each test in each suite in order", () async { | 15 test("runs each test in each suite in order", () async { |
| 17 var testsRun = 0; | 16 var testsRun = 0; |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 first = false; | 145 first = false; |
| 147 }, count: 2)); | 146 }, count: 2)); |
| 148 | 147 |
| 149 expect(liveTest.onComplete, completes); | 148 expect(liveTest.onComplete, completes); |
| 150 })); | 149 })); |
| 151 | 150 |
| 152 return engine.run(); | 151 return engine.run(); |
| 153 }); | 152 }); |
| 154 }); | 153 }); |
| 155 } | 154 } |
| OLD | NEW |