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

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

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 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/nmfmtrt.h ('k') | source/test/intltest/numberformat2test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/nmfmtrt.cpp
diff --git a/source/test/intltest/nmfmtrt.cpp b/source/test/intltest/nmfmtrt.cpp
index e4d8d3804e58564824c01479774e732da4c25209..171e7b1ffb53b86744dbfea4ae47f9e456cafb56 100644
--- a/source/test/intltest/nmfmtrt.cpp
+++ b/source/test/intltest/nmfmtrt.cpp
@@ -1,6 +1,6 @@
/***********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2011, International Business Machines Corporation
+ * Copyright (c) 1997-2015, International Business Machines Corporation
* and others. All Rights Reserved.
***********************************************************************/
@@ -26,7 +26,7 @@
UBool NumberFormatRoundTripTest::verbose = FALSE;
UBool NumberFormatRoundTripTest::STRING_COMPARE = TRUE;
UBool NumberFormatRoundTripTest::EXACT_NUMERIC_COMPARE = FALSE;
-UBool NumberFormatRoundTripTest::DEBUG = FALSE;
+UBool NumberFormatRoundTripTest::DEBUG_VAR = FALSE;
double NumberFormatRoundTripTest::MAX_ERROR = 1e-14;
double NumberFormatRoundTripTest::max_numeric_error = 0.0;
double NumberFormatRoundTripTest::min_numeric_error = 1.0;
@@ -243,12 +243,12 @@ NumberFormatRoundTripTest::test(NumberFormat *fmt, const Formattable& value)
Formattable n;
UBool show = verbose;
- if(DEBUG)
+ if(DEBUG_VAR)
logln(/*value.getString(temp) +*/ " F> " + escape(s));
fmt->parse(s, n, status);
failure(status, "fmt->parse");
- if(DEBUG)
+ if(DEBUG_VAR)
logln(escape(s) + " P> " /*+ n.getString(temp)*/);
if(isDouble(n))
@@ -256,7 +256,7 @@ NumberFormatRoundTripTest::test(NumberFormat *fmt, const Formattable& value)
else
s2 = fmt->format(n.getLong(), s2);
- if(DEBUG)
+ if(DEBUG_VAR)
logln(/*n.getString(temp) +*/ " F> " + escape(s2));
if(STRING_COMPARE) {
« no previous file with comments | « source/test/intltest/nmfmtrt.h ('k') | source/test/intltest/numberformat2test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698