]> granicus.if.org Git - icu/commitdiff
ICU-13053 disable a test that is executed (when it shouldn't) when
authorNorbert Runge <nrunge@google.com>
Mon, 27 Mar 2017 16:05:50 +0000 (16:05 +0000)
committerNorbert Runge <nrunge@google.com>
Mon, 27 Mar 2017 16:05:50 +0000 (16:05 +0000)
UCONFIG_NO_LEGACY_CONVERSION is set.

X-SVN-Rev: 39940

icu4c/source/test/intltest/csdetest.cpp

index 5194cbb094d214157114f9665c6f460adaf5e682..4edacad64354f375e5457e622d95f6e99452843a 100644 (file)
@@ -818,7 +818,7 @@ void CharsetDetectionTest::Ticket6394Test() {
 //               similar Windows and non-Windows SBCS encodings. State was kept in the shared
 //               Charset Recognizer objects, and could be overwritten.
 void CharsetDetectionTest::Ticket6954Test() {
-#if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_FORMATTING
+#if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_LEGACY_CONVERSION && !UCONFIG_NO_FORMATTING
     UErrorCode status = U_ZERO_ERROR;
     UnicodeString sISO = "This is a small sample of some English text. Just enough to be sure that it detects correctly.";
     UnicodeString ssWindows("This is another small sample of some English text. Just enough to be sure that it detects correctly."