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

Unified Diff: tests/standalone/vmservice/isolate_function_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_function_test.dart
diff --git a/tests/standalone/vmservice/isolate_function_test.dart b/tests/standalone/vmservice/isolate_function_test.dart
index 4831b61dc03b4d0cf742072bddb9c362f57cf6a5..f2fccbe00f2c5501f7fe6ac9364bbd125e248268 100644
--- a/tests/standalone/vmservice/isolate_function_test.dart
+++ b/tests/standalone/vmservice/isolate_function_test.dart
@@ -10,7 +10,7 @@ import 'package:expect/expect.dart';
class MethodTest extends VmServiceRequestHelper {
MethodTest(port, id, functionId) :
- super('http://127.0.0.1:$port/isolates/$id/objects/$functionId');
+ super('http://127.0.0.1:$port/$id/$functionId');
onRequestCompleted(Map reply) {
Expect.equals('Function', reply['type']);
Expect.equals('C.c', reply['user_name']);
@@ -20,7 +20,7 @@ class MethodTest extends VmServiceRequestHelper {
class FunctionTest extends VmServiceRequestHelper {
FunctionTest(port, id, functionId) :
- super('http://127.0.0.1:$port/isolates/$id/objects/$functionId');
+ super('http://127.0.0.1:$port/$id/$functionId');
onRequestCompleted(Map reply) {
Expect.equals('Function', reply['type']);
@@ -31,7 +31,7 @@ class FunctionTest 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