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

Unified Diff: tests/standalone/vmservice/isolate_code_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_code_test.dart
===================================================================
--- tests/standalone/vmservice/isolate_code_test.dart (revision 32126)
+++ tests/standalone/vmservice/isolate_code_test.dart (working copy)
@@ -39,9 +39,9 @@
onRequestCompleted(Map reply) {
Expect.equals('StackTrace', reply['type']);
List members = reply['members'];
- Expect.equals('a', members[0]['name']);
+ Expect.equals('a', members[0]['function']['name']);
_aId = members[0]['code']['id'];
- Expect.equals('c', members[2]['name']);
+ Expect.equals('c', members[2]['function']['name']);
_cId = members[2]['code']['id'];
}
}
@@ -53,8 +53,8 @@
onRequestCompleted(Map reply) {
IsolateListTester tester = new IsolateListTester(reply);
tester.checkIsolateCount(2);
- tester.checkIsolateNameContains('isolate_stacktrace_command_script.dart');
- _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_class_test.dart ('k') | tests/standalone/vmservice/isolate_echo_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698