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

Unified Diff: tests/lib/profiler/metrics_test.dart

Issue 464953002: Add VMMetric and some sample metrics (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « sdk/lib/profiler/profiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/profiler/metrics_test.dart
diff --git a/tests/lib/profiler/metrics_test.dart b/tests/lib/profiler/metrics_test.dart
index 69be4460ad3ee3acb40d8120ec602ec81d6cfd21..4dbf642320cc425a047b43b84ca954eb1c5c9a97 100644
--- a/tests/lib/profiler/metrics_test.dart
+++ b/tests/lib/profiler/metrics_test.dart
@@ -99,6 +99,9 @@ testBadName() {
Expect.throws(() {
var counter = new Counter('a.b/c', 'description');
});
+ Expect.throws(() {
+ var counter = new Counter('vm', 'description');
+ });
}
main() {
« no previous file with comments | « sdk/lib/profiler/profiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698