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

Issue 8392022: Move JSON unit tests to new test API. (Closed)

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

Description

Move JSON unit tests to new test API. Committed: https://code.google.com/p/dart/source/detail?r=905

Patch Set 1 #

Total comments: 6

Patch Set 2 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -248 lines) Patch
M client/testing/unittest/unittestsuite.dart View 1 1 chunk +11 lines, -0 lines 0 comments Download
D client/tests/client/json/cmd_json_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D client/tests/client/json/json_test.dart View 1 chunk +0 lines, -179 lines 0 comments Download
D client/tests/client/json/json_test.html View 1 chunk +0 lines, -9 lines 0 comments Download
M client/tests/client/json/json_tests.dart View 1 1 chunk +155 lines, -5 lines 0 comments Download
D client/tests/client/json/web_json_test.dart View 1 chunk +0 lines, -24 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Bob Nystrom
In addition to moving it to use the new test API, this also deletes a ...
9 years, 2 months ago (2011-10-26 00:14:23 UTC) #1
Siggi Cherem (dart-lang)
lgtm http://codereview.chromium.org/8392022/diff/1/client/tests/client/json/json_tests.dart File client/tests/client/json/json_tests.dart (right): http://codereview.chromium.org/8392022/diff/1/client/tests/client/json/json_tests.dart#newcode100 client/tests/client/json/json_tests.dart:100: validateRoundTrip({'x':3, 'y':-4.5, 'z':'hi', 'w':null, 'u':true, 'v':false}); 80 col
9 years, 2 months ago (2011-10-26 00:16:40 UTC) #2
Anton Muhin
LGTM, but 1) all this stuff was needed to be able to run tests standalone ...
9 years, 1 month ago (2011-10-26 13:21:00 UTC) #3
Bob Nystrom
On 2011/10/26 13:21:00, antonmuhin wrote: > LGTM, but > > 1) all this stuff was ...
9 years, 1 month ago (2011-10-27 21:05:26 UTC) #4
Bob Nystrom
9 years, 1 month ago (2011-10-27 21:06:14 UTC) #5
Not checking in just yet in case there's anything else Anton wants me to do...

http://codereview.chromium.org/8392022/diff/1/client/tests/client/json/json_t...
File client/tests/client/json/json_tests.dart (right):

http://codereview.chromium.org/8392022/diff/1/client/tests/client/json/json_t...
client/tests/client/json/json_tests.dart:100: validateRoundTrip({'x':3,
'y':-4.5, 'z':'hi', 'w':null, 'u':true, 'v':false});
On 2011/10/26 00:16:40, sigmund wrote:
> 80 col

Done.

http://codereview.chromium.org/8392022/diff/1/client/tests/client/json/json_t...
client/tests/client/json/json_tests.dart:140: expectValueEquals(expected,
actual, [String message='']) {
On 2011/10/26 13:21:00, antonmuhin wrote:
> nit: spaces around = 

Done.

http://codereview.chromium.org/8392022/diff/1/client/tests/client/json/json_t...
client/tests/client/json/json_tests.dart:158: [String message='', bool
checkValues=true]) {
On 2011/10/26 13:21:00, antonmuhin wrote:
> nit: ditto.

Done.

Powered by Google App Engine
This is Rietveld 408576698