Lines Matching refs:testCases
305 const char *testCases[] = { in TestCompareVersions() local
320 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions()
321 v1str = testCases[j+0]; in TestCompareVersions()
322 opstr = testCases[j+1]; in TestCompareVersions()
323 v2str = testCases[j+2]; in TestCompareVersions()
550 } testCases[] = { in toolutil_findBasename() local
568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); in toolutil_findBasename()
575 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename()
576 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename()
578 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename()
596 } testCases[] = { in toolutil_findDirname() local
664 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); in toolutil_findDirname()
669 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findDirname()
670 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findDirname()
675 …result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status… in toolutil_findDirname()
677 if(status != testCases[i].expectStatus) { in toolutil_findDirname()
678 …but expected %s\n", i, count-1, input, u_errorName(status), u_errorName(testCases[i].expectStatus)… in toolutil_findDirname()