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

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

Issue 1417323005: Rename Compiler.runCompiler -> runInternal. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/patch_test.dart
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
index 28bae9e995ee0bc6707147fb4038bede67d59823..7c3ca3d0525fbd4a04a4f8a937697e517af40572 100644
--- a/tests/compiler/dart2js/patch_test.dart
+++ b/tests/compiler/dart2js/patch_test.dart
@@ -37,7 +37,7 @@ Future<Compiler> applyPatch(String script, String patch,
compiler.registerSource(uri, "$DEFAULT_PATCH_CORE_SOURCE\n$patch");
var future;
if (runCompiler) {
- future = compiler.runCompiler(null, main);
+ future = compiler.run(null, main);
} else {
future = compiler.init(main);
}
@@ -966,7 +966,7 @@ Future testAnalyzeAllInjectedMembers() async {
var compiler = await applyPatch('', patchText, analyzeAll: true,
analyzeOnly: true);
compiler.librariesToAnalyzeWhenRun = [Uri.parse('dart:core')];
- await compiler.runCompiler(null);
+ await compiler.run(null);
compareWarningKinds(patchText, expectedWarnings, compiler.warnings);
}
@@ -1038,7 +1038,7 @@ Future testTypecheckPatchedMembers() async {
var compiler = await applyPatch(originText, patchText,
analyzeAll: true, analyzeOnly: true);
compiler.librariesToAnalyzeWhenRun = [Uri.parse('dart:core')];
- await compiler.runCompiler(null);
+ await compiler.run(null);
compareWarningKinds(patchText,
[MessageKind.NOT_ASSIGNABLE], compiler.warnings);
}

Powered by Google App Engine
This is Rietveld 408576698