Lines Matching refs:testCases
321 const char *testCases[] = { in TestCompareVersions() local
336 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions()
337 v1str = testCases[j+0]; in TestCompareVersions()
338 opstr = testCases[j+1]; in TestCompareVersions()
339 v2str = testCases[j+2]; in TestCompareVersions()
566 } testCases[] = { in toolutil_findBasename() local
584 int32_t count=UPRV_LENGTHOF(testCases); in toolutil_findBasename()
591 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename()
592 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename()
594 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename()
612 } testCases[] = { in toolutil_findDirname() local
680 int32_t count=UPRV_LENGTHOF(testCases); in toolutil_findDirname()
685 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findDirname()
686 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findDirname()
691 …result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status… in toolutil_findDirname()
693 if(status != testCases[i].expectStatus) { in toolutil_findDirname()
694 …but expected %s\n", i, count-1, input, u_errorName(status), u_errorName(testCases[i].expectStatus)… in toolutil_findDirname()