Package com.atlassian.bamboo.testutils
Class I18nTestHelper
- java.lang.Object
-
- com.atlassian.bamboo.testutils.I18nTestHelper
-
public class I18nTestHelper extends Object
Test helper to obtainProperties
for assertions against i18n constant values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
I18nTestHelper.I18nDefinition
Definition of a single localization .properties resource in Bamboo.
-
Constructor Summary
Constructors Constructor Description I18nTestHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull Properties
getI18nProperties(@NotNull I18nTestHelper.I18nDefinition i18nDefinition)
ObtainProperties
for the given i18n location.
-
-
-
Method Detail
-
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
-
-