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); |