Class DefaultCommonI18NServiceTest
- java.lang.Object
-
- de.hybris.platform.servicelayer.i18n.impl.DefaultCommonI18NServiceTest
-
@UnitTest public class DefaultCommonI18NServiceTest extends java.lang.Object
Basic test for aDefaultCommonI18NService.getAllLanguages().
-
-
Constructor Summary
Constructors Constructor Description DefaultCommonI18NServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestConvertCurrency()voidtestGetAllCountries()voidtestGetAllCurrencies()voidtestGetAllLanguages()voidtestGetAllRegions()voidtestGetAllRegionsForCountryWithCode()voidtestGetBaseCurrencyExist()voidtestGetBaseCurrencyNoExist()voidtestGetCountriesByCode()voidtestGetCurrenciesByCode()voidtestGetLanguagesByCode()voidtestGetLocaleIsocodeSplitting()voidtestLanguageCountryToLocale()voidtestLanguageToLocale()TestsLanguageModeltoLocaleconversion.voidtestRoundAndConvertCurrency()voidtestRoundCurrency()voidtestStringToLocale()Tests String to Locale conversion.
-
-
-
Method Detail
-
setUp
public void setUp()
-
testStringToLocale
public void testStringToLocale()
Tests String to Locale conversion.
-
testLanguageToLocale
public void testLanguageToLocale()
TestsLanguageModeltoLocaleconversion.
-
testLanguageCountryToLocale
public void testLanguageCountryToLocale()
-
testGetLocaleIsocodeSplitting
public void testGetLocaleIsocodeSplitting()
-
testGetAllLanguages
public void testGetAllLanguages()
-
testGetLanguagesByCode
public void testGetLanguagesByCode()
-
testGetAllCountries
public void testGetAllCountries()
-
testGetCountriesByCode
public void testGetCountriesByCode()
-
testGetAllRegions
public void testGetAllRegions()
-
testGetAllRegionsForCountryWithCode
public void testGetAllRegionsForCountryWithCode()
-
testGetAllCurrencies
public void testGetAllCurrencies()
-
testGetCurrenciesByCode
public void testGetCurrenciesByCode()
-
testGetBaseCurrencyExist
public void testGetBaseCurrencyExist()
-
testGetBaseCurrencyNoExist
public void testGetBaseCurrencyNoExist()
-
testRoundCurrency
public void testRoundCurrency()
-
testConvertCurrency
public void testConvertCurrency()
-
testRoundAndConvertCurrency
public void testRoundAndConvertCurrency()
-
-