Lines Matching full:collator
14 *//* C API TEST For COLLATOR */
172 log_err_status(status, "Unable to open collator. %s\n", u_errorName(status));
286 /* Collator Properties
298 * Expected version of the English collator.
316 log_err_status(status, "Default Collator creation failed.: %s\n", myErrorName(status));
429 log_verbose("open an collator for french locale");
482 log_err_status(status, "RuleBased Collator creation failed.: %s\n", myErrorName(status));
486 log_verbose("PASS: RuleBased Collator creation passed\n");
491 log_err("RuleBased Collator creation failed.: %s\n", myErrorName(status));
495 log_verbose("PASS: RuleBased Collator creation passed\n");
501 log_err("Default Collator creation failed.: %s\n", myErrorName(status));
505 log_verbose("PASS: Default Collator creation passed\n");
511 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed");
512 doAssert((u_strcmp(rule2, rule3) != 0), "Default collator getRules failed");
513 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed");
517 log_err("RuleBased Collator creation failed.: %s\n", myErrorName(status));
521 doAssert((u_strcmp(rule2, rule4) == 0), "Default collator getRules failed");
535 log_err("RuleBased Collator creation failed.: %s\n", myErrorName(status));
540 log_err("en_US Collator creation failed.: %s\n", myErrorName(status));
572 log_err("RuleBased Collator creation failed.: %s\n", myErrorName(status));
696 /* one default collator & two complex ones */
714 log_err("FAIL: Cloned Collator failed to deal correctly with null status\n");
720 log_err("FAIL: Cloned Collator failed to deal correctly with incoming error status\n");
727 log_err("FAIL: Cloned Collator failed to deal correctly with null bufferSize pointer\n");
735 log_err("FAIL: Cloned Collator failed a sizing request ('preflighting')\n");
745 log_err("FAIL: Collator can't be cloned with run-time size\n");
752 log_err("FAIL: Cloned Collator failed to deal correctly with too-small buffer size\n");
759 /* Null buffer pointer - return Collator & set error to U_SAFECLONE_ALLOCATED_ERROR */
762 log_err("FAIL: Cloned Collator failed to deal correctly with null buffer pointer\n");
767 /* Null Collator - return NULL & set U_ILLEGAL_ARGUMENT_ERROR */
770 log_err("FAIL: Cloned Collator failed to deal correctly with null Collator pointer\n");
775 /* Test that a cloned collator doesn't accidentally use UCA. */
782 log_err("FAIL: Cloned German phonebook collator is not equal to original.\n");
798 log_err("FAIL: collator number %d was not allocated.\n", index);
799 log_err("FAIL: status of Collator[%d] is %d (hex: %x).\n", index, err, err);
809 log_err("FAIL: Cloned collator didn't use provided buffer.\n");
813 log_err("FAIL: Cloned collator is not equal to original at index = %d.\n", index);
841 log_data_err("Couldn't open collator. Error: %s\n", u_errorName(err));
876 log_err("ucol_openBinary - new collator should equal to old one\n");
914 log_data_err("ERROR: Creating collator from rules failed with locale: %s : %s\n", curLoc, myErrorName(status));
994 /* create a collator the normal API way */
1004 /* use those rules to create a collator from rules */
1007 log_err("ERROR: Creating collator from rules failed with locale: %s : %s\n", curLoc, myErrorName(err));
1434 log_err_status(status, "Failed to open collator for %s with %s\n", testStruct[i].requestedLocale, u_errorName(status));
1453 /* completely non-existant locale for collator should get a default collator */
1463 log_err("Valid locale for nonexisting locale locale collator differs "
1464 "from valid locale for default collator\n");
1468 log_err("Actual locale for nonexisting locale locale collator differs "
1469 "from actual locale for default collator\n");
1480 /* collator instantiated from rules should have all three locales NULL */
1484 log_err("For collator instantiated from rules, requested locale returned %s instead of NULL\n", locale);
1488 log_err("For collator instantiated from rules, valid locale returned %s instead of NULL\n", locale);
1492 log_err("For collator instantiated from rules, actual locale returned %s instead of NULL\n", locale);
1676 log_data_err("Couldn't open collator\n");
1745 log_err_status(error, "Creation of default collator failed\n");
1877 log_err_status(status, "Couldn't open collator with rules %s\n", setTest[i].rules);
2016 log_data_err("Couldn't open collator");
2076 log_err("Got short string '%s' from the collator. Expected '%s' for input '%s'\n",
2091 log_err("Collator from short string ('%s') differs from one obtained through a normalized version ('%s')\n",
2203 log_err_status(status, "Unable to open collator for locale %s ==> %s\n", tests[i].locale, u_errorName(status));
2277 log_data_err("could not load UCA collator or error occured: %s\n",
2311 log_data_err("Unable to open collator es@collation=pinyin\n");