Class ExpressionsTest
- java.lang.Object
-
- org.openbravo.test.base.OBBaseTest
-
- org.openbravo.base.weld.test.WeldBaseTest
-
- org.openbravo.userinterface.selectors.test.ExpressionsTest
-
public class ExpressionsTest extends WeldBaseTest
Tests the current API exposed to JavaScript expression through OBBindings class- Author:
- iperdomo
-
-
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_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 ExpressionsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUpEt()
This before method is named setUpEt() to avoid overwriting the super setUp method that is invoke automatically before this one.void
testCurrentClientId()
void
testCustomerVendorFilter()
void
testFormatDate()
void
testFormatParsedDate()
void
testGetFilterExpression()
void
testLanguage()
void
testParseDate()
void
testUserName()
-
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
-
-
-
-
Method Detail
-
setUpEt
public void setUpEt() throws Exception
This before method is named setUpEt() to avoid overwriting the super setUp method that is invoke automatically before this one.- Throws:
Exception
-
testUserName
public void testUserName()
-
testLanguage
public void testLanguage()
-
testFormatDate
public void testFormatDate()
-
testCurrentClientId
public void testCurrentClientId()
-
testParseDate
public void testParseDate()
-
testFormatParsedDate
public void testFormatParsedDate()
-
testCustomerVendorFilter
public void testCustomerVendorFilter()
-
testGetFilterExpression
public void testGetFilterExpression()
-
-