| Index: tests/standalone/vmservice/isolate_bad_class_test.dart
|
| diff --git a/tests/standalone/vmservice/isolate_bad_class_test.dart b/tests/standalone/vmservice/isolate_bad_class_test.dart
|
| deleted file mode 100644
|
| index e97ef7b38ec7a2f380432d5ac1d43a788b5cc9b6..0000000000000000000000000000000000000000
|
| --- a/tests/standalone/vmservice/isolate_bad_class_test.dart
|
| +++ /dev/null
|
| @@ -1,57 +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_bad_class_test;
|
| -
|
| -import 'dart:async';
|
| -import 'test_helper.dart';
|
| -import 'package:expect/expect.dart';
|
| -
|
| -class NullCollectionTest extends VmServiceRequestHelper {
|
| - NullCollectionTest(port, id, collection) :
|
| - super('http://127.0.0.1:$port/$id/$collection/9999999');
|
| -
|
| - onRequestCompleted(Map reply) {
|
| - Expect.equals('Error', reply['type']);
|
| - }
|
| -}
|
| -
|
| -class BadCollectionTest extends VmServiceRequestHelper {
|
| - BadCollectionTest(port, id, collection) :
|
| - super('http://127.0.0.1:$port/$id/$collection');
|
| -
|
| - onRequestCompleted(Map reply) {
|
| - Expect.equals('Error', reply['type']);
|
| - }
|
| -}
|
| -
|
| -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(1);
|
| - _isolateId = tester.getIsolateId(0);
|
| - }
|
| -}
|
| -
|
| -main() {
|
| - var process = new TestLauncher('unknown_isolate_command_script.dart');
|
| - process.launch().then((port) {
|
| - var test = new VMTest(port);
|
| - test.makeRequest().then((_) {
|
| - var badCollectionRequest =
|
| - new BadCollectionTest(port, test._isolateId,
|
| - 'foobar').makeRequest();
|
| - var nullCollectionRequest =
|
| - new NullCollectionTest(port, test._isolateId,
|
| - 'classes').makeRequest();
|
| - var requests = Future.wait([badCollectionRequest, nullCollectionRequest]);
|
| - requests.then((_) {
|
| - process.requestExit();
|
| - });
|
| - });
|
| - });
|
| -}
|
|
|