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

Unified Diff: runtime/observatory/test/vm_metrics_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/type_arguments_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/vm_metrics_test.dart
diff --git a/runtime/observatory/test/vm_metrics_test.dart b/runtime/observatory/test/vm_metrics_test.dart
index 9a99f093b94310dedb3adc4c6ced325c7c82fdc1..ef5f34248c684aa1f5efb84d5fff353d3856c734 100644
--- a/runtime/observatory/test/vm_metrics_test.dart
+++ b/runtime/observatory/test/vm_metrics_test.dart
@@ -13,7 +13,7 @@ void script() {
var tests = [
(Isolate isolate) =>
- isolate.get('metrics/vm').then((ServiceMap metrics) {
+ isolate.getDeprecated('metrics/vm').then((ServiceMap metrics) {
expect(metrics['type'], equals('MetricList'));
var members = metrics['members'];
expect(members, isList);
@@ -24,13 +24,13 @@ var tests = [
}),
(Isolate isolate) =>
- isolate.get('metrics/vm/heap.old.used').then((ServiceMetric counter) {
+ isolate.getDeprecated('metrics/vm/heap.old.used').then((ServiceMetric counter) {
expect(counter.type, equals('Counter'));
expect(counter.name, equals('heap.old.used'));
}),
(Isolate isolate) =>
- isolate.get('metrics/vm/doesnotexist').then((DartError err) {
+ isolate.getDeprecated('metrics/vm/doesnotexist').then((DartError err) {
expect(err is DartError, isTrue);
}),
« no previous file with comments | « runtime/observatory/test/type_arguments_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698