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

Unified Diff: tests/compiler/dart2js/diagnostic_helper.dart

Issue 2576663003: Log only valid occurences of 'All native types used ...'. (Closed)
Patch Set: dartfmt Created 4 years 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: tests/compiler/dart2js/diagnostic_helper.dart
diff --git a/tests/compiler/dart2js/diagnostic_helper.dart b/tests/compiler/dart2js/diagnostic_helper.dart
index 7d82a3d4677d5e4f9620e28d051ce42879274cac..6f63e8a3a859fc1a7eb272eaf3afe5b70c1b9975 100644
--- a/tests/compiler/dart2js/diagnostic_helper.dart
+++ b/tests/compiler/dart2js/diagnostic_helper.dart
@@ -65,6 +65,10 @@ class DiagnosticCollector implements CompilerDiagnostics {
return filterMessagesByKinds([Diagnostic.CRASH]);
}
+ Iterable<CollectedMessage> get verboseInfos {
+ return filterMessagesByKinds([Diagnostic.VERBOSE_INFO]);
+ }
+
/// `true` if non-verbose messages has been collected.
bool get hasRegularMessages {
return messages.any((m) => m.kind != Diagnostic.VERBOSE_INFO);
« tests/compiler/dart2js/all_native_test.dart ('K') | « tests/compiler/dart2js/all_native_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698