extern int
testData(TestIDNA& test) {
- char* filename = (char*) malloc(strlen(IntlTest::pathToDataDirectory())*5555);
- //TODO get the srcDir dynamically
- const char *srcDir=IntlTest::pathToDataDirectory();
char *basename=NULL;
UErrorCode errorCode=U_ZERO_ERROR;
char *saveBasename =NULL;
return errorCode;
}
+ char* filename = (char*) malloc(strlen(IntlTest::pathToDataDirectory())*1024);
+ //TODO get the srcDir dynamically
+ const char *srcDir=IntlTest::pathToDataDirectory();
+
idnTrie = &profile->sprepTrie;
indexes = profile->indexes;
mappingData = profile->mappingData;