Home | History | Annotate | Download | only in cintltst

Lines Matching defs:testName

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