]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/tsdate.cpp
ICU-64252.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / tsdate.cpp
index 00f740ec0a13bf6a869a5116e1ff6fa3ce381be0..596ce97024bfbaf533da05d961c1f6e9914d8765 100644 (file)
@@ -1,5 +1,7 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /***********************************************************************
- * Copyright (c) 1997-2006, International Business Machines Corporation
+ * Copyright (c) 1997-2009, International Business Machines Corporation
  * and others. All Rights Reserved.
  ***********************************************************************/
 
@@ -11,6 +13,7 @@
 #include "unicode/smpdtfmt.h"
 #include "tsdate.h"
 #include "putilimp.h"
+#include "cstring.h"
 
 #include <float.h>
 #include <stdlib.h>
@@ -112,7 +115,7 @@ void IntlTestDateFormat::testFormat(/* char* par */)
 {
     if (fFormat == 0)
     {
-        errln("FAIL: DateFormat creation failed");
+        dataerrln("FAIL: DateFormat creation failed");
         return;
     }
 
@@ -263,7 +266,7 @@ void IntlTestDateFormat::testAvailableLocales(/* char* par */)
         }
         logln(all);
     }
-    else errln((UnicodeString)"**** FAIL: Zero available locales or null array pointer");
+    else dataerrln((UnicodeString)"**** FAIL: Zero available locales or null array pointer");
 }
 
 void IntlTestDateFormat::monsterTest(/*char *par*/)