| 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("compiles Dart entrypoints to Dart and JS", () { | 14 integration("compiles Dart entrypoints to Dart and JS", () { |
| 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 26 matching lines...) Expand all Loading... |
| 42 d.matcherFile('file.dart.js', isNot(isEmpty)), | 42 d.matcherFile('file.dart.js', isNot(isEmpty)), |
| 43 d.matcherFile('file.dart', isNot(isEmpty)), | 43 d.matcherFile('file.dart', isNot(isEmpty)), |
| 44 d.dir('subdir', [ | 44 d.dir('subdir', [ |
| 45 d.matcherFile('subfile.dart.js', isNot(isEmpty)), | 45 d.matcherFile('subfile.dart.js', isNot(isEmpty)), |
| 46 d.matcherFile('subfile.dart', isNot(isEmpty)) | 46 d.matcherFile('subfile.dart', isNot(isEmpty)) |
| 47 ]) | 47 ]) |
| 48 ]) | 48 ]) |
| 49 ]).validate(); | 49 ]).validate(); |
| 50 }); | 50 }); |
| 51 } | 51 } |
| OLD | NEW |