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

Unified Diff: sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_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/copies_browser_js_next_to_entrypoints_test.dart
diff --git a/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart b/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart
index a8e22f48a89fd890037e2f8a38760f486434244a..9bd4ff41a7d552df57b5a75013d94000d01bd7f8 100644
--- a/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart
+++ b/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart
@@ -62,12 +62,14 @@ main() {
pubGet();
schedulePub(args: ["build"],
- output: new RegExp(r"Built 8 files!"),
+ output: new RegExp(r"Built 12 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.dir('packages', [d.dir('browser', [
d.file('dart.js', 'contents of dart.js'),
d.file('interop.js', 'contents of interop.js')
@@ -77,7 +79,9 @@ main() {
d.file('dart.js', 'contents of dart.js'),
d.file('interop.js', 'contents of interop.js')
])]),
- d.matcherFile('subfile.dart.js', isNot(isEmpty))
+ d.matcherFile('subfile.dart.js', isNot(isEmpty)),
+ d.matcherFile('subfile.dart.precompiled.js', isNot(isEmpty)),
+ d.matcherFile('subfile.dart.js.map', isNot(isEmpty))
])
])
]).validate();

Powered by Google App Engine
This is Rietveld 408576698