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 'package:path/path.dart' as p; | 5 import 'package:path/path.dart' as p; |
| 6 import 'package:pub/src/exit_codes.dart' as exit_codes; |
6 import 'package:scheduled_test/scheduled_test.dart'; | 7 import 'package:scheduled_test/scheduled_test.dart'; |
7 import 'package:scheduled_test/scheduled_stream.dart'; | 8 import 'package:scheduled_test/scheduled_stream.dart'; |
8 | 9 |
9 import '../../lib/src/exit_codes.dart' as exit_codes; | |
10 import '../descriptor.dart' as d; | 10 import '../descriptor.dart' as d; |
11 import '../test_pub.dart'; | 11 import '../test_pub.dart'; |
12 | 12 |
13 main() { | 13 main() { |
14 initConfig(); | 14 initConfig(); |
15 integration("reports Dart parse errors", () { | 15 integration("reports Dart parse errors", () { |
16 // Dart2js can take a long time to compile dart code, so we increase the | 16 // Dart2js can take a long time to compile dart code, so we increase the |
17 // timeout to cope with that. | 17 // timeout to cope with that. |
18 currentSchedule.timeout *= 3; | 18 currentSchedule.timeout *= 3; |
19 | 19 |
(...skipping 30 matching lines...) Expand all Loading... |
50 pub.shouldExit(exit_codes.DATA); | 50 pub.shouldExit(exit_codes.DATA); |
51 | 51 |
52 // Doesn't output anything if an error occurred. | 52 // Doesn't output anything if an error occurred. |
53 d.dir(appPath, [ | 53 d.dir(appPath, [ |
54 d.dir('build', [ | 54 d.dir('build', [ |
55 d.nothing('web') | 55 d.nothing('web') |
56 ]) | 56 ]) |
57 ]).validate(); | 57 ]).validate(); |
58 }); | 58 }); |
59 } | 59 } |
OLD | NEW |