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

Unified Diff: tests/compiler/dart2js/no_such_method_enabled_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/no_such_method_enabled_test.dart
diff --git a/tests/compiler/dart2js/no_such_method_enabled_test.dart b/tests/compiler/dart2js/no_such_method_enabled_test.dart
index cb994a948420975d6e1dd5871b428cae417afb55..2f5f9c7498beedf06471a1d02419581e554bc7ca 100644
--- a/tests/compiler/dart2js/no_such_method_enabled_test.dart
+++ b/tests/compiler/dart2js/no_such_method_enabled_test.dart
@@ -18,7 +18,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isFalse(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -40,7 +40,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isFalse(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -64,7 +64,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isFalse(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -88,7 +88,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isFalse(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -116,7 +116,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -140,7 +140,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -160,7 +160,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isFalse(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -180,7 +180,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -200,7 +200,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -222,7 +222,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -245,7 +245,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(
@@ -270,7 +270,7 @@ main() {
""";
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(source, uri);
- asyncTest(() => compiler.runCompiler(uri).then((_) {
+ asyncTest(() => compiler.run(uri).then((_) {
Expect.isTrue(compiler.backend.enabledNoSuchMethod);
ClassElement clsA = findElement(compiler, 'A');
Expect.isTrue(

Powered by Google App Engine
This is Rietveld 408576698