ICU-5374 fix module test failure
X-SVN-Rev: 20310
This commit is contained in:
parent
311067b95b
commit
6e73847d8c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user