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

Issue 763783003: Add isNotEmpty to core_matchers. (Closed)

Created:
6 years ago by blackhc
Modified:
6 years ago
CC:
reviews_dartlang.org, dskloet
Visibility:
Public.

Description

Add isNotEmpty to core_matchers. BUG=https://code.google.com/p/dart/issues/detail?id=21562 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=42119

Patch Set 1 #

Total comments: 9

Patch Set 2 : Code review changes #

Total comments: 4

Patch Set 3 : Style fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -9 lines) Patch
M pkg/matcher/lib/src/core_matchers.dart View 1 2 1 chunk +17 lines, -8 lines 0 comments Download
M pkg/matcher/test/core_matchers_test.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M pkg/matcher/test/iterable_matchers_test.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/matcher/test/matchers_minified_test.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/matcher/test/matchers_unminified_test.dart View 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/matcher/test/string_matchers_test.dart View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
blackhc
Please change the reviewers appropriately :) I haven't used depot_tools before etc. Thanks, Andreas PS: ...
6 years ago (2014-11-27 14:23:43 UTC) #2
Lasse Reichstein Nielsen
How about testing with maps, and a wider variety of iterables (List, Set, Queue, and ...
6 years ago (2014-11-27 15:22:47 UTC) #3
Lasse Reichstein Nielsen
Adding someone with more experience with the unittest package.
6 years ago (2014-11-27 15:27:03 UTC) #5
dskloet
https://codereview.chromium.org/763783003/diff/1/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/763783003/diff/1/pkg/matcher/lib/src/core_matchers.dart#newcode20 pkg/matcher/lib/src/core_matchers.dart:20: } else if (item is String) { On 2014/11/27 ...
6 years ago (2014-11-27 15:27:53 UTC) #7
blackhc
Thanks for the review! https://codereview.chromium.org/763783003/diff/1/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/763783003/diff/1/pkg/matcher/lib/src/core_matchers.dart#newcode20 pkg/matcher/lib/src/core_matchers.dart:20: } else if (item is ...
6 years ago (2014-11-28 16:12:30 UTC) #8
nweiz
lgtm https://codereview.chromium.org/763783003/diff/20001/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/763783003/diff/20001/pkg/matcher/lib/src/core_matchers.dart#newcode29 pkg/matcher/lib/src/core_matchers.dart:29: bool matches(item, Map matchState) { Nit: empty lines ...
6 years ago (2014-12-01 22:18:07 UTC) #9
blackhc
Thanks for the review! https://codereview.chromium.org/763783003/diff/20001/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/763783003/diff/20001/pkg/matcher/lib/src/core_matchers.dart#newcode29 pkg/matcher/lib/src/core_matchers.dart:29: bool matches(item, Map matchState) { ...
6 years ago (2014-12-03 10:07:17 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years ago (2014-12-04 10:27:08 UTC) #13
nweiz
6 years ago (2014-12-04 21:28:13 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 42119 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698