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

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

Issue 22791002: Add renames in output when using the mirror helper library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added an assert. Created 7 years, 4 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
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 2d72fc5d74639213ff55bcb6f50250ad5f4e5b0a..af844cecd03ee579aa90a16099828b20967f13f5 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -223,6 +223,7 @@ class MockCompiler extends Compiler {
bool disableTypeInference: false,
bool analyzeAll: false,
bool analyzeOnly: false,
+ bool emitJavaScript: true,
bool preserveComments: false})
: warnings = [], errors = [],
sourceFiles = new Map<String, SourceFile>(),
@@ -233,6 +234,7 @@ class MockCompiler extends Compiler {
disableTypeInferenceFlag: disableTypeInference,
analyzeAllFlag: analyzeAll,
analyzeOnly: analyzeOnly,
+ emitJavaScript: emitJavaScript,
preserveComments: preserveComments) {
coreLibrary = createLibrary("core", coreSource);
// We need to set the assert method to avoid calls with a 'null'
« no previous file with comments | « tests/compiler/dart2js/mirror_helper_unique_minification_test.dart ('k') | tests/utils/dummy_compiler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698