com.atlassian.jira.web.bean
Class MockI18nBean
java.lang.Object
com.atlassian.jira.web.bean.I18nBean
com.atlassian.jira.web.bean.MockI18nBean
- All Implemented Interfaces:
- I18nHelper
public class MockI18nBean
- extends I18nBean
Mock I18nBean to get around the problem of having to lookup a default locale via
applicationProperties via the DB.
If you want to assert the key and not use any property bundles you can use MockI18nHelper.
- Since:
- v3.13
Methods inherited from class com.atlassian.jira.web.bean.I18nBean |
getDefaultResourceBundle, getKeysForPrefix, getLocale, getLocaleFromUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, isKeyDefined |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockI18nBean
public MockI18nBean()
getFactory
protected I18nHelper.BeanFactory getFactory()
- Overrides:
getFactory
in class I18nBean
Copyright © 2002-2012 Atlassian. All Rights Reserved.