/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestIDNA.java | 37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 39 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 40 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 49 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 51 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 52 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() 424 uni0.append(TestData.unicodeIn[0]); in TestCompare() 427 uni1.append(TestData.unicodeIn[1]); in TestCompare() [all …]
|
D | TestIDNARef.java | 34 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 52 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 53 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 500 uni0.append(TestData.unicodeIn[0]); in TestCompare() 503 uni1.append(TestData.unicodeIn[1]); in TestCompare() 512 for(int i=0;i< TestData.unicodeIn.length; i++){ in TestCompare() 517 source.append(TestData.unicodeIn[i]); in TestCompare() 613 for(int i=0; i< TestData.unicodeIn.length; i++){ in TestChaining() 614 doTestChainingToASCII(new String(TestData.unicodeIn[i])); in TestChaining() [all …]
|
D | TestData.java | 21 public static final char[][] unicodeIn ={ field in TestData
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
D | TestIDNA.java | 40 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 41 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 42 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 43 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 52 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 53 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 54 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 55 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() 427 uni0.append(TestData.unicodeIn[0]); in TestCompare() 430 uni1.append(TestData.unicodeIn[1]); in TestCompare() [all …]
|
D | TestIDNARef.java | 37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 55 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 56 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 503 uni0.append(TestData.unicodeIn[0]); in TestCompare() 506 uni1.append(TestData.unicodeIn[1]); in TestCompare() 515 for(int i=0;i< TestData.unicodeIn.length; i++){ in TestCompare() 520 source.append(TestData.unicodeIn[i]); in TestCompare() 616 for(int i=0; i< TestData.unicodeIn.length; i++){ in TestChaining() 617 doTestChainingToASCII(new String(TestData.unicodeIn[i])); in TestChaining() [all …]
|
D | TestData.java | 24 public static final char[][] unicodeIn ={ field in TestData
|
/third_party/icu/icu4c/source/test/intltest/ |
D | testidna.cpp | 39 static const UChar unicodeIn[][41] ={ variable 705 for(i=0;i< UPRV_LENGTHOF(unicodeIn); i++){ in testToASCII() 707 testAPI(unicodeIn[i], buf,testName, FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in testToASCII() 719 testAPI(buf,unicodeIn[i],testName,FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in testToUnicode() 786 uni0.append(unicodeIn[0]); in testCompare() 790 uni1.append(unicodeIn[1]); in testCompare() 802 for(i=0;i< UPRV_LENGTHOF(unicodeIn); i++){ in testCompare() 810 source.append(unicodeIn[i]); in testCompare() 1167 for(i=0;i< UPRV_LENGTHOF(unicodeIn); i++){ in testChaining() 1168 testChaining(unicodeIn[i], 5,toASCIIName, FALSE, TRUE, toASCII); in testChaining() [all …]
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | idnatest.c | 228 static const UChar unicodeIn[][41] ={ variable 435 for(i=0;i< UPRV_LENGTHOF(unicodeIn); i++){ in TestToASCII() 437 testAPI(unicodeIn[i], buf,testName, FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestToASCII() 451 testAPI(buf,unicodeIn[i],testName,FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestToUnicode() 583 u_strcat(uni0,unicodeIn[0]); in TestCompare() 586 u_strcat(uni1,unicodeIn[1]); in TestCompare() 602 for(i=0;i< UPRV_LENGTHOF(unicodeIn); i++){ in TestCompare() 615 u_strncat(source,unicodeIn[i], u_strlen(unicodeIn[i])); in TestCompare()
|