Lines Matching defs:versionString
209 char versionString[17]; /* xxx.xxx.xxx.xxx\0 */
216 u_versionToString(versionArray, versionString);
217 if(strcmp(versionString, "1.0.2.2") != 0){
218 log_err("ERROR: u_versionToString() failed. Expected: 1.0.2.2, Got=%s\n", versionString);
221 u_versionToString(NULL, versionString);
222 if(strcmp(versionString, "") != 0){
226 u_versionToString(NULL, versionString);
227 if(strcmp(versionString, "") != 0){
230 log_verbose("Testing the API u_versionToString().....with versionString=NULL\n");
232 if(strcmp(versionString, "") != 0){
237 u_versionToString(versionArray, versionString);
238 if(strcmp(versionString, "10.0.2.2") != 0){
239 log_err("ERROR: u_versionToString() failed. Expected: 10.0.2.2, Got=%s\n", versionString);
242 u_versionToString(versionArray, versionString);
243 if(strcmp(versionString, "160.0.2.2") != 0){
244 log_err("ERROR: u_versionToString() failed. Expected: 160.0.2.2, Got=%s\n", versionString);
248 u_versionToString(versionArray, versionString);
249 if(strcmp(versionString, "160.160.2.2") != 0){
250 log_err("ERROR: u_versionToString() failed. Expected: 160.160.2.2, Got=%s\n", versionString);
254 u_versionToString(versionArray, versionString);
255 if(strcmp(versionString, "1.10.2.2") != 0){
256 log_err("ERROR: u_versionToString() failed. Expected: 160.160.2.2, Got=%s\n", versionString);
261 u_versionToString(versionArray, versionString);
262 if(strcmp(versionString, "1.3.5.6") != 0){
263 log_err("ERROR: u_getVersion() failed. Expected: 1.3.5.6, Got=%s\n", versionString);
267 u_versionToString(versionArray, versionString);
268 if(strcmp(versionString, "1.3.5.6") != 0){
269 log_err("ERROR: u_getVersion() failed. Expected: 1.3.5.6, Got=%s\n", versionString);
274 u_versionToString(versionArray, versionString);
275 if(strcmp(versionString, U_ICU_VERSION) != 0){
276 log_err("ERROR: u_getVersion() failed. Got=%s, expected %s\n", versionString, U_ICU_VERSION);
282 u_versionToString(versionArray2, versionString);
285 versionString,
292 log_verbose(" from UString: %s\n", versionString);