Package com.atlassian.bamboo.testutils
Class I18nTestHelper
java.lang.Object
com.atlassian.bamboo.testutils.I18nTestHelper
Test helper to obtain
Properties for assertions against i18n constant values.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefinition of a single localization .properties resource in Bamboo. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PropertiesgetI18nProperties(@NotNull I18nTestHelper.I18nDefinition i18nDefinition) ObtainPropertiesfor the given i18n location.
-
Constructor Details
-
I18nTestHelper
public I18nTestHelper()
-
-
Method Details
-
getI18nProperties
@NotNull public static @NotNull Properties getI18nProperties(@NotNull @NotNull I18nTestHelper.I18nDefinition i18nDefinition) ObtainPropertiesfor the given i18n location.- Parameters:
i18nDefinition- i18n definition containing i18n resource location- Returns:
- localization properties
- Throws:
RuntimeException- on failure
-