Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: source/test/intltest/nptrans.cpp

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/intltest/measfmttest.cpp ('k') | source/test/intltest/numfmtspectest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/nptrans.cpp
diff --git a/source/test/intltest/nptrans.cpp b/source/test/intltest/nptrans.cpp
index a4a591ba2a26fd72d3d4c8c4309973b7b20a083d..27345adf62e79c298072be76ac8158742322dc60 100644
--- a/source/test/intltest/nptrans.cpp
+++ b/source/test/intltest/nptrans.cpp
@@ -1,7 +1,7 @@
/*
*******************************************************************************
*
- * Copyright (C) 2003-2010, International Business Machines
+ * Copyright (C) 2003-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -27,7 +27,7 @@
#include "ustr_imp.h"
#include "intltest.h"
-#ifdef DEBUG
+#ifdef NPTRANS_DEBUG
#include <stdio.h>
#endif
@@ -84,14 +84,14 @@ NamePrepTransform::NamePrepTransform(UParseError& parseError, UErrorCode& status
pattern = ures_getStringByKey(bundle,"ProhibitedSet",&patternLen, &status);
UnicodeString test(pattern,patternLen);
prohibited.applyPattern(test,status);
-#ifdef DEBUG
+#ifdef NPTRANS_DEBUG
if(U_FAILURE(status)){
printf("Construction of Unicode set failed\n");
}
if(U_SUCCESS(status)){
if(prohibited.contains((UChar) 0x644)){
- printf("The string contains 0x644 ... damn !!\n");
+ printf("The string contains 0x644 ... !!\n");
}
UnicodeString temp;
prohibited.toPattern(temp,TRUE);
« no previous file with comments | « source/test/intltest/measfmttest.cpp ('k') | source/test/intltest/numfmtspectest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698