]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/idnaconf.cpp
ICU-511.25.tar.gz
[apple/icu.git] / icuSources / test / intltest / idnaconf.cpp
index bfee104a5bcab9962d9d8bdc417ca538267cbc6a..5bf2f34303be064eb0f3a9685d81c4b2ee28cc93 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *******************************************************************************
  *
- *   Copyright (C) 2005-2008, International Business Machines
+ *   Copyright (C) 2005-2009, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  *
  *******************************************************************************
@@ -80,7 +80,7 @@ UBool IdnaConfTest::ReadAndConvertFile(){
     delete [] absolute_name;
 
     if (f == NULL){
-        dataerrln("[DATA] fopen error on %s", name);
+        dataerrln("fopen error on %s", name);
         return FALSE;
     }
 
@@ -241,8 +241,9 @@ void IdnaConfTest::Call(){
         }
         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