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

Unified Diff: runtime/tests/vm/dart/isolate_mirror_remote_test.dart

Issue 23460050: Mirror removals: async invoke, mirrorSystemOf(port), Mirror.mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | runtime/tests/vm/vm.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/vm/dart/isolate_mirror_remote_test.dart
diff --git a/runtime/tests/vm/dart/isolate_mirror_remote_test.dart b/runtime/tests/vm/dart/isolate_mirror_remote_test.dart
deleted file mode 100644
index 7b36cfd89f2664305a8217d865920b2845db011f..0000000000000000000000000000000000000000
--- a/runtime/tests/vm/dart/isolate_mirror_remote_test.dart
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-//
-// Dart test program for checking implemention of MirrorSystem when
-// inspecting a remote isolate.
-
-library isolate_mirror_local_test;
-
-import "package:expect/expect.dart";
-import 'dart:isolate';
-import 'dart:mirrors';
-
-void isolateMain(SendPort replyTo) {
- var port = new ReceivePort();
- replyTo.send(port.sendPort);
-}
-
-void testMirrorSystem(MirrorSystem mirror) {
- Expect.fail('Should not reach here. Remote isolates not implemented.');
-}
-
-void main() {
- var response = new ReceivePort();
- Isolate.spawn(isolateMain, response.sendPort);
- response.first.then((sp) {
- try {
- mirrorSystemOf(sp).then(testMirrorSystem);
- Expect.fail('Should not reach here. Remote isolates not implemented.');
- } catch (exception) {
- Expect.isTrue(exception is UnimplementedError);
- }
- });
-}
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | runtime/tests/vm/vm.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698