| Index: tools/testing/dart/status_file_parser.dart
|
| diff --git a/tools/testing/dart/status_file_parser.dart b/tools/testing/dart/status_file_parser.dart
|
| index c4be8017191523a5e3afe638929c6032ac23ac35..a26c792b37d24f782281d1a8737dab37c881d5d7 100644
|
| --- a/tools/testing/dart/status_file_parser.dart
|
| +++ b/tools/testing/dart/status_file_parser.dart
|
| @@ -28,6 +28,19 @@ class Expectation {
|
| static Expectation MISSING_STATIC_WARNING = byName('MissingStaticWarning');
|
| static Expectation PUB_GET_ERROR = byName('PubGetError');
|
|
|
| + // Special 'CRASH' cases
|
| + static Expectation DARTK_CRASH = byName('DartkCrash');
|
| +
|
| + // Special 'TIMEOUT' cases
|
| + static Expectation DARTK_TIMEOUT = byName('DartkTimeout');
|
| +
|
| + // Special 'MISSING_COMPILETIME_ERROR'
|
| + static Expectation DARTK_MISSING_COMPILETIME_ERROR =
|
| + byName('DartkMissingCompileTimeError');
|
| +
|
| + // Special 'COMPILETIME_ERROR'
|
| + static Expectation DARTK_COMPILETIME_ERROR = byName('DartkCompileTimeError');
|
| +
|
| // "meta expectations"
|
| static Expectation OK = byName('Ok');
|
| static Expectation SLOW = byName('Slow');
|
| @@ -63,15 +76,21 @@ class Expectation {
|
| }
|
|
|
| var fail = build("Fail");
|
| + var crash = build("Crash");
|
| + var timeout = build("Timeout");
|
| build("Pass");
|
| - build("Crash");
|
| - build("Timeout");
|
|
|
| - build("MissingCompileTimeError", group: fail);
|
| + var missingCompileError = build("MissingCompileTimeError", group: fail);
|
| + var compileError = build("CompileTimeError", group: fail);
|
| build("MissingRuntimeError", group: fail);
|
| - build("CompileTimeError", group: fail);
|
| build("RuntimeError", group: fail);
|
|
|
| + // Dartk sub expectations
|
| + build("DartkCrash", group: crash);
|
| + build("DartkTimeout", group: timeout);
|
| + build("DartkMissingCompileTimeError", group: missingCompileError);
|
| + build("DartkCompileTimeError", group: compileError);
|
| +
|
| build("MissingStaticWarning", group: fail);
|
| build("StaticWarning", group: fail);
|
|
|
|
|