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

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

Issue 979823003: Major rework of vm service events. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/eval_test.dart ('k') | runtime/observatory/test/graph_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/gc_test.dart
diff --git a/runtime/observatory/test/gc_test.dart b/runtime/observatory/test/gc_test.dart
index 7f2c4416154cadf3f0b50f5dd27de9f46053dcad..11ba8c54f33e110128a2afdf0304c8b7c38d08e3 100644
--- a/runtime/observatory/test/gc_test.dart
+++ b/runtime/observatory/test/gc_test.dart
@@ -27,7 +27,7 @@ var tests = [
// Expect at least this many GC events.
int gcCountdown = 3;
isolate.vm.events.stream.listen((ServiceEvent event) {
- if (event.eventType == 'GC' && --gcCountdown == 0) {
+ if (event.eventType == ServiceEvent.kGC && --gcCountdown == 0) {
completer.complete();
}
});
« no previous file with comments | « runtime/observatory/test/eval_test.dart ('k') | runtime/observatory/test/graph_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698