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

Unified Diff: dart/tools/testing/dart/status_file_parser.dart

Issue 46163002: Bugfix in test.dart, adding of specialized test outcomes for analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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
Index: dart/tools/testing/dart/status_file_parser.dart
diff --git a/dart/tools/testing/dart/status_file_parser.dart b/dart/tools/testing/dart/status_file_parser.dart
index b69e6acb2ea0051610a8249c03cb5008df530575..692268796e0018ad9c130630cc8bd9e3acec00cc 100644
--- a/dart/tools/testing/dart/status_file_parser.dart
+++ b/dart/tools/testing/dart/status_file_parser.dart
@@ -22,6 +22,9 @@ class Expectation {
static Expectation MISSING_RUNTIME_ERROR = byName('MissingRuntimeError');
static Expectation MISSING_COMPILETIME_ERROR =
byName('MissingCompileTimeError');
+ static Expectation STATIC_WARNING = byName('StaticWarning');
+ static Expectation MISSING_STATIC_WARNING =
+ byName('MissingStaticWarning');
// "meta expectations"
static Expectation OK = byName('Ok');
@@ -61,6 +64,9 @@ class Expectation {
build("CompileTimeError", group: fail);
build("RuntimeError", group: fail);
+ build("MissingStaticWarning", group: fail);
+ build("StaticWarning", group: fail);
+
build("Skip", isMetaExpectation: true);
build("SkipByDesign", isMetaExpectation: true);
build("Ok", isMetaExpectation: true);

Powered by Google App Engine
This is Rietveld 408576698