Lines Matching refs:testPath
144 const char* testPath=loadTestData(&status);
156 result=udata_open(testPath, type, name, &status);
158 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
260 result = udata_open( testPath, "typ", "nam", &status);
262 log_data_err("FAIL: udata_open( \"%s\", \"typ\", \"nam\") returned status %s\n", testPath, u_errorName(status));
277 /* strcpy(icuDataFilePath, testPath); */
325 strcat(longTestPath, testPath);
616 const char* testPath="testdata";
649 result=udata_openChoice(testPath, type, name[2], isAcceptable1, NULL, &status);
652 result=udata_openChoice(testPath, type, name[2], isAcceptable3, NULL, &status);
654 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
774 const char* testPath=loadTestData(&status);
805 result=udata_open(testPath, type, name2, &status);
807 log_data_err("FAIL: udata_open() failed for path=%s name2=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
840 const char* testPath = loadTestData(&status);
863 result=udata_openChoice(testPath, type, name2, isAcceptable3, NULL, &status);
865 log_data_err("FAIL: udata_openChoice() failed for path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
899 const char *testPath = loadTestData(&status);
908 result=udata_open(testPath, type, name, &status);
910 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);
920 result=udata_open(testPath, type, NULL, &status);
928 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);
936 result=udata_openChoice(testPath, type, name, isAcceptable3, NULL, &status);
938 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);
947 result=udata_openChoice(testPath, type, NULL, isAcceptable3, NULL, &status);
955 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);
975 result=udata_openChoice(testPath, "tst", "nonexist", isAcceptable3, NULL, &status);
1008 const char* testPath=loadTestData(&status);
1023 app = ures_open(testPath, "root", &status);
1026 log_data_err("%s:%d: Couldn't open app ICU bundle [%s]- %s", __FILE__, __LINE__, testPath, u_errorName(status));
1589 const char *pkg, *nm, *testPath;
1599 testPath=loadTestData(&errorCode);
1661 pkg=testPath;