]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/lcukocol.cpp
ICU-62123.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / lcukocol.cpp
index f48ebd957f60e193e71bb3552fcc5f67c86eb92f..8cbf299103a82f6cf44c1b55df942d73e24df86e 100644 (file)
@@ -1,6 +1,8 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /********************************************************************
  * 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 +38,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 +82,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 = "";
     }
 }