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

Unified Diff: tests/compiler/dart2js/simple_inferrer_no_such_method_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/simple_inferrer_no_such_method_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart b/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
index f3e44d42dee67442be045b8ac335e5c339a7df9e..3dc999366d890bce37f6814e87ea79d826df752d 100644
--- a/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
@@ -173,7 +173,7 @@ main() {
}
var compiler1 = compilerFor(TEST1, uri);
- asyncTest(() => compiler1.runCompiler(uri).then((_) {
+ asyncTest(() => compiler1.run(uri).then((_) {
checkReturn(compiler1, 'test1', compiler1.typesTask.uint31Type);
checkReturn(compiler1, 'test2',
compiler1.typesTask.dynamicType.nonNullable());
@@ -186,7 +186,7 @@ main() {
}));
var compiler2 = compilerFor(TEST2, uri);
- asyncTest(() => compiler2.runCompiler(uri).then((_) {
+ asyncTest(() => compiler2.run(uri).then((_) {
checkReturn(compiler2, 'test1', compiler2.typesTask.mapType.nonNullable());
checkReturn(compiler2, 'test2', compiler2.typesTask.mapType);
checkReturn(compiler2, 'test3', compiler2.typesTask.mapType);
@@ -202,7 +202,7 @@ main() {
}));
var compiler3 = compilerFor(TEST3, uri);
- asyncTest(() => compiler3.runCompiler(uri).then((_) {
+ asyncTest(() => compiler3.run(uri).then((_) {
checkReturn(compiler3, 'test1', const TypeMask.nonNullEmpty());
checkReturn(compiler3, 'test2', compiler3.typesTask.mapType);
checkReturn(compiler3, 'test3', compiler3.typesTask.mapType);
@@ -212,7 +212,7 @@ main() {
}));
var compiler4 = compilerFor(TEST4, uri);
- asyncTest(() => compiler4.runCompiler(uri).then((_) {
+ asyncTest(() => compiler4.run(uri).then((_) {
checkReturn(compiler4, 'test1', const TypeMask.nonNullEmpty());
checkReturn(compiler4, 'test2', compiler4.typesTask.mapType);
checkReturn(compiler4, 'test3', compiler4.typesTask.mapType);

Powered by Google App Engine
This is Rietveld 408576698