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

Issue 2855073002: Small-scale clean ups in test.dart, mainly around test_progress. (Closed)

Created:
3 years, 7 months ago by Bob Nystrom
Modified:
3 years, 7 months ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Small-scale clean ups in test.dart, mainly around test_progress. Stuff like: - Use core lib methods like padLeft() now that they exist. - Use collection literals (!). - Use getters where appropriate. - Make Formatter enum-like since it has no interesting instance state. R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/9cd2f83ef75b5c9c64207b716e2d3cb3f228dd0b

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -197 lines) Patch
M tools/testing/dart/http_server.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_configurations.dart View 5 chunks +9 lines, -9 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_progress.dart View 12 chunks +164 lines, -168 lines 2 comments Download
M tools/testing/dart/test_suite.dart View 1 chunk +12 lines, -18 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Bob Nystrom
3 years, 7 months ago (2017-05-03 00:13:49 UTC) #2
Bill Hesse
lgtm
3 years, 7 months ago (2017-05-03 08:25:27 UTC) #3
Bob Nystrom
Committed patchset #1 (id:1) manually as 9cd2f83ef75b5c9c64207b716e2d3cb3f228dd0b (presubmit successful).
3 years, 7 months ago (2017-05-03 23:50:53 UTC) #5
ahe
https://codereview.chromium.org/2855073002/diff/1/tools/testing/dart/test_progress.dart File tools/testing/dart/test_progress.dart (right): https://codereview.chromium.org/2855073002/diff/1/tools/testing/dart/test_progress.dart#newcode592 tools/testing/dart/test_progress.dart:592: formatter.failed('FAILED: ${test.configurationString}${test.displayName}') There's a space missing between ${test.configurationString} and ...
3 years, 7 months ago (2017-05-09 07:30:00 UTC) #6
Bob Nystrom
3 years, 7 months ago (2017-05-09 17:32:36 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2855073002/diff/1/tools/testing/dart/test_pro...
File tools/testing/dart/test_progress.dart (right):

https://codereview.chromium.org/2855073002/diff/1/tools/testing/dart/test_pro...
tools/testing/dart/test_progress.dart:592: formatter.failed('FAILED:
${test.configurationString}${test.displayName}')
On 2017/05/09 07:30:00, ahe wrote:
> There's a space missing between ${test.configurationString} and
> ${test.displayName}

Good catch, thanks!

https://codereview.chromium.org/2866273002/

Powered by Google App Engine
This is Rietveld 408576698