Package org.openbravo.test.preference
Class PreferenceTest
- java.lang.Object
-
- org.openbravo.test.base.OBBaseTest
-
- org.openbravo.test.preference.PreferenceTest
-
public class PreferenceTest extends OBBaseTest
Test cases covering Preferences visibility and conflict resolution handling. Note these test cases are dependent one on each other, therefore all of them must be executed one after the other sorted alphabetically.
-
-
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 PreferenceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
test00CreatePreference()
void
test01OverwritePreference()
void
test02SamePropertyDifferentVisibility()
void
test03PropertyGet()
void
test04PLPropertyGet()
void
test05WindowVisibility()
void
test06PLWindowVisibility()
void
test07OrgVisibility()
void
test08ClientVisibility()
void
test09PLOrgVisibility()
void
test10ExceptionNotFound()
void
test11PLExceptionNotFound()
void
test12Conflict()
void
test13PLConflict()
void
test14SolvedConflict()
void
test15PLSolvedConflict()
void
test16PreferenceClientOrgSetting()
void
test17PreferenceListSetAndGet()
void
test18GetAllPreferences()
void
test99Clean()
-
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
-
test00CreatePreference
public void test00CreatePreference()
-
test01OverwritePreference
public void test01OverwritePreference()
-
test02SamePropertyDifferentVisibility
public void test02SamePropertyDifferentVisibility()
-
test03PropertyGet
public void test03PropertyGet() throws PropertyException
- Throws:
PropertyException
-
test04PLPropertyGet
public void test04PLPropertyGet() throws SQLException
- Throws:
SQLException
-
test05WindowVisibility
public void test05WindowVisibility() throws PropertyException
- Throws:
PropertyException
-
test06PLWindowVisibility
public void test06PLWindowVisibility() throws SQLException
- Throws:
SQLException
-
test07OrgVisibility
public void test07OrgVisibility() throws PropertyException
- Throws:
PropertyException
-
test08ClientVisibility
public void test08ClientVisibility() throws PropertyException
- Throws:
PropertyException
-
test09PLOrgVisibility
public void test09PLOrgVisibility() throws SQLException
- Throws:
SQLException
-
test10ExceptionNotFound
public void test10ExceptionNotFound()
-
test11PLExceptionNotFound
public void test11PLExceptionNotFound()
-
test12Conflict
public void test12Conflict()
-
test13PLConflict
public void test13PLConflict()
-
test14SolvedConflict
public void test14SolvedConflict() throws PropertyException
- Throws:
PropertyException
-
test15PLSolvedConflict
public void test15PLSolvedConflict() throws SQLException
- Throws:
SQLException
-
test16PreferenceClientOrgSetting
public void test16PreferenceClientOrgSetting()
-
test17PreferenceListSetAndGet
public void test17PreferenceListSetAndGet() throws PropertyException
- Throws:
PropertyException
-
test18GetAllPreferences
public void test18GetAllPreferences() throws PropertyException
- Throws:
PropertyException
-
test99Clean
public void test99Clean()
-
-