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

Unified Diff: runtime/observatory/tests/service/call_site_data_test.dart

Issue 1133733005: Use words please. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: also rename service rpc Created 5 years, 7 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: runtime/observatory/tests/service/call_site_data_test.dart
diff --git a/runtime/observatory/tests/service/call_site_data_test.dart b/runtime/observatory/tests/service/call_site_data_test.dart
index d6eea4559b17a871c6683a23715aa46a8256cf29..486ce06dce035befce7a498e06edf9f1a47a9fb7 100644
--- a/runtime/observatory/tests/service/call_site_data_test.dart
+++ b/runtime/observatory/tests/service/call_site_data_test.dart
@@ -86,7 +86,7 @@ Set<String> stringifyCacheEntries(Map callSite) {
testMonomorphic(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'monomorphic');
Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
@@ -99,7 +99,7 @@ testMonomorphic(Isolate isolate) async {
}
testPolymorphic(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'polymorphic');
Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
@@ -112,7 +112,7 @@ testPolymorphic(Isolate isolate) async {
}
testMegamorphic(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'megamorphic');
Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
@@ -126,7 +126,7 @@ testMegamorphic(Isolate isolate) async {
}
testStaticCall(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'staticCall');
Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
@@ -139,7 +139,7 @@ testStaticCall(Isolate isolate) async {
}
testConstructorCall(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'constructorCall');
Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
@@ -152,7 +152,7 @@ testConstructorCall(Isolate isolate) async {
}
testTopLevelCall(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.load();
ServiceFunction func =
lib.functions.singleWhere((f) => f.name == 'topLevelCall');
Map response = await isolate.invokeRpcNoUpgrade('_getCallSiteData',
@@ -165,7 +165,7 @@ testTopLevelCall(Isolate isolate) async {
}
testSuperCall(Isolate isolate) async {
- Library lib = await isolate.rootLib.load();
+ Library lib = await isolate.rootLibrary.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',
« no previous file with comments | « runtime/observatory/tests/service/caching_test.dart ('k') | runtime/observatory/tests/service/code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698