Index: tests/standalone/vmservice/isolate_stacktrace_command_test.dart |
=================================================================== |
--- tests/standalone/vmservice/isolate_stacktrace_command_test.dart (revision 32126) |
+++ tests/standalone/vmservice/isolate_stacktrace_command_test.dart (working copy) |
@@ -17,10 +17,10 @@ |
// The number of frames involved in isolate message dispatch is an |
// implementation detail. Only check that we got all the frames for user |
// code. |
- Expect.equals('a', reply['members'][0]['name']); |
- Expect.equals('b', reply['members'][1]['name']); |
- Expect.equals('c', reply['members'][2]['name']); |
- Expect.equals('myIsolateName', reply['members'][3]['name']); |
+ Expect.equals('a', reply['members'][0]['function']['name']); |
+ Expect.equals('b', reply['members'][1]['function']['name']); |
+ Expect.equals('c', reply['members'][2]['function']['name']); |
+ Expect.equals('myIsolateName', reply['members'][3]['function']['name']); |
} |
} |
@@ -31,7 +31,8 @@ |
onRequestCompleted(Map reply) { |
IsolateListTester tester = new IsolateListTester(reply); |
tester.checkIsolateCount(2); |
- _isolateId = tester.checkIsolateNameContains('myIsolateName'); |
+ // TODO(turnidge): Fragile. Relies on isolate order in response. |
+ _isolateId = tester.getIsolateId(1); |
} |
} |