Class I18nTestHelper

java.lang.Object
com.atlassian.bamboo.testutils.I18nTestHelper

public class I18nTestHelper extends Object
Test helper to obtain Properties for assertions against i18n constant values.
  • Constructor Details

    • I18nTestHelper

      public I18nTestHelper()
  • Method Details

    • getI18nProperties

      @NotNull public static @NotNull Properties getI18nProperties(@NotNull @NotNull I18nTestHelper.I18nDefinition i18nDefinition)
      Obtain Properties for the given i18n location.
      Parameters:
      i18nDefinition - i18n definition containing i18n resource location
      Returns:
      localization properties
      Throws:
      RuntimeException - on failure