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

Unified Diff: tools/testing/dart/test_suite.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/test_runner.dart ('k') | tools/testing/legpad/legpad.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 4f27468dff9cd59d8d0acd3927eab346b626da1d..fc706c719661cfff5f71d82f8c752adf24da30ba 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -950,29 +950,28 @@ class StandardTestSuite implements TestSuite {
* executing the copy command printed by the test script.
*/
Map readOptionsFromFile(Path filePath) {
- RegExp testOptionsRegExp = const RegExp(@"// VMOptions=(.*)");
- RegExp dartOptionsRegExp = const RegExp(@"// DartOptions=(.*)");
- RegExp otherScriptsRegExp = const RegExp(@"// OtherScripts=(.*)");
- RegExp multiTestRegExp = const RegExp(@"/// [0-9][0-9]:(.*)");
+ RegExp testOptionsRegExp = const RegExp(r"// VMOptions=(.*)");
+ RegExp dartOptionsRegExp = const RegExp(r"// DartOptions=(.*)");
+ RegExp otherScriptsRegExp = const RegExp(r"// OtherScripts=(.*)");
+ RegExp multiTestRegExp = const RegExp(r"/// [0-9][0-9]:(.*)");
RegExp staticTypeRegExp =
- const RegExp(@"/// ([0-9][0-9]:){0,1}\s*static type warning");
+ const RegExp(r"/// ([0-9][0-9]:){0,1}\s*static type warning");
RegExp compileTimeRegExp =
- const RegExp(@"/// ([0-9][0-9]:){0,1}\s*compile-time error");
- RegExp staticCleanRegExp = const RegExp(@"// @static-clean");
- RegExp leadingHashRegExp = const RegExp(@"^#", multiLine: true);
- RegExp isolateStubsRegExp = const RegExp(@"// IsolateStubs=(.*)");
+ const RegExp(r"/// ([0-9][0-9]:){0,1}\s*compile-time error");
+ RegExp staticCleanRegExp = const RegExp(r"// @static-clean");
+ RegExp leadingHashRegExp = const RegExp(r"^#", multiLine: true);
+ RegExp isolateStubsRegExp = const RegExp(r"// IsolateStubs=(.*)");
RegExp domImportRegExp =
- const RegExp(@"^#import.*(dart:(dom|html)|html\.dart).*\)",
+ const RegExp(r"^#import.*(dart:(dom|html)|html\.dart).*\)",
multiLine: true);
RegExp libraryDefinitionRegExp =
- const RegExp(@"^#library\(", multiLine: true);
+ const RegExp(r"^#library\(", multiLine: true);
RegExp sourceOrImportRegExp =
- const RegExp(@"^#(source|import|resource)\(", multiLine: true);
+ const RegExp(r"^#(source|import|resource)\(", multiLine: true);
RegExp extraCommandRegExp =
- const RegExp(@"// ExtraCommand=(.*)", multiLine: true);
+ const RegExp(r"// ExtraCommand=(.*)", multiLine: true);
RegExp extraArgsRegExp =
- const RegExp(@"// ExtraCommandArgs=(.*)", multiLine: true);
-
+ const RegExp(r"// ExtraCommandArgs=(.*)", multiLine: true);
// Read the entire file into a byte buffer and transform it to a
// String. This will treat the file as ascii but the only parts
// we are interested in will be ascii in any case.
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | tools/testing/legpad/legpad.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698