]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/cintltst/eurocreg.c
ICU-511.35.tar.gz
[apple/icu.git] / icuSources / test / cintltst / eurocreg.c
index f82d9f7543fe5f4d0fa26c641f2a298bd2b5eb52..8e29d4c6815800352afa4ef82a8b186324ca6128 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1999-2003, International Business Machines Corporation and
+ * Copyright (c) 1999-2006, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 #include "unicode/utypes.h"
@@ -11,6 +11,7 @@
 void TestEuroRegression(void);
 void addTestEuroRegression(TestNode** root);
 
+#if !UCONFIG_NO_LEGACY_CONVERSION
 void addTestEuroRegression(TestNode** root)
 {
     addTest(root, &TestEuroRegression, "tsconv/eurocreg/TestEuroRegression");
@@ -45,7 +46,7 @@ void addTestEuroRegression(TestNode** root)
  * I could not find such "updates" for codepages 1362 and 1363 - we might want to supply them later.
  */
 
-char convertersToCheck[][15] = { 
+static const char convertersToCheck[][15] = { 
   "cp1250",
   "cp1251",
   "cp1252",
@@ -87,7 +88,7 @@ char convertersToCheck[][15] = {
   "cp1253",
   /*  "cp819",
       "cp13488",*/
-  "cpibm4971",
+  "ibm-4971",
   /*"ibm-9061",*/ /* was "cp869" changed 2002nov25 */
   /* "cp813",*/
   /*"ibm-9044",*/ /* was "cp852" changed 2002nov25 */
@@ -105,7 +106,7 @@ char convertersToCheck[][15] = {
   "ibm-5123", /* was "cp1027" changed 2003jan08 */
   /* "cp300",*/
   /* "cp4930",*/
-  "cp1364",
+  "ibm-1364",
   /* "cp1362" removed 2000nov28 */
   "cp1363",
   /* "cp1114", removed 2002jul3 
@@ -179,3 +180,9 @@ UBool isEuroAware(UConverter* myConv)
     }
 
 }
+#else
+void addTestEuroRegression(TestNode** root)
+{
+    /* test nothing... */
+}
+#endif