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

Unified Diff: runtime/observatory/tests/service/coverage_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/coverage_test.dart
diff --git a/runtime/observatory/tests/service/coverage_test.dart b/runtime/observatory/tests/service/coverage_test.dart
index ee70bd0b3db4e5338c9aa9ff58633e9be67459b9..54e90807690e729a67346b1226d79ff488297b4c 100644
--- a/runtime/observatory/tests/service/coverage_test.dart
+++ b/runtime/observatory/tests/service/coverage_test.dart
@@ -54,7 +54,7 @@ var tests = [
// Go to breakpoint at line 14.
(Isolate isolate) {
- return isolate.rootLib.load().then((_) {
+ return isolate.rootLibrary.load().then((_) {
// Set up a listener to wait for breakpoint events.
Completer completer = new Completer();
isolate.vm.events.stream.listen((ServiceEvent event) {
@@ -68,7 +68,7 @@ var tests = [
new Timer(new Duration(milliseconds: 2000), () {
// Add the breakpoint.
print('Setting breakpoint.');
- var script = isolate.rootLib.scripts[0];
+ var script = isolate.rootLibrary.scripts[0];
var line = 14;
isolate.addBreakpoint(script, line);
});
@@ -86,7 +86,7 @@ var tests = [
expect(stack['frames'][0]['function'].name, equals('myFunction'));
expect(stack['frames'][0]['function'].dartOwner.name, equals('MyClass'));
- var lib = isolate.rootLib;
+ var lib = isolate.rootLibrary;
var func = stack['frames'][0]['function'];
expect(func.name, equals('myFunction'));
var cls = stack['frames'][0]['function'].dartOwner;
« no previous file with comments | « runtime/observatory/tests/service/contexts_test.dart ('k') | runtime/observatory/tests/service/debugger_inspect_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698