Lines Matching defs:testPath
134 const char* testPath=loadTestData(&status);
142 log_verbose("Testing udata_open(%s)\n", testPath);
143 result=udata_open(testPath, type, name, &status);
145 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
292 result = udata_open( testPath, "typ", "nam", &status);
294 log_data_err("FAIL: udata_open( \"%s\", \"typ\", \"nam\") returned status %s\n", testPath, u_errorName(status));
309 /* strcpy(icuDataFilePath, testPath); */
357 strcat(longTestPath, testPath);
648 const char* testPath="testdata";
681 result=udata_openChoice(testPath, type, name[2], isAcceptable1, NULL, &status);
684 result=udata_openChoice(testPath, type, name[2], isAcceptable3, NULL, &status);
686 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
806 const char* testPath=loadTestData(&status);
837 result=udata_open(testPath, type, name2, &status);
839 log_data_err("FAIL: udata_open() failed for path=%s name2=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
872 const char* testPath = loadTestData(&status);
895 result=udata_openChoice(testPath, type, name2, isAcceptable3, NULL, &status);
897 log_data_err("FAIL: udata_openChoice() failed for path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
931 const char *testPath = loadTestData(&status);
940 result=udata_open(testPath, type, name, &status);
942 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);
952 result=udata_open(testPath, type, NULL, &status);
960 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);
968 result=udata_openChoice(testPath, type, name, isAcceptable3, NULL, &status);
970 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);
979 result=udata_openChoice(testPath, type, NULL, isAcceptable3, NULL, &status);
987 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);
1007 result=udata_openChoice(testPath, "tst", "nonexist", isAcceptable3, NULL, &status);
1040 const char* testPath=loadTestData(&status);
1055 app = ures_open(testPath, "root", &status);
1058 log_data_err("%s:%d: Couldn't open app ICU bundle [%s]- %s", __FILE__, __LINE__, testPath, u_errorName(status));
1624 const char *pkg, *nm, *testPath;
1634 testPath=loadTestData(&errorCode);
1695 pkg=testPath;