Class DefaultFormatFactoryTest


  • @UnitTest
    public class DefaultFormatFactoryTest
    extends java.lang.Object
    Test covering FormatFactory service.
    • Constructor Detail

      • DefaultFormatFactoryTest

        public DefaultFormatFactoryTest()
    • Method Detail

      • setUp

        public void setUp()
      • tearDown

        public void tearDown()
      • testGetCurrencyFormat

        public void testGetCurrencyFormat()
      • testGetCurrencyFormatWithLocale

        public void testGetCurrencyFormatWithLocale()
      • testGetCurrencyFormatWithCurrencyWithoutFractionSymbol

        public void testGetCurrencyFormatWithCurrencyWithoutFractionSymbol()
      • testGetCurrencyFormatWithCurrencyWithFractionAndSymbol

        public void testGetCurrencyFormatWithCurrencyWithFractionAndSymbol()
      • testGetNumberFormat

        public void testGetNumberFormat()
      • testGetNumberFormatWithLocale

        public void testGetNumberFormatWithLocale()
      • testGetIntegerFormat

        public void testGetIntegerFormat()
      • testGetIntegerFormatWithLocale

        public void testGetIntegerFormatWithLocale()
      • testGetPercentFormat

        public void testGetPercentFormat()
      • testGetPercentFormatWithLocale

        public void testGetPercentFormatWithLocale()
      • testGetTimeFormatInvalid

        public void testGetTimeFormatInvalid()
      • testGetTimeFormat

        public void testGetTimeFormat()
      • testGetDateTimeFormat

        public void testGetDateTimeFormat()
      • testGetTimeFormatWithLocale

        public void testGetTimeFormatWithLocale()
      • testGetDateTimeFormatWithLocale

        public void testGetDateTimeFormatWithLocale()
      • testSimpleDateFormat

        public void testSimpleDateFormat()
        Example of use FormatFactory to apply pattern to DateFormat.
      • testSimpleDateFormatWithLocale

        public void testSimpleDateFormatWithLocale()
        Example of use FormatFactory to apply pattern to DateFormat with custom Locale.
      • shouldCreateSimpleDateFormatObjectOfGivenFormatForCurrentLocale

        public void shouldCreateSimpleDateFormatObjectOfGivenFormatForCurrentLocale()
      • shouldThrowNullPointerExceptionWhenCreateSimpleDateFormatAndFormatIsNull

        public void shouldThrowNullPointerExceptionWhenCreateSimpleDateFormatAndFormatIsNull()