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

Unified Diff: tests/compiler/dart2js/dart_backend_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/dart_backend_test.dart
diff --git a/tests/compiler/dart2js/dart_backend_test.dart b/tests/compiler/dart2js/dart_backend_test.dart
index 2afbe17d59d0db101c9f7af59975d247f59d20bd..608ec55b0b98320baa926bf41452cb8beb40a969 100644
--- a/tests/compiler/dart2js/dart_backend_test.dart
+++ b/tests/compiler/dart2js/dart_backend_test.dart
@@ -4,6 +4,7 @@
import "package:expect/expect.dart";
import 'dart:async';
+import "package:async_helper/async_helper.dart";
import 'parser_helper.dart';
import 'mock_compiler.dart';
import '../../../sdk/lib/_internal/compiler/compiler.dart';
@@ -129,13 +130,13 @@ testDart2DartWithLibrary(
if (minify) options.add('--minify');
if (stripTypes) options.add('--force-strip=types');
- compile(
+ asyncTest(() => compile(
scriptUri,
fileUri('libraryRoot/'),
fileUri('packageRoot/'),
provider,
handler,
- options).then(continuation);
+ options).then(continuation));
}
testSimpleFileUnparse() {
« no previous file with comments | « tests/compiler/dart2js/cpa_inference_test.dart ('k') | tests/compiler/dart2js/dead_bailout_target_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698