@UnitTest public class DefaultFormatFactoryTest extends java.lang.Object
FormatFactory service.| Constructor and Description |
|---|
DefaultFormatFactoryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldCreateSimpleDateFormatObjectOfGivenFormatForCurrentLocale() |
void |
shouldThrowNullPointerExceptionWhenCreateSimpleDateFormatAndFormatIsNull() |
void |
tearDown() |
void |
testGetCurrencyFormat() |
void |
testGetCurrencyFormatWithCurrencyWithFractionAndSymbol() |
void |
testGetCurrencyFormatWithCurrencyWithoutFractionSymbol() |
void |
testGetCurrencyFormatWithLocale() |
void |
testGetDateTimeFormat() |
void |
testGetDateTimeFormatWithLocale() |
void |
testGetIntegerFormat() |
void |
testGetIntegerFormatWithLocale() |
void |
testGetNumberFormat() |
void |
testGetNumberFormatWithLocale() |
void |
testGetPercentFormat() |
void |
testGetPercentFormatWithLocale() |
void |
testGetTimeFormat() |
void |
testGetTimeFormatInvalid() |
void |
testGetTimeFormatWithLocale() |
void |
testSimpleDateFormat()
Example of use
FormatFactory to apply pattern to DateFormat. |
void |
testSimpleDateFormatWithLocale()
|
public void setUp()
public void tearDown()
public void testGetCurrencyFormat()
public void testGetCurrencyFormatWithLocale()
public void testGetCurrencyFormatWithCurrencyWithoutFractionSymbol()
public void testGetCurrencyFormatWithCurrencyWithFractionAndSymbol()
public void testGetNumberFormat()
public void testGetNumberFormatWithLocale()
public void testGetIntegerFormat()
public void testGetIntegerFormatWithLocale()
public void testGetPercentFormat()
public void testGetPercentFormatWithLocale()
public void testGetTimeFormatInvalid()
public void testGetTimeFormat()
public void testGetDateTimeFormat()
public void testGetTimeFormatWithLocale()
public void testGetDateTimeFormatWithLocale()
public void testSimpleDateFormat()
FormatFactory to apply pattern to DateFormat.public void testSimpleDateFormatWithLocale()
public void shouldCreateSimpleDateFormatObjectOfGivenFormatForCurrentLocale()
public void shouldThrowNullPointerExceptionWhenCreateSimpleDateFormatAndFormatIsNull()
Copyright © 2018 SAP SE. All Rights Reserved.