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

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

Issue 24075002: Expose field data, use class id, and merge all collections into "objects" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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
diff --git a/tests/standalone/vmservice/isolate_code_test.dart b/tests/standalone/vmservice/isolate_code_test.dart
index 8ce58ddb074b79561d9b8253ceee9d4a503322a3..4df1e69edbd5380c706bdae5d2c68bc0efc39b99 100644
--- a/tests/standalone/vmservice/isolate_code_test.dart
+++ b/tests/standalone/vmservice/isolate_code_test.dart
@@ -10,7 +10,7 @@ import 'package:expect/expect.dart';
class CodeATest extends VmServiceRequestHelper {
CodeATest(port, id, codeId) :
- super('http://127.0.0.1:$port/isolates/$id/codes/$codeId');
+ super('http://127.0.0.1:$port/isolates/$id/objects/$codeId');
onRequestCompleted(Map reply) {
Expect.equals('Code', reply['type']);
@@ -21,11 +21,11 @@ class CodeATest extends VmServiceRequestHelper {
class CodeCTest extends VmServiceRequestHelper {
CodeCTest(port, id, codeId) :
- super('http://127.0.0.1:$port/isolates/$id/codes/$codeId');
+ super('http://127.0.0.1:$port/isolates/$id/objects/$codeId');
onRequestCompleted(Map reply) {
Expect.equals('Code', reply['type']);
- Expect.equals('C.c', reply['function']['name']);
+ Expect.equals('C.c', reply['function']['user_name']);
Expect.isTrue(reply['disassembly'].length > 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698