mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-13788 Removing obsolete ICU4C NumberTest test fallback.
X-SVN-Rev: 41429
This commit is contained in:
parent
0a2aeb017a
commit
576fd85602
1 changed files with 3 additions and 17 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue