Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart

Issue 105673003: Output all files generated by dart2js, not just the main one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart
diff --git a/sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart b/sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart
index 725fac58fef8652fe184fab143f4875679f0f7ac..535cd540eccd39b65c282d67f1877eebae9a8f1a 100644
--- a/sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart
+++ b/sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart
@@ -32,16 +32,20 @@ main() {
// TODO(rnystrom): If we flesh out the command-line output, validate that
// here.
schedulePub(args: ["build"],
- output: new RegExp(r"Built 2 files!"),
+ output: new RegExp(r"Built 6 files!"),
exitCode: 0);
d.dir(appPath, [
d.dir('build', [
d.matcherFile('file.dart.js', isNot(isEmpty)),
+ d.matcherFile('file.dart.precompiled.js', isNot(isEmpty)),
+ d.matcherFile('file.dart.js.map', isNot(isEmpty)),
d.nothing('file.dart'),
d.nothing('lib.dart'),
d.dir('subdir', [
d.matcherFile('subfile.dart.js', isNot(isEmpty)),
+ d.matcherFile('subfile.dart.precompiled.js', isNot(isEmpty)),
+ d.matcherFile('subfile.dart.js.map', isNot(isEmpty)),
d.nothing('subfile.dart')
])
])

Powered by Google App Engine
This is Rietveld 408576698