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

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

Issue 832363002: Remove Compiler.assembledCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix unittest 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/mirror_helper_rename_test.dart ('k') | tests/compiler/dart2js/output_collector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 94439886ea26320c3a1332c323f740b9644d2ae3..7fdad36a504f0fc57b83210f42ef3be7f30277f9 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -75,7 +75,8 @@ class MockCompiler extends Compiler {
bool trustTypeAnnotations: false,
bool enableEnums: false,
int this.expectedWarnings,
- int this.expectedErrors})
+ int this.expectedErrors,
+ api.CompilerOutputProvider outputProvider})
: sourceFiles = new Map<String, SourceFile>(),
super(enableTypeAssertions: enableTypeAssertions,
enableMinification: enableMinification,
@@ -88,7 +89,8 @@ class MockCompiler extends Compiler {
preserveComments: preserveComments,
trustTypeAnnotations: trustTypeAnnotations,
showPackageWarnings: true,
- enableEnums: enableEnums) {
+ enableEnums: enableEnums,
+ outputProvider: outputProvider) {
this.disableInlining = disableInlining;
deferredLoadTask = new MockDeferredLoadTask(this);
« no previous file with comments | « tests/compiler/dart2js/mirror_helper_rename_test.dart ('k') | tests/compiler/dart2js/output_collector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698