Class ReducedTranslationExportTests
- java.lang.Object
-
- org.openbravo.test.base.MockableBaseTest
-
- org.openbravo.test.base.OBBaseTest
-
- org.openbravo.base.weld.test.WeldBaseTest
-
- org.openbravo.test.reducedtranslation.ReducedTranslationExportTests
-
public class ReducedTranslationExportTests extends WeldBaseTest
Tests that checks some examples of expected scenarios where the reduced translation version should exclude or include some terms
-
-
Field Summary
-
Fields inherited from class org.openbravo.test.base.OBBaseTest
DOLLAR, DOLLAR_ID, EURO, EURO_ID, QA_TEST_ADMIN_USER_ID, QA_TEST_CLIENT_ID, QA_TEST_ORG_ID, TEST_BP_CATEGORY_ID, TEST_CLIENT_ID, TEST_INVOICE_ID, TEST_LOCATION_ID, TEST_ORDER_ID, TEST_ORG_ID, TEST_ORG_TREE, TEST_PRODUCT_ID, TEST_ROLE_ID, TEST_US_ORG_ID, TEST_USER_ID, TEST_WAREHOUSE_ID, TEST2_USER_ID, userIds, watchFailures
-
-
Constructor Summary
Constructors Constructor Description ReducedTranslationExportTests()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expectedEmptyTranslationFiles()
void
init()
static void
removeTranslationFolders()
static void
resetSystemLanguageFlag()
void
testAdElementDirectAccessInWindowExcludingTranslation()
void
testAdElementDirectProcessIncludedTranslation()
void
testAdElementIndirectAccessInWindowReferenceExcludingTranslation()
void
testAdElementIndirectProcessDefinitionIncludedTranslation()
void
testAdFieldExcludedTranslation()
void
testAdFieldGroupExcludedTranslation()
void
testAdProcessAdMenuExcludedTranslation()
void
testAdProcessParaExcludedTranslation()
void
testAdRefListExcludedTranslation()
void
testAdTabAdElementExcludedTranslation()
void
testAdTextInterfacesJrxml()
void
testAdWindowAdMenuExcludedTranslation()
void
testProcessDefinitionAdMenuAdWindowExcludedTranslation()
void
testReducedTranslationSize()
-
Methods inherited from class org.openbravo.base.weld.test.WeldBaseTest
createTestArchive, getWeldComponent, resetOBInterceptors, setUp
-
Methods inherited from class org.openbravo.test.base.OBBaseTest
addReadWriteAccess, classSetUp, commitTransaction, count, getConnectionProvider, getOneInstance, getRandomUser, getTestLogAppender, initializeDalLayer, initializeDisabledTestCases, initializeTestLogAppender, isErrorOccured, reportException, rollback, setLogStackTraces, setQAAdminContext, setSystemAdministratorContext, setTestAdminContext, setTestLogAppenderLevel, setTestUserContext, setUserContext, shouldMockServletContext, staticInitializeDalLayer, testDone
-
Methods inherited from class org.openbravo.test.base.MockableBaseTest
mockStatic
-
-
-
-
Method Detail
-
init
public void init() throws IOException
- Throws:
IOException
-
removeTranslationFolders
public static void removeTranslationFolders() throws IOException
- Throws:
IOException
-
resetSystemLanguageFlag
public static void resetSystemLanguageFlag()
-
testReducedTranslationSize
public void testReducedTranslationSize()
-
testAdTextInterfacesJrxml
public void testAdTextInterfacesJrxml() throws IOException
- Throws:
IOException
-
testAdElementDirectAccessInWindowExcludingTranslation
public void testAdElementDirectAccessInWindowExcludingTranslation() throws IOException
- Throws:
IOException
-
testAdElementIndirectAccessInWindowReferenceExcludingTranslation
public void testAdElementIndirectAccessInWindowReferenceExcludingTranslation() throws IOException
- Throws:
IOException
-
testAdElementIndirectProcessDefinitionIncludedTranslation
public void testAdElementIndirectProcessDefinitionIncludedTranslation() throws IOException
- Throws:
IOException
-
testAdElementDirectProcessIncludedTranslation
public void testAdElementDirectProcessIncludedTranslation() throws IOException
- Throws:
IOException
-
testAdFieldExcludedTranslation
public void testAdFieldExcludedTranslation() throws IOException
- Throws:
IOException
-
testAdProcessAdMenuExcludedTranslation
public void testAdProcessAdMenuExcludedTranslation() throws IOException
- Throws:
IOException
-
testProcessDefinitionAdMenuAdWindowExcludedTranslation
public void testProcessDefinitionAdMenuAdWindowExcludedTranslation() throws IOException
- Throws:
IOException
-
testAdProcessParaExcludedTranslation
public void testAdProcessParaExcludedTranslation() throws IOException
- Throws:
IOException
-
testAdWindowAdMenuExcludedTranslation
public void testAdWindowAdMenuExcludedTranslation() throws IOException
- Throws:
IOException
-
testAdTabAdElementExcludedTranslation
public void testAdTabAdElementExcludedTranslation() throws IOException
- Throws:
IOException
-
testAdFieldGroupExcludedTranslation
public void testAdFieldGroupExcludedTranslation() throws IOException
- Throws:
IOException
-
testAdRefListExcludedTranslation
public void testAdRefListExcludedTranslation() throws IOException
- Throws:
IOException
-
expectedEmptyTranslationFiles
public void expectedEmptyTranslationFiles()
-
-