Home | History | Annotate | Download | only in intltest

Lines Matching full:error

52         errln(UnicodeString("ERROR : ") + message);
78 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) returns a different collator\n", locale.getName(), locale.getName());
82 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) fails: %s\n", locale.getName(), locale.getName(), u_errorName(errorCode));
272 errln("error: ucol_openVersion(bogus version) succeeded");
397 errcheckln(status, "ERROR: collation creation failed. - %s", u_errorName(status));
404 errln("ERROR: vi_VN collation did not have canonical decomposition for normalization!\n");
409 errln("ERROR: el_GR collation did not have canonical decomposition for normalization!\n");
414 errln("ERROR: en_US collation had canonical decomposition for normalization!\n");
438 Error: %s", u_errorName(err));
554 "Error code should return bogus collation key");
675 errln("Error in getOffset for collation element iterator\n");
680 errln("Error in setOffset for collation element iterator\n");
808 //test error values
813 errln("Error: createInstance(UErrorCode != U_ZERO_ERROR) should just return and not create an instance\n");
822 errln("Expeceted error");
826 errln("Expeceted error");
1104 errcheckln(status, "ERROR: Default collation creation failed.: %s\n", u_errorName(status));
1110 errln("ERROR: default collation did not have UCOL_DEFAULT_STRENGTH !\n");
1312 errcheckln(status, "Collator creation failed with error %s", u_errorName(status));
1418 UErrorCode error = U_ZERO_ERROR;
1419 Collator *coll = Collator::createInstance("en_US", error);
1420 if (U_FAILURE(error)) {
1421 errcheckln(error, "Failure creating english collator - %s", u_errorName(error));
1442 UErrorCode error = U_ZERO_ERROR;
1443 Collator *coll = Collator::createInstance(error);
1445 if (U_FAILURE(error)) {
1446 errcheckln(error, "Creation of default collator failed - %s", u_errorName(error));
1450 coll->setAttribute(UCOL_FRENCH_COLLATION, UCOL_OFF, error);
1451 if (coll->getAttribute(UCOL_FRENCH_COLLATION, error) != UCOL_OFF ||
1452 U_FAILURE(error)) {
1456 coll->setAttribute(UCOL_FRENCH_COLLATION, UCOL_ON, error);
1457 if (coll->getAttribute(UCOL_FRENCH_COLLATION, error) != UCOL_ON ||
1458 U_FAILURE(error)) {
1462 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, error);
1463 if (coll->getAttribute(UCOL_ALTERNATE_HANDLING, error) != UCOL_SHIFTED ||
1464 U_FAILURE(error)) {
1468 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, error);
1469 if (coll->getAttribute(UCOL_ALTERNATE_HANDLING, error) != UCOL_NON_IGNORABLE ||
1470 U_FAILURE(error)) {
1474 coll->setAttribute(UCOL_CASE_FIRST, UCOL_LOWER_FIRST, error);
1475 if (coll->getAttribute(UCOL_CASE_FIRST, error) != UCOL_LOWER_FIRST ||
1476 U_FAILURE(error)) {
1480 coll->setAttribute(UCOL_CASE_FIRST, UCOL_UPPER_FIRST, error);
1481 if (coll->getAttribute(UCOL_CASE_FIRST, error) != UCOL_UPPER_FIRST ||
1482 U_FAILURE(error)) {
1486 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, error);
1487 if (coll->getAttribute(UCOL_CASE_LEVEL, error) != UCOL_ON ||
1488 U_FAILURE(error)) {
1492 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, error);
1493 if (coll->getAttribute(UCOL_CASE_LEVEL, error) != UCOL_OFF ||
1494 U_FAILURE(error)) {
1498 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, error);
1499 if (coll->getAttribute(UCOL_NORMALIZATION_MODE, error) != UCOL_ON ||
1500 U_FAILURE(error)) {
1504 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_OFF, error);
1505 if (coll->getAttribute(UCOL_NORMALIZATION_MODE, error) != UCOL_OFF ||
1506 U_FAILURE(error)) {
1510 coll->setAttribute(UCOL_STRENGTH, UCOL_PRIMARY, error);
1511 if (coll->getAttribute(UCOL_STRENGTH, error) != UCOL_PRIMARY ||
1512 U_FAILURE(error)) {
1516 coll->setAttribute(UCOL_STRENGTH, UCOL_SECONDARY, error);
1517 if (coll->getAttribute(UCOL_STRENGTH, error) != UCOL_SECONDARY ||
1518 U_FAILURE(error)) {
1522 coll->setAttribute(UCOL_STRENGTH, UCOL_TERTIARY, error);
1523 if (coll->getAttribute(UCOL_STRENGTH, error) != UCOL_TERTIARY ||
1524 U_FAILURE(error)) {
1528 coll->setAttribute(UCOL_STRENGTH, UCOL_QUATERNARY, error);
1529 if (coll->getAttribute(UCOL_STRENGTH, error) != UCOL_QUATERNARY ||
1530 U_FAILURE(error)) {
1534 coll->setAttribute(UCOL_STRENGTH, UCOL_IDENTICAL, error);
1535 if (coll->getAttribute(UCOL_STRENGTH, error) != UCOL_IDENTICAL ||
1536 U_FAILURE(error)) {
1551 errcheckln(status, "Collator creation failed with error %s", u_errorName(status));
1611 log("[Coll %s]: Error in requested locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].requestedLocale, locale.getName());
1615 log("[Coll %s]: Error in valid locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName());
1619 log("[Coll %s]: Error in actual locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].actualLocale, locale.getName());
2209 errln("Error: expected default tailoring to be 0 to 0x10ffff");