|
|||||||||
| 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.security.logic.SessiongControllerUnsecureTest.SessiongControllerUnsecureTestInternal
public static class SessiongControllerUnsecureTest.SessiongControllerUnsecureTestInternal
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.DomainDatabaseFactory |
m_domainFactory
Factory to manage domains. |
protected org.opensubsystems.security.persist.db.ExternalSessionDatabaseFactory |
m_externalSessionFactory
Factory to manage external sessions. |
protected org.opensubsystems.security.logic.SessionController |
m_sessionControl
Controller to manage sessions. |
protected org.opensubsystems.security.persist.db.InternalSessionDatabaseFactory |
m_sessionFactory
Factory to manage internal sessions. |
protected org.opensubsystems.security.persist.UserFactory |
m_userFactory
Factory to manage users. |
| 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 | |
|---|---|
SessiongControllerUnsecureTest.SessiongControllerUnsecureTestInternal(java.lang.String strTestName)
Constructor |
|
| Method Summary | |
|---|---|
void |
testCleanOrphanSession()
Test for deleting all server sessions (and empty internal sessions) just knowing server session identification |
| Methods inherited from class org.opensubsystems.core.persist.db.DatabaseTest |
|---|
addDataSource, addDataSource, getDataSourceName, setDataSourceName, setUp, tearDown |
| 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.DomainDatabaseFactory m_domainFactory
protected org.opensubsystems.security.persist.UserFactory m_userFactory
protected org.opensubsystems.security.persist.db.InternalSessionDatabaseFactory m_sessionFactory
protected org.opensubsystems.security.persist.db.ExternalSessionDatabaseFactory m_externalSessionFactory
protected org.opensubsystems.security.logic.SessionController m_sessionControl
| Constructor Detail |
|---|
public SessiongControllerUnsecureTest.SessiongControllerUnsecureTestInternal(java.lang.String strTestName)
throws java.lang.Exception
strTestName - - name of the test
java.lang.Exception - - an error has occured| Method Detail |
|---|
public void testCleanOrphanSession()
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 | ||||||||