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:pathos/path.dart' as path; | 5 import 'package:path/path.dart' as path; |
6 import 'package:scheduled_test/scheduled_test.dart'; | 6 import 'package:scheduled_test/scheduled_test.dart'; |
7 | 7 |
8 import '../descriptor.dart' as d; | 8 import '../descriptor.dart' as d; |
9 import '../test_pub.dart'; | 9 import '../test_pub.dart'; |
10 | 10 |
11 main() { | 11 main() { |
12 initConfig(); | 12 initConfig(); |
13 | 13 |
14 integration("reports Dart parse errors", () { | 14 integration("reports Dart parse errors", () { |
15 // Dart2js can take a long time to compile dart code, so we increase the | 15 // Dart2js can take a long time to compile dart code, so we increase the |
(...skipping 25 matching lines...) Expand all Loading... |
41 d.dir(appPath, [ | 41 d.dir(appPath, [ |
42 d.dir('deploy', [ | 42 d.dir('deploy', [ |
43 d.matcherFile('file.txt', 'contents'), | 43 d.matcherFile('file.txt', 'contents'), |
44 d.nothing('file.dart.js'), | 44 d.nothing('file.dart.js'), |
45 d.nothing('file.dart'), | 45 d.nothing('file.dart'), |
46 d.nothing('subdir') | 46 d.nothing('subdir') |
47 ]) | 47 ]) |
48 ]).validate(); | 48 ]).validate(); |
49 }); | 49 }); |
50 } | 50 } |
OLD | NEW |