Package org.openbravo.test.dal
Class IssuesTest
- java.lang.Object
-
- org.openbravo.test.base.OBBaseTest
-
- org.openbravo.test.dal.IssuesTest
-
public class IssuesTest extends OBBaseTest
Tests for some issues.- Author:
- mtaal, 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 IssuesTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
test11461()
void
test11681()
void
test11812()
void
test12106()
void
test12143()
void
test12201()
void
test12202()
void
test12497()
void
test12702()
void
test12853()
void
test12903()
void
test12918()
void
test13135()
OBContext.getLanguage() returns 'wrong' language, if user does not have a default language setvoid
test13136()
OBContext.getLanguage does only use users' default language, and does not honor language change in the role change popupvoid
test13281And13283()
void
test13509()
In a OBCriteria you can't use list() after a count() callvoid
test13749()
void
test14276()
Need feature to disable maintaining audit info via dal for one request/dal-sessionvoid
test15050()
OBQuery: whereclause with alias with a comma direct after the alias failsvoid
test15218()
error when closing transactionvoid
test15360()
ModelProvider.getTable(tablename) should not failvoid
test15742()
Testing if storing 10000 'ñ' characters in a column of type clob/text works correctly.void
test17058()
It verifies that the NVARCHAR JDBC type is properly mapped The test SQL query is used in the IDL module.void
test20129A()
Tests getChildOrg()void
test20129B()
Tests getNaturalTree()void
test20129C()
Tests getReadableOrganizations()void
test20129D()
Tests getReadableClients()void
test20129E()
Tests getWritableOrganizations()void
test20611()
void
test20659()
Tests that if an invalid organization id is provided, getChildOrg returns an empty set instead of null.void
test20733()
void
test21360()
void
test22235()
void
test23627()
void
test23743()
-
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, setUp, setUserContext, shouldMockServletContext, staticInitializeDalLayer, testDone
-
-
-
-
Method Detail
-
test13749
public void test13749()
-
test12918
public void test12918()
-
test12702
public void test12702()
-
test12106
public void test12106()
-
test12202
public void test12202()
-
test12201
public void test12201()
-
test12143
public void test12143()
-
test11812
public void test11812()
-
test11461
public void test11461()
-
test11681
public void test11681()
-
test12497
public void test12497()
-
test12853
public void test12853()
-
test12903
public void test12903()
-
test13135
public void test13135()
OBContext.getLanguage() returns 'wrong' language, if user does not have a default language set
-
test13136
public void test13136()
OBContext.getLanguage does only use users' default language, and does not honor language change in the role change popup
-
test13509
public void test13509() throws Exception
In a OBCriteria you can't use list() after a count() call- Throws:
Exception
-
test14276
public void test14276() throws Exception
Need feature to disable maintaining audit info via dal for one request/dal-session- Throws:
Exception
-
test15050
public void test15050() throws Exception
OBQuery: whereclause with alias with a comma direct after the alias fails- Throws:
Exception
-
test15360
public void test15360() throws Exception
ModelProvider.getTable(tablename) should not fail- Throws:
Exception
-
test15742
public void test15742()
Testing if storing 10000 'ñ' characters in a column of type clob/text works correctly.
-
test17058
public void test17058()
It verifies that the NVARCHAR JDBC type is properly mapped The test SQL query is used in the IDL module.
-
test20129A
public void test20129A()
Tests getChildOrg()
-
test20129B
public void test20129B()
Tests getNaturalTree()
-
test20129C
public void test20129C()
Tests getReadableOrganizations()
-
test20129D
public void test20129D()
Tests getReadableClients()
-
test20129E
public void test20129E()
Tests getWritableOrganizations()
-
test20611
public void test20611()
-
test20659
public void test20659()
Tests that if an invalid organization id is provided, getChildOrg returns an empty set instead of null.
-
test20733
public void test20733()
-
-