]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/numfmtst.h
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / test / intltest / numfmtst.h
index 07ab0aa1ffbdd1114670356f97ddf2b50467e7f8..2c7e5bbefbdd8968334087131c904dc07f305f5b 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2004, International Business Machines Corporation and
+ * Copyright (c) 1997-2006, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
  
@@ -28,6 +28,9 @@ class NumberFormatTest: public CalendarTimeZoneTest {
      * Test APIs (to increase code coverage)
      */   
     void TestAPI(void);
+
+    void TestCoverage(void);
+
     /**
      * Test the handling of quotes
      **/
@@ -102,6 +105,10 @@ class NumberFormatTest: public CalendarTimeZoneTest {
 
     void TestCurrencyNames(void);
 
+    void TestCurrencyAmount(void);
+
+    void TestCurrencyUnit(void);
+
     void TestSymbolsWithBadLocale(void);
 
     void TestAdoptDecimalFormatSymbols(void);
@@ -109,9 +116,14 @@ class NumberFormatTest: public CalendarTimeZoneTest {
     void TestPerMill(void);
 
     void TestIllegalPatterns(void);
-
+    
     void TestCases(void);
 
+    void TestJB3832(void);
+
+    void TestHost(void);
+
+    void TestCurrencyFormat(void);
  private:
 
     static UBool equalValue(const Formattable& a, const Formattable& b);
@@ -153,20 +165,6 @@ class NumberFormatTest: public CalendarTimeZoneTest {
     void expectCurrency(NumberFormat& nf, const Locale& locale,
                         double value, const UnicodeString& string);
 
-    void expectPat(DecimalFormat& fmt, const UnicodeString& exp);
-
-    void expectPat(DecimalFormat& fmt, const char *exp) {
-        expectPat(fmt, UnicodeString(exp, ""));
-    }
-
-    void expectPad(DecimalFormat& fmt, const UnicodeString& pat,
-                   int32_t pos);
-
-    void expectPad(DecimalFormat& fmt, const char *pat,
-                   int32_t pos) {
-        expectPad(fmt, pat, pos, 0, (UChar)0);
-    }
-
     void expectPad(DecimalFormat& fmt, const UnicodeString& pat,
                    int32_t pos, int32_t width, UChar pad);
 
@@ -183,6 +181,20 @@ class NumberFormatTest: public CalendarTimeZoneTest {
         expectPad(fmt, UnicodeString(pat, ""), pos, width, pad);
     }
 
+    void expectPat(DecimalFormat& fmt, const UnicodeString& exp);
+
+    void expectPat(DecimalFormat& fmt, const char *exp) {
+        expectPat(fmt, UnicodeString(exp, ""));
+    }
+
+    void expectPad(DecimalFormat& fmt, const UnicodeString& pat,
+                   int32_t pos);
+
+    void expectPad(DecimalFormat& fmt, const char *pat,
+                   int32_t pos) {
+        expectPad(fmt, pat, pos, 0, (UChar)0);
+    }
+
     // internal utility routine
     static UnicodeString& escape(UnicodeString& s);