Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3889)

Issue 299470043: ICU ticket #12548: adds unit test coverage to uncovered Normalization APIs

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 10 months ago by nrunge
Modified:
7 years, 9 months ago
Reviewers:
andy.heninger, yoshito_umaoka, markus.icu
Base URL:
svn+ssh://source.icu-project.org/repos/icu/icu4j/branches/nrunge/12590
Visibility:
Public.

Description

ICU ticket #12548: adds unit test coverage to uncovered Normalization APIs

Patch Set 1 #

Total comments: 6

Patch Set 2 : code review changes r39013 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -115 lines) Patch
M main/tests/core/src/com/ibm/icu/dev/test/format/RelativeDateTimeFormatterTest.java View 1 1 chunk +0 lines, -26 lines 0 comments Download
M main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java View 1 47 chunks +76 lines, -89 lines 0 comments Download

Messages

Total messages: 4
nrunge
7 years, 10 months ago (2016-06-30 21:59:01 UTC) #1
andy.heninger
https://codereview.appspot.com/299470043/diff/1/main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java File main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java (right): https://codereview.appspot.com/299470043/diff/1/main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java#newcode1479 main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java:1479: Spaces at end of line. Check whole file, there ...
7 years, 9 months ago (2016-07-21 00:06:42 UTC) #2
nrunge
code review changes r39013
7 years, 9 months ago (2016-07-21 23:13:25 UTC) #3
nrunge
7 years, 9 months ago (2016-07-21 23:16:23 UTC) #4
https://codereview.appspot.com/299470043/diff/1/main/tests/core/src/com/ibm/i...
File main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java (right):

https://codereview.appspot.com/299470043/diff/1/main/tests/core/src/com/ibm/i...
main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java:1479: 
On 2016/07/21 00:06:42, andy.heninger wrote:
> Spaces at end of line. Check whole file, there appear to be many cases. I
> thought the eclipse project file was set to automatically delete them.

Done.

https://codereview.appspot.com/299470043/diff/1/main/tests/core/src/com/ibm/i...
main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java:1624:
mode=(Normalizer.Mode)cases2[0][0];
On 2016/07/21 00:06:42, andy.heninger wrote:
> Since there is no loop and only a single test case in cases2, why not just
> assign the values for mode, destination, etc. directly?

The array was intended for easier test case extension. Deleted now.

https://codereview.appspot.com/299470043/diff/1/main/tests/core/src/com/ibm/i...
main/tests/core/src/com/ibm/icu/dev/test/normalizer/BasicTest.java:2902:
assertEquals("Character decomposition failed", null,
tnorm2.getRawDecomposition(c));
On 2016/07/21 00:06:42, andy.heninger wrote:
> Test is fine, but the message seems confusing, since the expected result from
> the base class function isn't really doing the advertised operation in the
first
> place. Maybe "unexpected value returned from
Normalizer2.getRawDecomposition()"
> or some such. Similar for the other two.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b