| Index: tests/standalone/vmservice/isolate_library_test.dart
|
| diff --git a/tests/standalone/vmservice/isolate_library_test.dart b/tests/standalone/vmservice/isolate_library_test.dart
|
| deleted file mode 100644
|
| index 8ff46498c6bc52f0357e8de1008fcfe5bcdc59f4..0000000000000000000000000000000000000000
|
| --- a/tests/standalone/vmservice/isolate_library_test.dart
|
| +++ /dev/null
|
| @@ -1,61 +0,0 @@
|
| -// Copyright (c) 2013, 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.
|
| -
|
| -library isolate_library_test;
|
| -
|
| -import 'dart:async';
|
| -import 'test_helper.dart';
|
| -import 'package:expect/expect.dart';
|
| -
|
| -class LibraryTest extends VmServiceRequestHelper {
|
| - LibraryTest(port, id, libId) :
|
| - super('http://127.0.0.1:$port/$id/$libId');
|
| -
|
| - onRequestCompleted(Map reply) {
|
| - Expect.equals('Library', reply['type']);
|
| - Expect.equals('isolate_stacktrace_command_script', reply['name']);
|
| - }
|
| -}
|
| -
|
| -class IsolateSummaryTest extends VmServiceRequestHelper {
|
| - IsolateSummaryTest(port, id) :
|
| - super('http://127.0.0.1:$port/$id/');
|
| -
|
| - String _libId;
|
| - onRequestCompleted(Map reply) {
|
| - Expect.equals('Isolate', reply['type']);
|
| - Expect.equals('isolate_stacktrace_command_script', reply['rootLib']['name']);
|
| - _libId = reply['rootLib']['id'];
|
| - }
|
| -}
|
| -
|
| -class VMTest extends VmServiceRequestHelper {
|
| - VMTest(port) : super('http://127.0.0.1:$port/vm');
|
| -
|
| - String _isolateId;
|
| - onRequestCompleted(Map reply) {
|
| - VMTester tester = new VMTester(reply);
|
| - tester.checkIsolateCount(2);
|
| - // TODO(turnidge): Fragile. Relies on isolate order in response.
|
| - _isolateId = tester.getIsolateId(1);
|
| - }
|
| -}
|
| -
|
| -main() {
|
| - var process = new TestLauncher('isolate_stacktrace_command_script.dart');
|
| - process.launch().then((port) {
|
| - var test = new VMTest(port);
|
| - test.makeRequest().then((_) {
|
| - var isolateSummaryTest =
|
| - new IsolateSummaryTest(port, test._isolateId);
|
| - isolateSummaryTest.makeRequest().then((_) {
|
| - var libraryTest = new LibraryTest(port, test._isolateId,
|
| - isolateSummaryTest._libId);
|
| - libraryTest.makeRequest().then((_) {
|
| - process.requestExit();
|
| - });
|
| - });
|
| - });
|
| - });
|
| -}
|
|
|