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

Unified Diff: tests/standalone/vmservice/isolate_list_script.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
Index: tests/standalone/vmservice/isolate_list_script.dart
diff --git a/tests/language/recursive_calls_test.dart b/tests/standalone/vmservice/isolate_list_script.dart
similarity index 54%
copy from tests/language/recursive_calls_test.dart
copy to tests/standalone/vmservice/isolate_list_script.dart
index 9a44ea6401adcd6a236707a360fca1218c00fd04..a9cc79fe9eb57d905ad569fe7950be6b425c1d3d 100644
--- a/tests/language/recursive_calls_test.dart
+++ b/tests/standalone/vmservice/isolate_list_script.dart
@@ -2,12 +2,13 @@
// 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";
+library isolate_list_script;
-int bar(x) => foo(x+1);
-int foo(x) => x > 9 ? x : bar(x);
+import 'dart:io';
main() {
- Expect.equals(foo(int.parse("1")), 10);
-}
+ print(''); // Print blank line to signal that we are ready.
+ // Wait until signaled from spawning test.
+ stdin.first.then((_) => exit(0));
+}

Powered by Google App Engine
This is Rietveld 408576698