Lines Matching defs:testPath
140 const char* testPath=loadTestData(&status);
148 log_verbose("Testing udata_open(%s)\n", testPath);
149 result=udata_open(testPath, type, name, &status);
151 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
298 result = udata_open( testPath, "typ", "nam", &status);
300 log_data_err("FAIL: udata_open( \"%s\", \"typ\", \"nam\") returned status %s\n", testPath, u_errorName(status));
315 /* strcpy(icuDataFilePath, testPath); */
363 strcat(longTestPath, testPath);
654 const char* testPath="testdata";
687 result=udata_openChoice(testPath, type, name[2], isAcceptable1, NULL, &status);
690 result=udata_openChoice(testPath, type, name[2], isAcceptable3, NULL, &status);
692 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
812 const char* testPath=loadTestData(&status);
843 result=udata_open(testPath, type, name2, &status);
845 log_data_err("FAIL: udata_open() failed for path=%s name2=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
878 const char* testPath = loadTestData(&status);
901 result=udata_openChoice(testPath, type, name2, isAcceptable3, NULL, &status);
903 log_data_err("FAIL: udata_openChoice() failed for path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
937 const char *testPath = loadTestData(&status);
946 result=udata_open(testPath, type, name, &status);
948 log_data_err("FAIL: udata_open() is supposed to fail for path = %s, name=%s, type=%s, \n errorcode !=U_ZERO_ERROR\n", testPath, name, type);
958 result=udata_open(testPath, type, NULL, &status);
966 log_err("FAIL: udata_open() with data name=NULL is supposed to fail for path = %s, name=NULL type=%s errorcode=U_ZERO_ERROR \n", testPath, type);
974 result=udata_openChoice(testPath, type, name, isAcceptable3, NULL, &status);
976 log_err("FAIL: udata_openChoice() is supposed to fail for path = %s, name=%s, type=%s, \n errorcode != U_ZERO_ERROR\n", testPath, name, type);
985 result=udata_openChoice(testPath, type, NULL, isAcceptable3, NULL, &status);
993 log_err("FAIL: udata_openChoice() with data name=NULL is supposed to fail for path = %s, name=NULL type=%s errorcode=U_ZERO_ERROR \n", testPath, type);
1013 result=udata_openChoice(testPath, "tst", "nonexist", isAcceptable3, NULL, &status);
1046 const char* testPath=loadTestData(&status);
1061 app = ures_open(testPath, "root", &status);
1064 log_data_err("%s:%d: Couldn't open app ICU bundle [%s]- %s", __FILE__, __LINE__, testPath, u_errorName(status));
1633 const char *pkg, *nm, *testPath;
1643 testPath=loadTestData(&errorCode);
1704 pkg=testPath;