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

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

Issue 17759007: First pass at asynchronous input loading in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 4 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/analyze_dart2js_test.dart
diff --git a/tests/compiler/dart2js/analyze_dart2js_test.dart b/tests/compiler/dart2js/analyze_dart2js_test.dart
index 8f2a6419de77fad9afbd867932ed5dcfaf0dd832..fb72e1b5272d652c497b81b71d8b093f1b666697 100644
--- a/tests/compiler/dart2js/analyze_dart2js_test.dart
+++ b/tests/compiler/dart2js/analyze_dart2js_test.dart
@@ -7,6 +7,7 @@ library analyze_api;
import "package:expect/expect.dart";
import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart';
import 'analyze_helper.dart';
+import "../../async_helper.dart";
/**
* Map of whitelisted warnings and errors.
@@ -25,5 +26,5 @@ const Map<String,List<String>> WHITE_LIST = const {
void main() {
var uri = currentDirectory.resolve(
'sdk/lib/_internal/compiler/implementation/dart2js.dart');
- analyze([uri], WHITE_LIST);
+ asyncTest(() => analyze([uri], WHITE_LIST));
}

Powered by Google App Engine
This is Rietveld 408576698