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

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

Issue 10908239: Fix dart/tools directory to remove @'raw string' and foo.dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix merge conflicts Created 8 years, 3 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 | « tools/testing/dart/status_expression.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 337cbf3586582ff77805733d9ece954bf2b7a097..ef0f81914dd7f5c2c944372f8612d37203f0b50e 100644
--- a/tools/testing/dart/status_file_parser.dart
+++ b/tools/testing/dart/status_file_parser.dart
@@ -8,24 +8,24 @@
#import("status_expression.dart");
/** Possible outcomes of running a test. */
-final CRASH = "crash";
-final TIMEOUT = "timeout";
-final FAIL = "fail";
-final PASS = "pass";
+const CRASH = "crash";
+const TIMEOUT = "timeout";
+const FAIL = "fail";
+const PASS = "pass";
/**
* An indication to skip the test. The caller is responsible for skipping it.
*/
-final SKIP = "skip";
-final OK = "ok";
+const SKIP = "skip";
+const OK = "ok";
/**
* An indication that a test is slow and we should allow extra time for
* completion.
*/
-final SLOW = "slow";
+const SLOW = "slow";
-final RegExp StripComment = const RegExp("^[^#]*");
-final RegExp HeaderPattern = const RegExp(@"^\[([^\]]+)\]");
-final RegExp RulePattern = const RegExp(@"\s*([^: ]*)\s*:(.*)");
+const RegExp StripComment = const RegExp("^[^#]*");
+const RegExp HeaderPattern = const RegExp(r"^\[([^\]]+)\]");
+const RegExp RulePattern = const RegExp(r"\s*([^: ]*)\s*:(.*)");
// TODO(whesse): Implement configuration_info library that contains data
// structures for test configuration, including Section.
« no previous file with comments | « tools/testing/dart/status_expression.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698