public class TestComboDatasource extends BaseDataSourceTestDal
LOGIN, PWDDOLLAR, 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 and Description |
|---|
TestComboDatasource() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAccess()
Test to check whether data is accessible to unauthorized user.
|
void |
testAccessForFilter()
Test to check whether filter data is accessible to unauthorized user.
|
void |
testDefaultNotInFirstPage()
Checks selected value not in 1st page
see issue #27233
|
void |
testFetchWithLargeData()
Test to fetch values from ComboTableDatasoureService using set parameters.
|
void |
testFetchWithoutLimitParameters()
Test to fetch values from ComboTableDatasoureService using set parameters.
|
void |
testFilter()
Test to check filtering of the record using passed parameter
|
void |
testFilterWithPagination()
Test to check filtering of the record using passed parameter and return paginated results
|
void |
testForIssue27612()
Test to check when empty value is rendered in UIDefinition, proper data is returned.
|
void |
testPaginatedFetch()
Test to fetch paginated values from ComboTableDatasoureService
|
void |
testRequestWithoutFieldAccess()
Tests a request to a combo with a role that has no access to field entity.
|
changeProfile, doRequest, doRequest, doRequest, getLogin, getOpenbravoURL, getPasswordaddReadWriteAccess, commitTransaction, count, getConnectionProvider, getOneInstance, getRandomUser, getTestLogAppender, initializeDalLayer, isErrorOccured, reportException, rollback, setDalUp, setSystemAdministratorContext, setTestAdminContext, setTestLogAppenderLevel, setTestUserContext, setUp, setUserContext, testDonepublic void testFetchWithoutLimitParameters()
throws Exception
Exceptionpublic void testFetchWithLargeData()
throws Exception
Exceptionpublic void testPaginatedFetch()
throws Exception
Exceptionpublic void testDefaultNotInFirstPage()
throws Exception
Exceptionpublic void testFilter()
throws Exception
Exceptionpublic void testFilterWithPagination()
throws Exception
Exceptionpublic void testAccess()
throws Exception
Exceptionpublic void testAccessForFilter()
throws Exception
Exceptionpublic void testForIssue27612()
throws Exception
Exception