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

Issue 10441104: New expectation functions plus convert old tests to use these. (Closed)

Created:
8 years, 6 months ago by gram
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

New expectation functions plus convert old tests to use these. Committed: https://code.google.com/p/dart/source/detail?r=8355

Patch Set 1 #

Patch Set 2 : #

Total comments: 265

Patch Set 3 : #

Total comments: 40

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 22

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2366 lines, -450 lines) Patch
A lib/unittest/collection_matchers.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +157 lines, -0 lines 0 comments Download
A lib/unittest/core_matchers.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +410 lines, -0 lines 0 comments Download
A lib/unittest/description.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +92 lines, -0 lines 0 comments Download
A lib/unittest/expect.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +125 lines, -0 lines 0 comments Download
D lib/unittest/expectation.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -80 lines 0 comments Download
A lib/unittest/interfaces.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +77 lines, -0 lines 0 comments Download
A lib/unittest/map_matchers.dart View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
A lib/unittest/matcher.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +36 lines, -0 lines 0 comments Download
A lib/unittest/numeric_matchers.dart View 1 2 3 4 5 6 7 8 1 chunk +225 lines, -0 lines 0 comments Download
A lib/unittest/operator_matchers.dart View 1 2 3 1 chunk +176 lines, -0 lines 0 comments Download
A lib/unittest/string_matchers.dart View 1 2 3 4 1 chunk +192 lines, -0 lines 0 comments Download
M lib/unittest/unittest.dart View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +55 lines, -31 lines 0 comments Download
M samples/tests/samples/lib/observable/abstract_observable_tests.dart View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +16 lines, -16 lines 0 comments Download
M samples/tests/samples/lib/observable/event_batch_tests.dart View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -5 lines 0 comments Download
M samples/tests/samples/lib/observable/observable_list_tests.dart View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +40 lines, -40 lines 0 comments Download
M samples/tests/samples/lib/observable/observable_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -6 lines 0 comments Download
M samples/tests/samples/lib/observable/observable_value_tests.dart View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -8 lines 0 comments Download
M samples/tests/samples/lib/util/util_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -9 lines 0 comments Download
M samples/tests/samples/lib/view/view_test.dart View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +13 lines, -13 lines 0 comments Download
M tests/dom/canvas_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/history_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -4 lines 0 comments Download
M tests/dom/messageevent_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -7 lines 0 comments Download
M tests/html/canvas_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/html/history_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -4 lines 0 comments Download
M tests/html/messageevent_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -7 lines 0 comments Download
M tests/html/transferables_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -5 lines 0 comments Download
M tests/html/typed_arrays_range_checks_test.dart View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -12 lines 0 comments Download
M tests/isolate/mandel_isolate_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/mint_maker_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_compute_this_script_browser_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_function_custom_class_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_function_negative_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_function_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_uri_negative_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_uri_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_uri_vm_negative_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_spawn_uri_vm_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_unresolved_ports_negative_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M tests/isolate/v2_unresolved_ports_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M tests/json/json_test.dart View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +75 lines, -98 lines 0 comments Download
M tests/lib/args/args_test.dart View 1 2 3 4 5 6 7 8 9 10 11 23 chunks +40 lines, -39 lines 0 comments Download
M tests/utils/dartdoc_test.dart View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +49 lines, -49 lines 0 comments Download
M tests/utils/markdown_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A tests/utils/unittest_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +453 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
gram
May as well take advantage of the pain meds...
8 years, 6 months ago (2012-05-30 20:45:22 UTC) #1
Bob Nystrom
This has to be a record for number of comments on a single patch. I ...
8 years, 6 months ago (2012-05-30 23:23:51 UTC) #2
gram
PTAL, thanks! http://codereview.chromium.org/10441104/diff/1044/lib/unittest/collection_matchers.dart File lib/unittest/collection_matchers.dart (right): http://codereview.chromium.org/10441104/diff/1044/lib/unittest/collection_matchers.dart#newcode5 lib/unittest/collection_matchers.dart:5: // Collection matchers match against a collection. ...
8 years, 6 months ago (2012-06-01 17:33:15 UTC) #3
Bob Nystrom
Looks much better. A small(er) number of comments but this is close to being done. ...
8 years, 6 months ago (2012-06-01 18:22:22 UTC) #4
gram
PTAL http://codereview.chromium.org/10441104/diff/1044/lib/unittest/collection_matchers.dart File lib/unittest/collection_matchers.dart (right): http://codereview.chromium.org/10441104/diff/1044/lib/unittest/collection_matchers.dart#newcode26 lib/unittest/collection_matchers.dart:26: bool matches(collection) { On 2012/06/01 18:22:22, Bob Nystrom ...
8 years, 6 months ago (2012-06-01 22:21:59 UTC) #5
Bob Nystrom
LGTM! When this is in and working, we should tell the public about the new ...
8 years, 6 months ago (2012-06-01 22:29:00 UTC) #6
gram
I made a few more changes. If you don't mind take a look at the ...
8 years, 6 months ago (2012-06-02 00:29:12 UTC) #7
Bob Nystrom
Nits but LGTM. http://codereview.chromium.org/10441104/diff/39001/lib/unittest/core_matchers.dart File lib/unittest/core_matchers.dart (right): http://codereview.chromium.org/10441104/diff/39001/lib/unittest/core_matchers.dart#newcode235 lib/unittest/core_matchers.dart:235: if (item.length * item.length >= 0) ...
8 years, 6 months ago (2012-06-04 20:04:09 UTC) #8
gram
Take a look at the comment I added in core_matchers about the length test and ...
8 years, 6 months ago (2012-06-05 16:25:45 UTC) #9
gram
Adding Siggy
8 years, 6 months ago (2012-06-05 16:30:07 UTC) #10
Bob Nystrom
LGTM! http://codereview.chromium.org/10441104/diff/39001/lib/unittest/core_matchers.dart File lib/unittest/core_matchers.dart (right): http://codereview.chromium.org/10441104/diff/39001/lib/unittest/core_matchers.dart#newcode235 lib/unittest/core_matchers.dart:235: if (item.length * item.length >= 0) { // ...
8 years, 6 months ago (2012-06-05 16:50:36 UTC) #11
gram
http://codereview.chromium.org/10441104/diff/39001/lib/unittest/core_matchers.dart File lib/unittest/core_matchers.dart (right): http://codereview.chromium.org/10441104/diff/39001/lib/unittest/core_matchers.dart#newcode235 lib/unittest/core_matchers.dart:235: if (item.length * item.length >= 0) { // hack ...
8 years, 6 months ago (2012-06-05 16:59:53 UTC) #12
gram
I have added some missing tests for the new isNonNegative/isNonPositive matchers, and fixed an omission ...
8 years, 6 months ago (2012-06-05 18:02:13 UTC) #13
gram
A last set of changes - removed a few cases of trailing whitespace on lines, ...
8 years, 6 months ago (2012-06-05 21:54:06 UTC) #14
Bob Nystrom
On 2012/06/05 21:54:06, gram wrote: > A last set of changes - removed a few ...
8 years, 6 months ago (2012-06-05 22:26:35 UTC) #15
Siggi Cherem (dart-lang)
LGTM!! This looks amazingly cool! After such a thorough review from Bob (+1 on wow!), ...
8 years, 6 months ago (2012-06-06 00:26:08 UTC) #16
gram
PTAL at a couple of the issues below. http://codereview.chromium.org/10441104/diff/60002/lib/unittest/collection_matchers.dart File lib/unittest/collection_matchers.dart (right): http://codereview.chromium.org/10441104/diff/60002/lib/unittest/collection_matchers.dart#newcode44 lib/unittest/collection_matchers.dart:44: * ...
8 years, 6 months ago (2012-06-06 16:23:55 UTC) #17
Siggi Cherem (dart-lang)
8 years, 6 months ago (2012-06-06 22:32:45 UTC) #18
lgtm

Powered by Google App Engine
This is Rietveld 408576698