| 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 | |
| 7 import 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
| 8 | 6 |
| 9 import 'metatest.dart'; | 7 import 'metatest.dart'; |
| 10 import 'utils.dart'; | 8 import 'utils.dart'; |
| 11 | 9 |
| 12 void main(_, message) { | 10 void main(_, message) { |
| 13 initMetatest(message); | 11 initMetatest(message); |
| 14 | 12 |
| 15 setUpTimeout(); | 13 setUpTimeout(); |
| 16 | 14 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 throw 'error'; | 75 throw 'error'; |
| 78 }), completion(equals('bar'))); | 76 }), completion(equals('bar'))); |
| 79 }); | 77 }); |
| 80 | 78 |
| 81 test('test 2', () { | 79 test('test 2', () { |
| 82 expect(errors, everyElement(new isInstanceOf<ScheduleError>())); | 80 expect(errors, everyElement(new isInstanceOf<ScheduleError>())); |
| 83 expect(errors.map((e) => e.error), equals(['error'])); | 81 expect(errors.map((e) => e.error), equals(['error'])); |
| 84 }); | 82 }); |
| 85 }, passing: ['test 2']); | 83 }, passing: ['test 2']); |
| 86 } | 84 } |
| OLD | NEW |