]> granicus.if.org Git - icu/commit
ICU-10944 Update ICUBinaryTest to test readHeader(ByteBuffer).
authorFredrik Roubert <roubert@google.com>
Tue, 15 Jul 2014 20:11:41 +0000 (20:11 +0000)
committerFredrik Roubert <roubert@google.com>
Tue, 15 Jul 2014 20:11:41 +0000 (20:11 +0000)
commit73071730b90f0366cc77a83920362cf5add0889f
tree32667053a155a1a2e63d52c6280620f2e62bb856
parente12467f252eee4c57bb93b8b8ac1b906b56514af
ICU-10944 Update ICUBinaryTest to test readHeader(ByteBuffer).

Testing readHeader(InputStream) is no longer of any importance, as the
use of that method is going away.

This also exposes a bug in the test data; the size field was zero.

Also add statement to actually test lenient data version.

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/105670044

X-SVN-Rev: 36032
icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUBinaryTest.java