Lines Matching refs:testCases
307 const char *testCases[] = { in TestCompareVersions() local
322 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions()
323 v1str = testCases[j+0]; in TestCompareVersions()
324 opstr = testCases[j+1]; in TestCompareVersions()
325 v2str = testCases[j+2]; in TestCompareVersions()
552 } testCases[] = { in toolutil_findBasename() local
570 int32_t count=UPRV_LENGTHOF(testCases); in toolutil_findBasename()
577 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename()
578 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename()
580 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename()
598 } testCases[] = { in toolutil_findDirname() local
666 int32_t count=UPRV_LENGTHOF(testCases); in toolutil_findDirname()
671 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findDirname()
672 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findDirname()
677 …result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status… in toolutil_findDirname()
679 if(status != testCases[i].expectStatus) { in toolutil_findDirname()
680 …but expected %s\n", i, count-1, input, u_errorName(status), u_errorName(testCases[i].expectStatus)… in toolutil_findDirname()