/*
*******************************************************************************
*
- * Copyright (C) 2005-2006, International Business Machines
+ * Copyright (C) 2005-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
static const UChar C_TAG[] = {0x3D, 0x3D, 0x3D, 0x3D, 0x3D, 0}; // =====
static const UChar C_NAMEZONE[] = {0x6E, 0x61, 0x6D, 0x65, 0x7A, 0x6F, 0x6E, 0x65, 0}; // namezone
static const UChar C_NAMEBASE[] = {0x6E, 0x61, 0x6D, 0x65, 0x62, 0x61, 0x73, 0x65, 0}; // namebase
-static const UChar C_NAMEUTF8[] = {0x6E, 0x61, 0x6D, 0x65, 0x75, 0x74, 0x66, 0x38, 0}; // nameutf8
static const UChar C_TYPE[] = {0x74, 0x79, 0x70, 0x65, 0}; // type
static const UChar C_TOASCII[] = {0x74, 0x6F, 0x61, 0x73, 0x63, 0x69, 0x69, 0}; // toascii
delete [] absolute_name;
if (f == NULL){
- errln("fopen error on %s", name);
+ dataerrln("fopen error on %s", name);
return FALSE;
}
}
if (passfail == 0){
if (U_FAILURE(status)){
- id.append(" should pass, but failed.");
- errln(id);
+ id.append(" should pass, but failed. - ");
+ id.append(u_errorName(status));
+ errcheckln(status, id);
} else{
if (namezone.compare(result, -1) == 0){
// expected