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

Unified Diff: dart/tests/try/poi/compiler_test_case.dart

Issue 757043002: Various clean up. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « dart/tests/try/poi/apply_updates_test.dart ('k') | dart/tests/try/poi/library_updater_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/poi/compiler_test_case.dart
diff --git a/dart/tests/try/poi/compiler_test_case.dart b/dart/tests/try/poi/compiler_test_case.dart
index ce5903306b22267ebcb71e26fbac1458263f9df0..7642364706385127b366501f6ffdf5c28c517f5d 100644
--- a/dart/tests/try/poi/compiler_test_case.dart
+++ b/dart/tests/try/poi/compiler_test_case.dart
@@ -59,7 +59,7 @@ abstract class CompilerTestCase {
CompilerTestCase(String source, [String path])
: this.intermediate(source, customUri(path == null ? 'main.dart' : path));
- Future<LibraryElement> get mainApp {
+ Future<LibraryElement> loadMainApp() {
return compiler.libraryLoader.loadLibrary(scriptUri)
.then((LibraryElement library) {
if (compiler.mainApp == null) {
@@ -77,7 +77,7 @@ abstract class CompilerTestCase {
/// Returns a future for the mainApp after running the compiler.
Future<LibraryElement> compile() {
- return mainApp.then((LibraryElement library) {
+ return loadMainApp().then((LibraryElement library) {
return compiler.runCompiler(scriptUri).then((_) => library);
});
}
« no previous file with comments | « dart/tests/try/poi/apply_updates_test.dart ('k') | dart/tests/try/poi/library_updater_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698