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

Issue 8413058: Add command-line non-client support to unit test lib. (Closed)

Created:
9 years, 1 month ago by Bob Nystrom
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add command-line non-client support to unit test lib. Committed: https://code.google.com/p/dart/source/detail?r=927

Patch Set 1 #

Total comments: 9

Patch Set 2 : Add sample async test. #

Patch Set 3 : Move "platform" to prefix. #

Patch Set 4 : Rename a couple of methods. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -529 lines) Patch
A client/testing/unittest/sample.dart View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A + client/testing/unittest/shared.dart View 1 2 3 9 chunks +47 lines, -118 lines 0 comments Download
M client/testing/unittest/unittest.dart View 1 2 3 1 chunk +94 lines, -2 lines 0 comments Download
A client/testing/unittest/unittest_vm.dart View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
D client/testing/unittest/unittestsuite.dart View 1 chunk +0 lines, -409 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bob Nystrom
This pulls the client-specific code out of the main unit test file. It then specifies ...
9 years, 1 month ago (2011-10-28 23:10:20 UTC) #1
sra1
lgtm http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/sample.dart File client/testing/unittest/sample.dart (right): http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/sample.dart#newcode45 client/testing/unittest/sample.dart:45: } Can you add an async test?
9 years, 1 month ago (2011-10-28 23:31:10 UTC) #2
Siggi Cherem (dart-lang)
http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/shared.dart File client/testing/unittest/shared.dart (right): http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/shared.dart#newcode136 client/testing/unittest/shared.dart:136: _runTestsPlatform(); this feels like an odd name for what ...
9 years, 1 month ago (2011-10-28 23:35:13 UTC) #3
Bob Nystrom
Open for ideas on how to make the entrypoint/platform-specific functions look better. http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/sample.dart File client/testing/unittest/sample.dart ...
9 years, 1 month ago (2011-10-28 23:57:48 UTC) #4
Siggi Cherem (dart-lang)
http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/shared.dart File client/testing/unittest/shared.dart (right): http://codereview.chromium.org/8413058/diff/1/client/testing/unittest/shared.dart#newcode136 client/testing/unittest/shared.dart:136: _runTestsPlatform(); On 2011/10/28 23:57:48, Bob Nystrom wrote: > On ...
9 years, 1 month ago (2011-10-29 00:13:19 UTC) #5
Siggi Cherem (dart-lang)
lgtm - with the name changes we talked about ...
9 years, 1 month ago (2011-10-29 00:37:26 UTC) #6
jimhug
9 years, 1 month ago (2011-10-30 20:05:53 UTC) #7
LGTM

I'm eager to try this out!  I don't yet have any good suggestions on how to
improve the platform-specific parts, but I agree that this feels like something
that could be cleaner.  We'll just have to keep pushing on this one - I have a
feeling that it won't become fully clear and clean until we also work out our
"package" story.

Powered by Google App Engine
This is Rietveld 408576698