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
Modifier and TypeClassDescriptionstatic enum
Definition of a single localization .properties resource in Bamboo. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Properties
getI18nProperties
(@NotNull I18nTestHelper.I18nDefinition i18nDefinition) ObtainProperties
for the given i18n location.
-
Constructor Details
-
I18nTestHelper
public I18nTestHelper()
-
-
Method Details
-
getI18nProperties
@NotNull public static @NotNull Properties getI18nProperties(@NotNull @NotNull I18nTestHelper.I18nDefinition i18nDefinition) ObtainProperties
for the given i18n location.- Parameters:
i18nDefinition
- i18n definition containing i18n resource location- Returns:
- localization properties
- Throws:
RuntimeException
- on failure
-