ICU-4092 Increase code coverage

X-SVN-Rev: 16995
This commit is contained in:
George Rhoten 2004-12-22 00:42:18 +00:00
parent e4462ec8c6
commit 7063b3ce6d

View file

@ -202,6 +202,9 @@ UnicodeStringTest::TestBasicManipulation()
if(0!=s.caseCompare(buffer, -1, U_FOLD_CASE_DEFAULT)) {
errln("UnicodeString.caseCompare(const UChar *, length, options) does not work with length==-1");
}
if(0!=s.caseCompare(0, s.length(), buffer, U_FOLD_CASE_DEFAULT)) {
errln("UnicodeString.caseCompare(start, _length, const UChar *, options) does not work");
}
buffer[u_strlen(buffer)]=0xe4;
UnicodeString u(buffer, -1, LENGTHOF(buffer));