Lines Matching refs:testCompare
646 void TestIDNA::testCompare(const UChar* s1, int32_t s1Len,
768 void TestIDNA::testCompare(const char* testName, CompareFunc func){
809 testCompare(src,srcLen,src,srcLen,testName, func, TRUE);
812 testCompare(src,srcLen,buf,u_strlen(buf),testName, func,TRUE);
816 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE);
818 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE);
822 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE);
824 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE);
1209 testCompare(src,srcLen,buf,u_strlen(buf),testName, func,TRUE);
1212 testCompare(src,srcLen,src,srcLen,testName, func,TRUE);
1222 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE);
1224 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE);
1228 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE);
1230 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE);
1250 case 4: name = "TestCompare"; if (exec) TestCompare(); break;
1295 void TestIDNA::TestCompare(){
1296 testCompare("uidna_compare",uidna_compare);
1572 testCompare("idnaref_compare",idnaref_compare);