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

Unified Diff: runtime/observatory/test/call_site_data_test.dart

Issue 1053053002: Tidy up the service protocol. Begin improving the documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 9 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
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/call_site_data_test.dart
diff --git a/runtime/observatory/test/call_site_data_test.dart b/runtime/observatory/test/call_site_data_test.dart
index 5d2db7bef6ccda9c01d1cea30fe138a2c15712a5..96c6e9e725f3eb90c4488508d106c292d38923bd 100644
--- a/runtime/observatory/test/call_site_data_test.dart
+++ b/runtime/observatory/test/call_site_data_test.dart
@@ -89,7 +89,7 @@ testMonomorphic(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'monomorphic');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
@@ -102,7 +102,7 @@ testPolymorphic(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'polymorphic');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
@@ -115,7 +115,7 @@ testMegamorphic(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'megamorphic');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
@@ -129,7 +129,7 @@ testStaticCall(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'staticCall');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
@@ -142,7 +142,7 @@ testConstructorCall(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'constructorCall');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
@@ -155,7 +155,7 @@ testTopLevelCall(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'topLevelCall');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
@@ -168,7 +168,7 @@ testSuperCall(Isolate isolate) async {
Library lib = await isolate.rootLib.load();
Class cls = await lib.classes.singleWhere((f) => f.name == 'Sub').load();
ServiceFunction func = cls.functions.singleWhere((f) => f.name == 'bar');
- Map response = await isolate.invokeRpcNoUpgrade('getCallSiteData',
+ Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
{ 'targetId': func.id });
expect(response['type'], equals('CodeCoverage'));
Map callSite = response['coverage'].single['callSites'].single;
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698