X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/intltest/itrbnf.h?ds=sidebyside diff --git a/icuSources/test/intltest/itrbnf.h b/icuSources/test/intltest/itrbnf.h index e00c08e4..c1965249 100644 --- a/icuSources/test/intltest/itrbnf.h +++ b/icuSources/test/intltest/itrbnf.h @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 1996-2003, International Business Machines Corporation and * + * Copyright (C) 1996-2012, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -82,6 +82,11 @@ class IntlTestRBNF : public IntlTest { */ virtual void TestItalianSpellout(); + /** + * Perform a simple spot check on the Portuguese spellout rules + */ + virtual void TestPortugueseSpellout(); + /** * Perform a simple spot check on the German spellout rules */ @@ -97,8 +102,39 @@ class IntlTestRBNF : public IntlTest { */ virtual void TestSwedishSpellout(); + /** + * Perform a simple spot check on small values + */ + virtual void TestSmallValues(); + + /** + * Test localizations using string data. + */ + virtual void TestLocalizations(); + + /** + * Test that all locales construct ok. + */ + virtual void TestAllLocales(); + + /** + * Test that hebrew fractions format without trailing '<' + */ + virtual void TestHebrewFraction(); + + /** + * Regression test, don't truncate + * when doing multiplier substitution to a number format rule. + */ + virtual void TestMultiplierSubstitution(); + + /** + * Test the setDecimalFormatSymbols in RBNF + */ + virtual void TestSetDecimalFormatSymbols(); + protected: - virtual void doTest(RuleBasedNumberFormat* formatter, const char* testData[][2], UBool testParsing); + virtual void doTest(RuleBasedNumberFormat* formatter, const char* const testData[][2], UBool testParsing); virtual void doLenientParseTest(RuleBasedNumberFormat* formatter, const char* testData[][2]); /* U_HAVE_RBNF */