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

Unified Diff: runtime/bin/vmservice/vmservice_io.dart

Issue 19622003: VM Service isolate listing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/bin/vmservice/vmservice.dart ('k') | runtime/bin/vmservice_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/vmservice_io.dart
diff --git a/tests/compiler/dart2js_extra/regress/4515_3_test.dart b/runtime/bin/vmservice/vmservice_io.dart
similarity index 50%
copy from tests/compiler/dart2js_extra/regress/4515_3_test.dart
copy to runtime/bin/vmservice/vmservice_io.dart
index f224d709ae8c32c5a3a8d497c3bc0147f1fdb86a..0ae0b6c603d6bdeff29b5529c14231cfb67caf76 100644
--- a/tests/compiler/dart2js_extra/regress/4515_3_test.dart
+++ b/runtime/bin/vmservice/vmservice_io.dart
@@ -2,21 +2,15 @@
// 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.
-import "package:expect/expect.dart";
+// TODO(johnmccutchan): Convert this into separate library which imports
+// the vmservice library.
-class A {
- a(x) => x + 1;
-}
+part of vmservice;
-f(p) => p("A");
+var _port;
main() {
- A a = new A();
- a.a(1);
- var v = null;
- try {
- v = f(a.a);
- } catch (e) { }
-
- Expect.equals(null, v);
+ var service = new VmService();
+ var server = new Server(service, _port);
+ server.startServer();
}
« no previous file with comments | « runtime/bin/vmservice/vmservice.dart ('k') | runtime/bin/vmservice_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698