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

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

Issue 98253009: Refactor VM service IDs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 4df1e69edbd5380c706bdae5d2c68bc0efc39b99..4d680767873dcfc74548ff844c95dba62d8606d3 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/objects/$codeId');
+ super('http://127.0.0.1:$port/$id/$codeId');
onRequestCompleted(Map reply) {
Expect.equals('Code', reply['type']);
@@ -21,7 +21,7 @@ class CodeATest extends VmServiceRequestHelper {
class CodeCTest extends VmServiceRequestHelper {
CodeCTest(port, id, codeId) :
- super('http://127.0.0.1:$port/isolates/$id/objects/$codeId');
+ super('http://127.0.0.1:$port/$id/$codeId');
onRequestCompleted(Map reply) {
Expect.equals('Code', reply['type']);
@@ -32,7 +32,7 @@ class CodeCTest extends VmServiceRequestHelper {
class StackTraceTest extends VmServiceRequestHelper {
StackTraceTest(port, id) :
- super('http://127.0.0.1:$port/isolates/$id/stacktrace');
+ super('http://127.0.0.1:$port/$id/stacktrace');
int _aId;
int _cId;

Powered by Google App Engine
This is Rietveld 408576698