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

Issue 8335008: Add status_file_parser.dart library, and tests for it, to the Dart rewrite of the test suite runner. (Closed)

Created:
9 years, 1 month ago by Bill Hesse
Modified:
9 years, 1 month ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org, Søren Gjesse, kasperl
Visibility:
Public.

Description

Add status_file_parser.dart library, and tests for it, to the Dart rewrite of the test suite runner. BUG= TEST=standalone/StatusFileParserTest Committed: https://code.google.com/p/dart/source/detail?r=1076

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rename library to status_file_parser. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -0 lines) Patch
A tests/standalone/src/StatusFileParserTest.dart View 1 1 chunk +30 lines, -0 lines 0 comments Download
A tools/testing/dart/status_file_parser.dart View 1 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bill Hesse
9 years, 1 month ago (2011-10-31 14:12:12 UTC) #1
Mads Ager (google)
LGTM with comments. http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file.dart File tools/testing/dart/status_file.dart (right): http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file.dart#newcode5 tools/testing/dart/status_file.dart:5: #library("status_file"); status_file_parser maybe? http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file.dart#newcode30 tools/testing/dart/status_file.dart:30: String ...
9 years, 1 month ago (2011-10-31 16:05:19 UTC) #2
Bill Hesse
9 years, 1 month ago (2011-11-02 10:15:43 UTC) #3
http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
File tools/testing/dart/status_file.dart (right):

http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
tools/testing/dart/status_file.dart:5: #library("status_file");
On 2011/10/31 16:05:20, Mads Ager wrote:
> status_file_parser maybe?

Done.

http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
tools/testing/dart/status_file.dart:30: String SplitPath(String path) => path;
On 2011/10/31 16:05:20, Mads Ager wrote:
> Could you comment on this identity function. Is there a need for it? If there
> is, could you add a TODO explaining what it is supposed to do?

Done.

http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
tools/testing/dart/status_file.dart:41: 
On 2011/10/31 16:05:20, Mads Ager wrote:
> Remove extra blank line?

Done.

http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
tools/testing/dart/status_file.dart:43: while (true) {
On 2011/10/31 16:05:20, Mads Ager wrote:
> We could do something like:
> 
> String line;
> while ((line = lines.readLine()) != null) {
>   ...
> }
> 
> To avoid the while(true), break.

Done.

http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
tools/testing/dart/status_file.dart:63: String path = prefix +
SplitPath(match[1].trim());
On 2011/10/31 16:05:20, Mads Ager wrote:
> Since SplitPath is the identify function, I would remove it until you know how
> you will use this. SplitPath looks like something that will return a list on
> which you cannot use +, so I don't think it makes sense to keep it as is.

Done.

http://codereview.chromium.org/8335008/diff/1/tools/testing/dart/status_file....
tools/testing/dart/status_file.dart:74: prefix = SplitPath(match[1]);
On 2011/10/31 16:05:20, Mads Ager wrote:
> Add a TODO here as well?

Done.

Powered by Google App Engine
This is Rietveld 408576698