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

Unified Diff: tests/compiler/dart2js/mock_compiler.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/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index b55804f7d8b9f09995fb22a1dd69aca8876439d4..b7f85240d6a9f3eac6a5ea25029da139e4fb3476 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -163,9 +163,9 @@ class MockCompiler extends Compiler {
}).then((_) => uri);
}
- Future runCompiler(Uri uri, [String mainSource = ""]) {
+ Future run(Uri uri, [String mainSource = ""]) {
return init(mainSource).then((Uri mainUri) {
- return super.runCompiler(uri == null ? mainUri : uri);
+ return super.run(uri == null ? mainUri : uri);
}).then((result) {
if (expectedErrors != null &&
expectedErrors != errors.length) {

Powered by Google App Engine
This is Rietveld 408576698