Index: tests/standalone/vmservice/isolate_code_test.dart |
diff --git a/tests/standalone/vmservice/isolate_code_test.dart b/tests/standalone/vmservice/isolate_code_test.dart |
index 34d07aeb44f1274b0801ce18fd16539327caaf67..3b48a69c12b088bedc020aec150f3ddef18f4869 100644 |
--- a/tests/standalone/vmservice/isolate_code_test.dart |
+++ b/tests/standalone/vmservice/isolate_code_test.dart |
@@ -46,22 +46,22 @@ class StackTraceTest 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(2); |
// TODO(turnidge): Fragile. Relies on isolate order in response. |
- _isolateId = tester.getIsolateId(1); |
+ _isolateId = tester.getIsolateId(0); |
} |
} |
main() { |
var process = new TestLauncher('isolate_stacktrace_command_script.dart'); |
process.launch().then((port) { |
- var test = new IsolateListTest(port); |
+ var test = new VMTest(port); |
test.makeRequest().then((_) { |
var stackTraceTest = |
new StackTraceTest(port, test._isolateId); |