public class AllowedOrganizationsTest extends OBBaseTest
OrganizationStructureProvider
,
OBContext.getReadableOrganizations()
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 and Description |
---|
AllowedOrganizationsTest() |
Modifier and Type | Method and Description |
---|---|
void |
testOrganizationCheck()
Checks a special case that an object of an organization A may only refer to objects in the
natural tree of A.
|
void |
testOrganizationTree()
Tests valid organizations trees for different organizations.
|
addReadWriteAccess, commitTransaction, count, getConnectionProvider, getOneInstance, getRandomUser, getTestLogAppender, initializeDalLayer, isErrorOccured, reportException, rollback, setDalUp, setSystemAdministratorContext, setTestAdminContext, setTestLogAppenderLevel, setTestUserContext, setUp, setUserContext, testDone