|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.opensubsystems.core.persist.db.DatabaseTest
org.opensubsystems.patterns.listdata.logic.ListControllerTest
org.opensubsystems.security.patterns.listdata.logic.impl.SecureListControllerTest
org.opensubsystems.security.logic.UserControllerSecurityTest1.UserControllerSecurityTestInternal1
public static class UserControllerSecurityTest1.UserControllerSecurityTestInternal1
Internal class which can be included in other test suites directly without including the above suite. This allows us to group multiple tests together and the execute the DatabaseTestSetup only once
| Field Summary | |
|---|---|
protected org.opensubsystems.security.persist.db.AccessRightDatabaseFactory |
m_rightFactory
Factory to manage access rights. |
protected org.opensubsystems.security.persist.RoleFactory |
m_roleFactory
Factory to manage roles. |
protected TestRoleDatabaseFactoryUtils |
m_roleFactoryUtils
Factory utilities to manage roles. |
protected org.opensubsystems.security.logic.UserController |
m_userControl
Controller used to manipulate users. |
protected org.opensubsystems.security.persist.UserFactory |
m_userFactory
Factory to manage users. |
| Fields inherited from class org.opensubsystems.patterns.listdata.logic.ListControllerTest |
|---|
m_listTestUtils |
| Fields inherited from class org.opensubsystems.core.persist.db.DatabaseTest |
|---|
DEFAULT_DB_PASSWORD, DEFAULT_DB_USER, DEFAULT_PROPERTY_FILE, m_connection, m_iRequestedConnectionCount, m_transaction |
| Constructor Summary | |
|---|---|
UserControllerSecurityTest1.UserControllerSecurityTestInternal1(java.lang.String strTestName)
Constructor |
|
| Method Summary | |
|---|---|
void |
testChangeLoginNameAndEmailCheck()
Test for changing login name and email of the user. |
void |
testChangeLoginNameAndEmailCheckCategorySuperUser()
Test for changing login name and email of the user. |
void |
testChangeLoginNameAndEmailCheckId()
Test for changing login name and email of the user. |
void |
testChangePasswordCheck()
Test for changing password of the user. |
void |
testChangePasswordCheckCategorySuperUser()
Test for changing password of the user. |
void |
testChangePasswordCheckId()
Test for changing password of the user. |
void |
testCreateCheck()
Test for creating of the user. |
void |
testCreateCheckCategorySuperUser()
Test for creating of the user. |
void |
testDeleteCheck()
Test for deleting of the user. |
void |
testDeleteCheckCategorySuperUser()
Test for deleting of the user. |
void |
testDeleteCheckId()
Test for deleting of the user. |
void |
testSaveCheck()
Test for saving of the user. |
void |
testSaveCheckCategorySuperUser()
Test for saving of the user. |
void |
testSaveCheckId()
Test for saving of the user. |
void |
testUpdateEnableCheck()
Test for update enable of the user. |
void |
testUpdateEnableCheckCategorySuperUser()
Test for update enable of the user. |
void |
testUpdateEnableCheckId()
Test for update enable of the user. |
| Methods inherited from class org.opensubsystems.security.patterns.listdata.logic.impl.SecureListControllerTest |
|---|
getListController, setUp, tearDown |
| Methods inherited from class org.opensubsystems.patterns.listdata.logic.ListControllerTest |
|---|
testGetExactPage, testGetExactPageKeepSelected, testGetNextPage, testGetNextPageKeepSelected, testGetOrderAsc, testGetOrderAscKeepSelected, testGetOrderDesc, testGetOrderDescKeepSelected, testGetPrevPage, testGetSetFilter, testGetSetPageSize, testGetSetPageSizeKeepSelected, testGetShowList, testGetShowListKeepSelected, testGetShowListWithPresetSize, testGetShowListWithPresetSizeKeepSelected |
| Methods inherited from class org.opensubsystems.core.persist.db.DatabaseTest |
|---|
addDataSource, addDataSource, getDataSourceName, setDataSourceName |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.opensubsystems.security.persist.db.AccessRightDatabaseFactory m_rightFactory
protected org.opensubsystems.security.persist.RoleFactory m_roleFactory
protected org.opensubsystems.security.persist.UserFactory m_userFactory
protected org.opensubsystems.security.logic.UserController m_userControl
protected TestRoleDatabaseFactoryUtils m_roleFactoryUtils
| Constructor Detail |
|---|
public UserControllerSecurityTest1.UserControllerSecurityTestInternal1(java.lang.String strTestName)
throws java.lang.Exception
strTestName - - name of the test
java.lang.Exception - - an error has occured| Method Detail |
|---|
public void testCreateCheck()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testCreateCheckCategorySuperUser()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testSaveCheck()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testSaveCheckId()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testSaveCheckCategorySuperUser()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testDeleteCheck()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testDeleteCheckId()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testDeleteCheckCategorySuperUser()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testUpdateEnableCheck()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testUpdateEnableCheckId()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testUpdateEnableCheckCategorySuperUser()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testChangePasswordCheck()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testChangePasswordCheckId()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testChangePasswordCheckCategorySuperUser()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testChangeLoginNameAndEmailCheck()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testChangeLoginNameAndEmailCheckId()
throws java.lang.Exception
java.lang.Exception - - an error has occured
public void testChangeLoginNameAndEmailCheckCategorySuperUser()
throws java.lang.Exception
java.lang.Exception - - an error has occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||