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

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

Issue 326913002: Make dart2js unittests async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 6 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
« no previous file with comments | « tests/compiler/dart2js/declare_once_test.dart ('k') | tests/compiler/dart2js/for_in_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/find_my_name_test.dart
diff --git a/tests/compiler/dart2js/find_my_name_test.dart b/tests/compiler/dart2js/find_my_name_test.dart
index 4de23cacc4aa31f65af6982cd823ac173804f8bc..fff1b7d93880beb22c02922d517ee675ac692a1a 100644
--- a/tests/compiler/dart2js/find_my_name_test.dart
+++ b/tests/compiler/dart2js/find_my_name_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
import "package:expect/expect.dart";
+import "package:async_helper/async_helper.dart";
import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dart";
import "mock_compiler.dart";
import "parser_helper.dart";
@@ -25,9 +26,10 @@ class Bar {
''';
main() {
- MockCompiler compiler = new MockCompiler();
- testClass(TEST_0, compiler);
- testClass(TEST_1, compiler);
+ asyncTest(() => MockCompiler.create((MockCompiler compiler) {
+ testClass(TEST_0, compiler);
+ testClass(TEST_1, compiler);
+ }));
}
testClass(String code, MockCompiler compiler) {
« no previous file with comments | « tests/compiler/dart2js/declare_once_test.dart ('k') | tests/compiler/dart2js/for_in_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698