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

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

Issue 892913003: Rename the get* methods in preparation for removing them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one more test Created 5 years, 11 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/test/echo_test.dart ('k') | runtime/observatory/test/metrics_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/functions_test.dart
diff --git a/runtime/observatory/test/functions_test.dart b/runtime/observatory/test/functions_test.dart
index 678ee94b88a47522bf0d016bd2e8c7e3a1b92d68..9290a4bb6e898a5ada61f3f8c5c0d623523d2c4d 100644
--- a/runtime/observatory/test/functions_test.dart
+++ b/runtime/observatory/test/functions_test.dart
@@ -23,10 +23,11 @@ var tests = [
expect(lib.classes.length, equals(1));
return lib.classes.first.load().then((Class fooClass) {
expect(fooClass.name, equals('Foo'));
- return fooClass.get('functions/get%3Aa').then((ServiceFunction func) {
- expect(func.name, equals('a'));
- expect(func.kind, equals(FunctionKind.kImplicitGetterFunction));
- });
+ return isolate.getObject('${fooClass.id}/functions/get%3Aa')
+ .then((ServiceFunction func) {
+ expect(func.name, equals('a'));
+ expect(func.kind, equals(FunctionKind.kImplicitGetterFunction));
+ });
});
}),
« no previous file with comments | « runtime/observatory/test/echo_test.dart ('k') | runtime/observatory/test/metrics_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698