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:async'; | |
6 import 'dart:io'; | |
7 | |
8 import 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
9 | 6 |
10 import '../metatest.dart'; | 7 import '../metatest.dart'; |
11 import '../utils.dart'; | 8 import '../utils.dart'; |
12 | 9 |
13 void main() { | 10 void main() { |
14 setUpTimeout(); | 11 setUpTimeout(); |
15 | 12 |
16 expectTestsPass('setUp is run before each test', () { | 13 expectTestsPass('setUp is run before each test', () { |
17 var setUpRun = false; | 14 var setUpRun = false; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 }); | 168 }); |
172 }); | 169 }); |
173 | 170 |
174 test('top', () { | 171 test('top', () { |
175 expect(setUpOuterRun, isFalse); | 172 expect(setUpOuterRun, isFalse); |
176 expect(setUpInnerRun, isFalse); | 173 expect(setUpInnerRun, isFalse); |
177 }); | 174 }); |
178 }); | 175 }); |
179 | 176 |
180 } | 177 } |
OLD | NEW |