Index: tests/standalone/vmservice/isolate_bad_object_test.dart |
diff --git a/tests/standalone/vmservice/isolate_bad_object_test.dart b/tests/standalone/vmservice/isolate_bad_object_test.dart |
index 8d156f6af6088a9bf44ac40913e5694583343569..8addb4c14b007a370033ba50aa152fcda7e566f1 100644 |
--- a/tests/standalone/vmservice/isolate_bad_object_test.dart |
+++ b/tests/standalone/vmservice/isolate_bad_object_test.dart |
@@ -26,12 +26,12 @@ class BadCollectionTest extends VmServiceRequestHelper { |
} |
} |
-class IsolateListTest extends VmServiceRequestHelper { |
- IsolateListTest(port) : super('http://127.0.0.1:$port/isolates'); |
+class VMTest extends VmServiceRequestHelper { |
+ VMTest(port) : super('http://127.0.0.1:$port/vm'); |
String _isolateId; |
onRequestCompleted(Map reply) { |
- IsolateListTester tester = new IsolateListTester(reply); |
+ VMTester tester = new VMTester(reply); |
tester.checkIsolateCount(1); |
_isolateId = tester.getIsolateId(0); |
} |
@@ -40,7 +40,7 @@ class IsolateListTest extends VmServiceRequestHelper { |
main() { |
var process = new TestLauncher('unknown_isolate_command_script.dart'); |
process.launch().then((port) { |
- var test = new IsolateListTest(port); |
+ var test = new VMTest(port); |
test.makeRequest().then((_) { |
var badCollectionRequest = |
new BadCollectionTest(port, test._isolateId).makeRequest(); |