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

Unified Diff: tests/lib/async/deferred/deferred_in_isolate_test.dart

Issue 1133983002: Move isolate tests to lib/isolate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix merge Created 5 years, 7 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/lib/async/deferred/deferred_in_isolate_test.dart
diff --git a/tests/lib/async/deferred/deferred_in_isolate_test.dart b/tests/lib/async/deferred/deferred_in_isolate_test.dart
deleted file mode 100644
index 08cd0dae0034c8f5a519e8bbb35315ca6050c29a..0000000000000000000000000000000000000000
--- a/tests/lib/async/deferred/deferred_in_isolate_test.dart
+++ /dev/null
@@ -1,21 +0,0 @@
-import 'dart:isolate';
-import 'dart:async';
-import 'package:unittest/unittest.dart';
-
-import 'deferred_in_isolate_lib.dart' deferred as lib;
-
-loadDeferred(port) {
- lib.loadLibrary().then((_) {
- port.send(lib.f());
- });
-}
-
-main() {
- test("Deferred loading in isolate", () {
- ReceivePort port = new ReceivePort();
- port.first.then(expectAsync((msg) {
- expect(msg, equals("hi"));
- }));
- Isolate.spawn(loadDeferred, port.sendPort);
- });
-}
« no previous file with comments | « tests/lib/async/deferred/deferred_in_isolate_lib.dart ('k') | tests/lib/async/deferred/deferred_library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698