Home | History | Annotate | Download | only in intltest

Lines Matching refs:source

469 source and return value of number of UChars required
478 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Expected : "
484 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
491 " null terminated source. Expected: " +UnicodeString(u_errorName(expectedStatus))
493 + " Source: " + prettify(UnicodeString(src))
508 //errln("Did not get the expected result for %s null terminated source with both options set.\n",testName);
510 " null terminated source "+ prettify(src) +
518 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
525 " null terminated source with options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
527 + " Source: " + prettify(UnicodeString(src))
534 // test source with lengthand return value of number of UChars required
543 errln("Did not get the expected result for %s with source length.\n",testName);
546 errln( "%s with source length failed. Requires destCapacity > 300\n",testName);
553 " with source length. Expected: " +UnicodeString(u_errorName(expectedStatus))
555 + " Source: " + prettify(UnicodeString(src))
570 errln("Did not get the expected result for %s with source length and both options set.\n",testName);
573 errln( "%s with source length failed. Requires destCapacity > 300\n",testName);
580 " with source length and options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
582 + " Source: " + prettify(UnicodeString(src))
597 //errln("Did not get the expected result for %s null terminated source with both options set.\n",testName);
598 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen)));
602 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
609 " null terminated source with options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
611 + " Source: " + prettify(UnicodeString(src))
626 errln("Did not get the expected result for %s with source length and both options set.\n",testName);
629 errln( "%s with source length failed. Requires destCapacity > 300\n",testName);
636 " with source length and options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
638 + " Source: " + prettify(UnicodeString(src))
657 errcheckln(status, "%s null terminated source failed. Error: %s", testName,u_errorName(status));
667 errcheckln(status, "%s null terminated source and options set failed. Error: %s",testName, u_errorName(status));
775 UnicodeString source(www), uni0(www),uni1(www), ascii0(www), ascii1(www);
800 source.truncate(4);
801 source.append(unicodeIn[i]);
802 source.append(com);
803 source.append((UChar)0x0000);
805 const UChar* src = source.getBuffer();
952 errln(UnicodeString("Conversion of UTF8 source in conformanceTestCases[") + i +UnicodeString( "].in ( ")+prettify(utf8Chars1) +UnicodeString(" ) failed. Error: ")+ UnicodeString(u_errorName(status)));
958 errln(UnicodeString("Conversion of UTF8 source in conformanceTestCases[") + i +UnicodeString( "].in ( ")+prettify(utf8Chars1) +UnicodeString(" ) failed. Error: ")+ UnicodeString(u_errorName(status)));
1003 // test null-terminated source
1006 errcheckln(status, "%s null terminated source failed. Error: %s",testName, u_errorName(status));
1014 errcheckln(status, "%s null terminated source failed - %s",testName, u_errorName(status));
1020 errln("%s null terminated source failed\n",testName);
1029 errln("Chaining for %s null terminated source failed\n",testName);
1035 errln("Chaining for %s null terminated source failed\n",testName);
1039 // test null-terminated source
1043 errcheckln(status, "%s null terminated source with options set failed. Error: %s",testName, u_errorName(status));
1051 errcheckln(status, "%s null terminated source with options set failed - %s",testName, u_errorName(status));
1057 errln("%s null terminated source with options set failed\n",testName);
1066 errln("Chaining for %s null terminated source with options set failed\n",testName);
1072 errln("Chaining for %s null terminated source with options set failed\n",testName);
1077 // test source with length
1081 errcheckln(status, "%s null terminated source failed. Error: %s",testName, u_errorName(status));
1089 errcheckln(status, "%s source with source length failed - %s",testName, u_errorName(status));
1095 errcheckln(status, "%s source with source length failed - %s",testName, u_errorName(status));
1104 errln("Chaining for %s source with source length failed\n",testName);
1110 errln("Chaining for %s source with source length failed\n",testName);
1116 errcheckln(status, "%s null terminated source with options set failed. Error: %s",testName, u_errorName(status));
1124 errcheckln(status, "%s source with source length and options set failed - %s",testName, u_errorName(status));
1130 errcheckln(status, "%s source with source length and options set failed - %s",testName, u_errorName(status));
1139 errln("Chaining for %s source with source length and options set failed\n",testName);
1145 errln("Chaining for %s source with source length and options set failed\n",testName);
1174 UnicodeString source(www), uni0(www),uni1(www), ascii0(www), ascii1(www);
1199 source.truncate(4);
1200 source.append(unicodeIn[i]);
1201 source.append(com);
1202 source.append((UChar)0x0000);
1204 const UChar* src = source.getBuffer();
1382 + " for Source: "+ prettify(srcUChars)
1395 + " for Source: "+ prettify(srcUChars)
1460 UnicodeString source;
1471 source.truncate(0);
1472 getTestSource(source);
1473 source.append((UChar)0x0000);
1474 const UChar* src = source.getBuffer();
1475 testCompareReferenceImpl(src,source.length()-1);
1476 testCompareReferenceImpl(src,source.length()-1);
1481 source.truncate(0);
1482 source.append( UnicodeString(failures[i], -1, US_INV) );
1483 source = source.unescape();
1484 source.append((UChar)0x0000);
1485 const UChar *src = source.getBuffer();
1486 testCompareReferenceImpl(src,source.length()-1);
1487 //debug(source.getBuffer(),source.length(),UIDNA_ALLOW_UNASSIGNED);
1491 source.truncate(0);
1492 source.append(UNICODE_STRING_SIMPLE("\\uCF18\\U00021161\\U000EEF11\\U0002BB82\\U0001D63C"));
1493 debug(source.getBuffer(),source.length(),UIDNA_ALLOW_UNASSIGNED);
1496 UnicodeString source("\\u043f\\u00AD\\u034f\\u043e\\u0447\\u0435\\u043c\\u0443\\u0436\\u0435\\u043e\\u043d\\u0438\\u043d\\u0435\\u0433\\u043e\\u0432\\u043e\\u0440\\u044f\\u0442\\u043f\\u043e\\u0440\\u0443\\u0441\\u0441\\u043a\\u0438\\u0000", -1, US_INV);
1497 source = source.unescape();
1502 testAPI(source.getBuffer(),ascii.getBuffer(), "uidna_toASCII", FALSE, U_ZERO_ERROR, TRUE, TRUE, uidna_toASCII);
1504 testAPI(source.getBuffer(),ascii.getBuffer(), "idnaref_toASCII", FALSE, U_ZERO_ERROR, TRUE, TRUE, idnaref_toASCII);
1506 testCompareReferenceImpl(source.getBuffer(), source.length()-1);