mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-4235 Use more verbose output.
X-SVN-Rev: 18384
This commit is contained in:
parent
3dd740cc9d
commit
d4a1e7c1fe
1 changed files with 3 additions and 8 deletions
|
@ -1609,7 +1609,8 @@ void RandomCollatorTest::Test(){
|
|||
|
||||
|
||||
static const int CONSTRUCT_RANDOM_COUNT = 10;
|
||||
for (int i=0; i < CONSTRUCT_RANDOM_COUNT; i++){
|
||||
int i;
|
||||
for (i=0; i < CONSTRUCT_RANDOM_COUNT; i++){
|
||||
const char * rule = test_rule.get_a_string();
|
||||
logln("\n-----------------------------------%d\n",i);
|
||||
logln(UnicodeString(rule, strlen(rule)));
|
||||
|
@ -1619,16 +1620,10 @@ void RandomCollatorTest::Test(){
|
|||
Collator * c = new RuleBasedCollator(newRule,status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
errln( "Could not create Collator for rules at %d. Error: %s\n", i, u_errorName(status));
|
||||
// //fwrite(rule, sizeof(rule),1,stderr);
|
||||
errln( "Could not create Collator for rules at %d. Error: %s\nRule is: %s\n", i, u_errorName(status), rule);
|
||||
return;
|
||||
}
|
||||
|
||||
////if (!coll_test(*c)){
|
||||
//// errln( "RandomCollatorTest Collation object test failed.");
|
||||
//// errln(rule);
|
||||
//// return;
|
||||
////}
|
||||
delete c;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue