• Home
  • Raw
  • Download

Lines Matching refs:testName

72 testAPI(const UChar* src, const UChar* expected, const char* testName,  in testAPI()  argument
105 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
110 …ted error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
124 …"Did not get the expected result for %s null terminated source with both options set.\n",testName); in testAPI()
128 … log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
133 …for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
148 log_err("Did not get the expected result for %s with source length.\n",testName); in testAPI()
151 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
156 …t the expected error for %s with source length. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
170 …_err("Did not get the expected result for %s with source length and both options set.\n",testName); in testAPI()
173 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
178 …rror for %s with source length and options set. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
191 …"Did not get the expected result for %s null terminated source with both options set.\n",testName); in testAPI()
195 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
200 …for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
214 …_err("Did not get the expected result for %s with source length and both options set.\n",testName); in testAPI()
217 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
222 …rror for %s with source length and options set. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
432 const char* testName = "uidna_toASCII"; in TestToASCII() local
436 testAPI(unicodeIn[i], buf,testName, FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestToASCII()
446 const char* testName = "uidna_toUnicode"; in TestToUnicode() local
450 testAPI(buf,unicodeIn[i],testName,FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestToUnicode()
463 const char* testName="uidna_IDNToUnicode"; in TestIDNToUnicode() local
470 … log_err( "%s failed to convert domainNames[%i].Error: %s \n",testName, i, u_errorName(status)); in TestIDNToUnicode()
473 testAPI(buf,expected,testName,FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestIDNToUnicode()
475 testAPI(buf,expected,testName, FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestIDNToUnicode()
477 … log_err( "%s failed to convert domainNames[%i].Error: %s \n",testName,i, u_errorName(status)); in TestIDNToUnicode()
492 const char* testName="udina_IDNToASCII"; in TestIDNToASCII() local
500 … log_err( "%s failed to convert domainNames[%i].Error: %s \n",testName,i, u_errorName(status)); in TestIDNToASCII()
503 testAPI(buf,expected,testName, FALSE,U_ZERO_ERROR, TRUE, TRUE, func); in TestIDNToASCII()
505 testAPI(buf,expected,testName, FALSE,U_ZERO_ERROR, FALSE, TRUE, func); in TestIDNToASCII()
507 … log_err( "%s failed to convert domainNames[%i].Error: %s \n",testName,i, u_errorName(status)); in TestIDNToASCII()
519 const char* testName, CompareFunc func, in testCompareWithSrc() argument
526 log_err("Did not get the expected result for %s with null termniated strings.\n",testName); in testCompareWithSrc()
529 log_err( "%s null terminated source failed. Error: %s\n", testName,u_errorName(status)); in testCompareWithSrc()
536 …id not get the expected result for %s with null termniated strings with options set.\n", testName); in testCompareWithSrc()
539 …log_err( "%s null terminated source and options set failed. Error: %s\n",testName, u_errorName(sta… in testCompareWithSrc()
546 log_err("Did not get the expected result for %s with string length.\n",testName); in testCompareWithSrc()
549 log_err( "%s with string length. Error: %s\n",testName, u_errorName(status)); in testCompareWithSrc()
556 … log_err("Did not get the expected result for %s with string length and options set.\n",testName); in testCompareWithSrc()
559 … log_err( "%s with string length and options set. Error: %s\n", u_errorName(status), testName); in testCompareWithSrc()
568 const char* testName ="uidna_compare"; in TestCompare() local
621 testCompareWithSrc(src,srcLen,src,srcLen,testName, func, TRUE); in TestCompare()
624 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); in TestCompare()
628 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE); in TestCompare()
630 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE); in TestCompare()
634 testCompareWithSrc(src,srcLen,ascii1,u_strlen(ascii1),testName, func,FALSE); in TestCompare()
636 testCompareWithSrc(src,srcLen,ascii0,u_strlen(ascii0),testName, func,FALSE); in TestCompare()