ICU-13788 Removing obsolete ICU4C NumberTest test fallback.

X-SVN-Rev: 41429
This commit is contained in:
Shane Carr 2018-05-22 02:50:58 +00:00
parent 0a2aeb017a
commit 576fd85602

View File

@ -59,22 +59,7 @@
#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) {