]> granicus.if.org Git - icu/commitdiff
ICU-13788 Removing obsolete ICU4C NumberTest test fallback.
authorShane Carr <shane@unicode.org>
Tue, 22 May 2018 02:50:58 +0000 (02:50 +0000)
committerShane Carr <shane@unicode.org>
Tue, 22 May 2018 02:50:58 +0000 (02:50 +0000)
X-SVN-Rev: 41429

icu4c/source/test/intltest/itformat.cpp

index 01df9e5227d5f522b3acd2ff4a2156efd4c1f8d8..cea3249a44873eef45197f2676e9dca82f2c9a58 100644 (file)
 #include "dcfmtest.h"       // DecimalFormatTest
 #include "listformattertest.h"  // ListFormatterTest
 #include "regiontst.h"      // RegionTest
-
-// NumberFormatter is disabled on some platforms due to C++11 compatibility
-#if !UPRV_INCOMPLETE_CPP11_SUPPORT
-#   include "numbertest.h"     // All NumberFormatter tests
-#else
-class NumberTest : public IntlTest {
-  public:
-    void runIndexedTest(int32_t index, UBool exec, const char*& name, char*) {
-        if (index > 0) { name = ""; return; } // base case
-        name = "NumberTest";
-        if (exec) {
-            infoln(u"   NOTE: NumberTest is disabled on this platform; see ICU ticket #13393.");
-        }
-    }
-};
-#endif
+#include "numbertest.h"     // NumberTest
 
 extern IntlTest *createCompactDecimalFormatTest();
 extern IntlTest *createGenderInfoTest();
@@ -228,7 +213,8 @@ void IntlTestFormat::runIndexedTest( int32_t index, UBool exec, const char* &nam
             callTest(*test, par);
           }
           break;
-        TESTCLASS(50,NumberTest);
+        TESTCLASS(50,NumberFormatDataDrivenTest);
+        TESTCLASS(51,NumberTest);
         default: name = ""; break; //needed to end loop
     }
     if (exec) {