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