| 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/descriptor.dart' as d; | 5 import 'package:scheduled_test/descriptor.dart' as d; |
| 8 import 'package:scheduled_test/scheduled_test.dart'; | 6 import 'package:scheduled_test/scheduled_test.dart'; |
| 9 | 7 |
| 10 import '../metatest.dart'; | 8 import '../metatest.dart'; |
| 11 import 'utils.dart'; | 9 import 'utils.dart'; |
| 12 | 10 |
| 13 void main(_, message) { | 11 void main(_, message) { |
| 14 initMetatest(message); | 12 initMetatest(message); |
| 15 | 13 |
| 16 setUpTimeout(); | 14 setUpTimeout(); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 })).validate(); | 111 })).validate(); |
| 114 }); | 112 }); |
| 115 | 113 |
| 116 test('test 2', () { | 114 test('test 2', () { |
| 117 expect(errors.single, new isInstanceOf<ScheduleError>()); | 115 expect(errors.single, new isInstanceOf<ScheduleError>()); |
| 118 expect(errors.single.error.toString(), | 116 expect(errors.single.error.toString(), |
| 119 matches(r"^Directory not found: '[^']+[\\/]dir'\.$")); | 117 matches(r"^Directory not found: '[^']+[\\/]dir'\.$")); |
| 120 }); | 118 }); |
| 121 }, passing: ['test 2']); | 119 }, passing: ['test 2']); |
| 122 } | 120 } |
| OLD | NEW |