ICU-5374 fix module test failure

X-SVN-Rev: 20310
This commit is contained in:
Ram Viswanadha 2006-09-12 21:42:15 +00:00
parent 311067b95b
commit 6e73847d8c

View File

@ -1386,7 +1386,9 @@ public class UnicodeSetTest extends TestFmwk {
};
public void TestPrettyPrinting() {
try{
PrettyPrinter pp = new PrettyPrinter();
int i = 0;
for (; i < prettyData.length; ++i) {
UnicodeSet test = new UnicodeSet(prettyData[i]);
@ -1409,6 +1411,9 @@ public class UnicodeSetTest extends TestFmwk {
test.complement((int)start, (int)end);
checkPrettySet(pp, i, test);
}
}catch(RuntimeException ex){
warnln("Could not load Collator");
}
}
private void checkPrettySet(PrettyPrinter pp, int i, UnicodeSet test) {