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

Unified Diff: tests/compiler/dart2js/mirrors_lookup_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: Updated cf. comments Created 7 years, 3 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/mirrors_lookup_test.dart
diff --git a/tests/compiler/dart2js/mirrors_lookup_test.dart b/tests/compiler/dart2js/mirrors_lookup_test.dart
index 8cda12efc122735aac13687327721d5f318d5a31..d5ebab5aba92ca7b698b6cf816d61e365a7c0009 100644
--- a/tests/compiler/dart2js/mirrors_lookup_test.dart
+++ b/tests/compiler/dart2js/mirrors_lookup_test.dart
@@ -5,6 +5,7 @@
library dart2js.test.memory_source_file_helper;
import 'package:expect/expect.dart';
+import "package:async_helper/async_helper.dart";
import 'memory_compiler.dart';
import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart';
import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.dart';
@@ -33,9 +34,9 @@ class Subclass<B> extends Class<B> {
};
void main() {
- mirrorSystemFor(MEMORY_SOURCE_FILES).then(
+ asyncTest(() => mirrorSystemFor(MEMORY_SOURCE_FILES).then(
(MirrorSystem mirrors) => test(mirrors),
- onError: (e) => Expect.fail('$e'));
+ onError: (e) => Expect.fail('$e')));
}
void test(MirrorSystem mirrors) {
« no previous file with comments | « tests/compiler/dart2js/mirror_tree_shaking_test.dart ('k') | tests/compiler/dart2js/mirrors_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698