Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: tests/standalone/vmservice/isolate_stacktrace_command_test.dart

Issue 145323002: Post-meetup feature extravaganza. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}
« no previous file with comments | « tests/standalone/vmservice/isolate_list_test.dart ('k') | tests/standalone/vmservice/multiple_isolate_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698