Class DefaultI18NServiceTest

java.lang.Object
de.hybris.platform.servicelayer.i18n.DefaultI18NServiceTest

@UnitTest public class DefaultI18NServiceTest extends Object
The unit tests for i18NService.

hint: after removing LocalizationService the tests will require corrections, because the logic from DefaultLocalizationService methods will be moved to the DefaultI18NService.

Currently the content of the DefaultLocalizationService methods are not migrated to the servicelayer.

  • Constructor Details

    • DefaultI18NServiceTest

      public DefaultI18NServiceTest()
  • Method Details

    • testGetCurrentLocale

      public void testGetCurrentLocale()
    • testSetCurrentLocale

      public void testSetCurrentLocale()
    • testGetSupportedLocales

      public void testGetSupportedLocales()
    • testGetSupportedJavaCurrencies

      public void testGetSupportedJavaCurrencies()
    • testGetSupportedJavaCurrenciesWithOneNonExistentCurrency

      public void testGetSupportedJavaCurrenciesWithOneNonExistentCurrency()
    • testGetCurrentTimeZone

      public void testGetCurrentTimeZone()
    • testSetCurrentTimeZone

      public void testSetCurrentTimeZone()
    • testGetCurrentJavaCurrency

      public void testGetCurrentJavaCurrency()
    • testGetCurrentJavaCurrencyWithNonExistentJavaCurrency

      public void testGetCurrentJavaCurrencyWithNonExistentJavaCurrency()
    • testSetCurrentJavaCurrency

      public void testSetCurrentJavaCurrency()
    • testIsLocalizationFallbackEnabled

      public void testIsLocalizationFallbackEnabled()
    • testSetLocalizationFallbackEnabled

      public void testSetLocalizationFallbackEnabled()
    • testGetBestMatchingLocale

      public void testGetBestMatchingLocale()
    • testGetAllLocales

      public void testGetAllLocales()
    • testGetFallbackLocales

      public void testGetFallbackLocales()