Package net.shibboleth.idp.session.impl
Class DestroySessionsTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
-
- net.shibboleth.idp.session.impl.DestroySessionsTest
-
public class DestroySessionsTest extends SessionManagerBaseTestCase
DestroySessionsunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.session.impl.DestroySessionsactionprivate ProfileRequestContextprcprivate RequestContextsrc-
Fields inherited from class net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
requestProxy, responseProxy, sessionManager, storageService
-
-
Constructor Summary
Constructors Constructor Description DestroySessionsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadjustProperties()Allows override of component properties before initializing them.voidsetUpAction()voidtestNoContext()voidtestNoSessions()voidtestOneSessionDifferent()voidtestOneSessionNoUnbind()voidtestOneSessionUnbind()voidtestTwoSessions()-
Methods inherited from class net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
createSession, setUp, tearDown
-
-
-
-
Field Detail
-
src
private RequestContext src
-
prc
private ProfileRequestContext prc
-
action
private net.shibboleth.idp.session.impl.DestroySessions action
-
-
Method Detail
-
setUpAction
@BeforeMethod public void setUpAction() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
adjustProperties
protected void adjustProperties() throws ComponentInitializationExceptionAllows override of component properties before initializing them.- Overrides:
adjustPropertiesin classSessionManagerBaseTestCase- Throws:
ComponentInitializationException- ...
-
testNoContext
public void testNoContext()
-
testNoSessions
public void testNoSessions()
-
testOneSessionNoUnbind
public void testOneSessionNoUnbind() throws SessionException, ResolverException- Throws:
SessionExceptionResolverException
-
testOneSessionUnbind
public void testOneSessionUnbind() throws SessionException, ResolverException- Throws:
SessionExceptionResolverException
-
testOneSessionDifferent
public void testOneSessionDifferent() throws SessionException, ResolverException- Throws:
SessionExceptionResolverException
-
testTwoSessions
public void testTwoSessions() throws SessionException, ResolverException- Throws:
SessionExceptionResolverException
-
-