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

Issue 11275217: Refactor test.dart. (Closed)

Created:
8 years, 1 month ago by Bob Nystrom
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org, ahe, Bill Hesse, kustermann
Visibility:
Public.

Description

The goal here is to rearrange StandardTestSuite so that it's possible override some of its behavior for running package tests while still keeping the rest of the behavior. This patch is just the refactoring. I'll do the actual pub stuff in a separate patch. Committed: https://code.google.com/p/dart/source/detail?r=14757

Patch Set 1 #

Patch Set 2 : Split out some async code into futures, also some other minor clean-ups. #

Patch Set 3 : Make test case enqueuing future based. #

Total comments: 7

Patch Set 4 : Fix a couple of issues. #

Patch Set 5 : "waitForDartium" -> "updateDartium". #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -287 lines) Patch
M samples/tests/dartc/test_config.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/test_config.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/multitest.dart View 1 2 3 chunks +5 lines, -7 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 3 4 chunks +9 lines, -6 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 4 27 chunks +327 lines, -272 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Bob Nystrom
OK, I think this should be enough for now. The idea is that now I'll ...
8 years, 1 month ago (2012-11-09 00:44:04 UTC) #1
Emily Fortuna
looks nice! just a few comments. lgtm https://codereview.chromium.org/11275217/diff/5001/samples/tests/dartc/test_config.dart File samples/tests/dartc/test_config.dart (right): https://codereview.chromium.org/11275217/diff/5001/samples/tests/dartc/test_config.dart#newcode50 samples/tests/dartc/test_config.dart:50: bool get ...
8 years, 1 month ago (2012-11-09 01:41:44 UTC) #2
Bob Nystrom
Thanks! https://codereview.chromium.org/11275217/diff/5001/tools/testing/dart/multitest.dart File tools/testing/dart/multitest.dart (right): https://codereview.chromium.org/11275217/diff/5001/tools/testing/dart/multitest.dart#newcode242 tools/testing/dart/multitest.dart:242: return null; On 2012/11/09 01:41:44, Emily Fortuna wrote: ...
8 years, 1 month ago (2012-11-09 20:56:26 UTC) #3
Emily Fortuna
https://codereview.chromium.org/11275217/diff/5001/tools/testing/dart/multitest.dart File tools/testing/dart/multitest.dart (right): https://codereview.chromium.org/11275217/diff/5001/tools/testing/dart/multitest.dart#newcode242 tools/testing/dart/multitest.dart:242: return null; On 2012/11/09 20:56:26, Bob Nystrom wrote: > ...
8 years, 1 month ago (2012-11-09 21:03:14 UTC) #4
Bill Hesse
8 years, 1 month ago (2012-11-11 14:02:55 UTC) #5
Looks nice - cleaner than before.  Thanks.

Powered by Google App Engine
This is Rietveld 408576698