]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/itformat.cpp
ICU-551.41.tar.gz
[apple/icu.git] / icuSources / test / intltest / itformat.cpp
index ed08d47bd5697e39c872a24a60c2fedc1ceb3bad..04043b5ede5e7f6ae78a297645ae4fd881875837 100644 (file)
 
 extern IntlTest *createCompactDecimalFormatTest();
 extern IntlTest *createGenderInfoTest();
 
 extern IntlTest *createCompactDecimalFormatTest();
 extern IntlTest *createGenderInfoTest();
+#if !UCONFIG_NO_BREAK_ITERATION
 extern IntlTest *createRelativeDateTimeFormatterTest();
 extern IntlTest *createRelativeDateTimeFormatterTest();
+#endif
 extern IntlTest *createMeasureFormatTest();
 extern IntlTest *createMeasureFormatTest();
+extern IntlTest *createNumberFormatSpecificationTest();
+extern IntlTest *createScientificNumberFormatterTest();
 
 #define TESTCLASS(id, TestClass)          \
     case id:                              \
 
 #define TESTCLASS(id, TestClass)          \
     case id:                              \
@@ -160,6 +164,7 @@ void IntlTestFormat::runIndexedTest( int32_t index, UBool exec, const char* &nam
           break;
         TESTCLASS(45,RegionTest);
         case 46:
           break;
         TESTCLASS(45,RegionTest);
         case 46:
+#if !UCONFIG_NO_BREAK_ITERATION
           name = "RelativeDateTimeFormatterTest";
           if (exec) {
             logln("RelativeDateTimeFormatterTest test---");
           name = "RelativeDateTimeFormatterTest";
           if (exec) {
             logln("RelativeDateTimeFormatterTest test---");
@@ -167,6 +172,7 @@ void IntlTestFormat::runIndexedTest( int32_t index, UBool exec, const char* &nam
             LocalPointer<IntlTest> test(createRelativeDateTimeFormatterTest());
             callTest(*test, par);
           }
             LocalPointer<IntlTest> test(createRelativeDateTimeFormatterTest());
             callTest(*test, par);
           }
+#endif
           break;
         case 47:
           name = "MeasureFormatTest";
           break;
         case 47:
           name = "MeasureFormatTest";
@@ -177,6 +183,24 @@ void IntlTestFormat::runIndexedTest( int32_t index, UBool exec, const char* &nam
             callTest(*test, par);
           }
           break;
             callTest(*test, par);
           }
           break;
+        case 48:
+          name = "NumberFormatSpecificationTest";
+          if (exec) {
+            logln("NumberFormatSpecificationTest test---");
+            logln((UnicodeString)"");
+            LocalPointer<IntlTest> test(createNumberFormatSpecificationTest());
+            callTest(*test, par);
+          }
+          break;
+       case 49:
+          name = "ScientificNumberFormatterTest";
+          if (exec) {
+            logln("ScientificNumberFormatterTest test---");
+            logln((UnicodeString)"");
+            LocalPointer<IntlTest> test(createScientificNumberFormatterTest());
+            callTest(*test, par);
+          }
+          break;
         default: name = ""; break; //needed to end loop
     }
     if (exec) {
         default: name = ""; break; //needed to end loop
     }
     if (exec) {