]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/ctestfw/tstdtmod.cpp
ICU-551.30.tar.gz
[apple/icu.git] / icuSources / tools / ctestfw / tstdtmod.cpp
index 480e40245ee4d59e8a9dfc403037aeb4a7e084af..4e71c45760207d554112e7f18b9c13cfa49f1fa6 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 2002-2010, International Business Machines Corporation and
+ * Copyright (c) 2002-2014, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 
@@ -62,7 +62,7 @@ void IcuTestErrorCode::handleFailure() const {
     UnicodeString msg(testName, -1, US_INV);
     msg.append(UNICODE_STRING_SIMPLE(" failure: ")).append(UnicodeString(errorName(), -1, US_INV));
 
-    if (get() == U_MISSING_RESOURCE_ERROR) {
+    if (get() == U_MISSING_RESOURCE_ERROR || get() == U_FILE_ACCESS_ERROR) {
         testClass.dataerrln(msg);
     } else {
         testClass.errln(msg);