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

Side by Side Diff: tools/testing/dart/status_file_parser.dart

Issue 845793004: Update status files, replace "dartbug.com" with "Issue ". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove change to test_runner. Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/utils/utils.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library status_file_parser; 5 library status_file_parser;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import "dart:convert" show LineSplitter, UTF8; 8 import "dart:convert" show LineSplitter, UTF8;
9 import "dart:io"; 9 import "dart:io";
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 return false; 102 return false;
103 } 103 }
104 104
105 String toString() => prettyName; 105 String toString() => prettyName;
106 } 106 }
107 107
108 108
109 final RegExp SplitComment = new RegExp("^([^#]*)(#.*)?\$"); 109 final RegExp SplitComment = new RegExp("^([^#]*)(#.*)?\$");
110 final RegExp HeaderPattern = new RegExp(r"^\[([^\]]+)\]"); 110 final RegExp HeaderPattern = new RegExp(r"^\[([^\]]+)\]");
111 final RegExp RulePattern = new RegExp(r"\s*([^: ]*)\s*:(.*)"); 111 final RegExp RulePattern = new RegExp(r"\s*([^: ]*)\s*:(.*)");
112 final RegExp IssueNumberPattern = 112 final RegExp IssueNumberPattern = new RegExp("[Ii]ssue ([0-9]+)");
113 new RegExp("Issue ([0-9]+)|dartbug.com/([0-9]+)", caseSensitive: false);
114 113
115 class StatusFile { 114 class StatusFile {
116 final Path location; 115 final Path location;
117 116
118 StatusFile(this.location); 117 StatusFile(this.location);
119 } 118 }
120 119
121 // TODO(whesse): Implement configuration_info library that contains data 120 // TODO(whesse): Implement configuration_info library that contains data
122 // structures for test configuration, including Section. 121 // structures for test configuration, including Section.
123 class Section { 122 class Section {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 } 342 }
344 regExps[i] = regExp; 343 regExps[i] = regExp;
345 } 344 }
346 _keyToRegExps[key] = regExps; 345 _keyToRegExps[key] = regExps;
347 }); 346 });
348 347
349 _regExpCache = null; 348 _regExpCache = null;
350 _preprocessed = true; 349 _preprocessed = true;
351 } 350 }
352 } 351 }
OLDNEW
« no previous file with comments | « tests/utils/utils.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698