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

Unified Diff: runtime/observatory/tests/service/contexts_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/contexts_test.dart
diff --git a/runtime/observatory/tests/service/contexts_test.dart b/runtime/observatory/tests/service/contexts_test.dart
index ffbbb79c98bf9992a063d1c071d05c5efcffdbb0..3954d878e1985215a18f49cbb41ed63b050e9120 100644
--- a/runtime/observatory/tests/service/contexts_test.dart
+++ b/runtime/observatory/tests/service/contexts_test.dart
@@ -51,7 +51,7 @@ void script() {
var tests = [
(Isolate isolate) =>
- isolate.rootLib.load().then((Library lib) {
+ isolate.rootLibrary.load().then((Library lib) {
Field field = lib.variables.singleWhere((v) => v.name == 'cleanBlock');
return field.value.load().then((Instance block) {
expect(block.isClosure, isTrue);
@@ -64,7 +64,7 @@ var tests = [
}),
(Isolate isolate) =>
- isolate.rootLib.load().then((Library lib) {
+ isolate.rootLibrary.load().then((Library lib) {
Field field = lib.variables.singleWhere((v) => v.name == 'copyingBlock');
return field.value.load().then((Instance block) {
expect(block.isClosure, isTrue);
@@ -83,7 +83,7 @@ var tests = [
}),
(Isolate isolate) =>
- isolate.rootLib.load().then((Library lib) {
+ isolate.rootLibrary.load().then((Library lib) {
Field field = lib.variables.singleWhere((v) => v.name == 'fullBlock');
return field.value.load().then((Instance block) {
expect(block.isClosure, isTrue);
@@ -102,7 +102,7 @@ var tests = [
}),
(Isolate isolate) =>
- isolate.rootLib.load().then((Library lib) {
+ isolate.rootLibrary.load().then((Library lib) {
Field field = lib.variables.singleWhere((v) => v.name == 'fullBlockWithChain');
return field.value.load().then((Instance block) {
expect(block.isClosure, isTrue);
« no previous file with comments | « runtime/observatory/tests/service/code_test.dart ('k') | runtime/observatory/tests/service/coverage_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698