|
|||||||||
| 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
public abstract class SecureListControllerTest
Use this class to implement test for controllers that needs to have setup call context and other security related environment before they are called.
| Field Summary |
|---|
| 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 | |
|---|---|
SecureListControllerTest(java.lang.String strTestName,
org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils listTestUtils)
constructor with data object specific parameters |
|
| Method Summary | |
|---|---|
protected org.opensubsystems.patterns.listdata.logic.ListController |
getListController()
|
protected void |
setUp()
|
protected void |
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 |
| Constructor Detail |
|---|
public SecureListControllerTest(java.lang.String strTestName,
org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils listTestUtils)
throws java.lang.Exception
strTestName - - name of the testlistTestUtils - - test utils used for test
java.lang.Exception - - an error has occured| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class org.opensubsystems.core.persist.db.DatabaseTestjava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class org.opensubsystems.core.persist.db.DatabaseTestjava.lang.Exception
protected org.opensubsystems.patterns.listdata.logic.ListController getListController()
throws org.opensubsystems.core.error.OSSException
getListController in class org.opensubsystems.patterns.listdata.logic.ListControllerTestorg.opensubsystems.core.error.OSSException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||