Class DefaultFormatFactoryTest
java.lang.Object
de.hybris.platform.servicelayer.i18n.impl.DefaultFormatFactoryTest
Test covering
FormatFactory service.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidExample of useFormatFactoryto apply pattern toDateFormat.void
-
Constructor Details
-
DefaultFormatFactoryTest
public DefaultFormatFactoryTest()
-
-
Method Details
-
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 useFormatFactoryto apply pattern toDateFormat. -
testSimpleDateFormatWithLocale
public void testSimpleDateFormatWithLocale() -
shouldCreateSimpleDateFormatObjectOfGivenFormatForCurrentLocale
public void shouldCreateSimpleDateFormatObjectOfGivenFormatForCurrentLocale() -
shouldThrowNullPointerExceptionWhenCreateSimpleDateFormatAndFormatIsNull
public void shouldThrowNullPointerExceptionWhenCreateSimpleDateFormatAndFormatIsNull()
-