]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/lcukocol.cpp
ICU-511.25.tar.gz
[apple/icu.git] / icuSources / test / intltest / lcukocol.cpp
index f48ebd957f60e193e71bb3552fcc5f67c86eb92f..6116a71208d3e2f43f9b66636328f24f464efe20 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2003, International Business Machines Corporation and
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
  * others. All Rights Reserved. 
  ********************************************************************/
 
@@ -36,7 +36,7 @@ LotusCollationKoreanTest::LotusCollationKoreanTest()
     if(U_SUCCESS(status)) {
       myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
     } else {
-      errln("Couldn't instantiate the collator with %s", u_errorName(status));
+      errcheckln(status, "Couldn't instantiate the collator with %s", u_errorName(status));
       delete myCollation;
       myCollation = 0;
     }
@@ -80,7 +80,7 @@ void LotusCollationKoreanTest::runIndexedTest( int32_t index, UBool exec, const
           default: name = ""; break;
       }
     } else {
-      errln("Class collator not instantiated");
+      dataerrln("Class collator not instantiated");
       name = "";
     }
 }