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

Unified Diff: tests/compiler/dart2js/uri_retention_test.dart

Issue 824103005: Revert "Remove Compiler.assembledCode." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months 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
« no previous file with comments | « tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/uri_retention_test.dart
diff --git a/tests/compiler/dart2js/uri_retention_test.dart b/tests/compiler/dart2js/uri_retention_test.dart
index ac9d73c6208e9048625a4a969cba225b2546827b..d79aa320e3ecf5f47b043fb4c0a8271164fe458b 100644
--- a/tests/compiler/dart2js/uri_retention_test.dart
+++ b/tests/compiler/dart2js/uri_retention_test.dart
@@ -10,17 +10,15 @@ import 'package:expect/expect.dart';
import "package:async_helper/async_helper.dart";
import 'memory_compiler.dart' show
- compilerFor, OutputCollector;
+ compilerFor;
Future<String> compileSources(sources, {bool minify, bool preserveUri}) {
var options = [];
if (minify) options.add("--minify");
if (preserveUri) options.add("--preserve-uris");
- OutputCollector outputCollector = new OutputCollector();
- var compiler = compilerFor(
- sources, options: options, outputProvider: outputCollector);
+ var compiler = compilerFor(sources, options: options);
return compiler.runCompiler(Uri.parse('memory:main.dart')).then((_) {
- return outputCollector.getOutput('', 'js');
+ return compiler.assembledCode;
});
}
« no previous file with comments | « tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698