Package net.shibboleth.idp.cas.flow.impl
Class ValidateRenewActionTest
- java.lang.Object
-
- org.springframework.test.context.testng.AbstractTestNGSpringContextTests
-
- net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
-
- net.shibboleth.idp.cas.flow.impl.ValidateRenewActionTest
-
- All Implemented Interfaces:
Aware,ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
public class ValidateRenewActionTest extends AbstractFlowActionTest
Unit test forValidateRenewAction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
AbstractFlowActionTest.MockDataSealerKeyStrategy
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.cas.flow.impl.ValidateRenewActionactionprivate static StringTEST_SERVICE-
Fields inherited from class net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
TEST_PRINCIPAL_NAME, TEST_SESSION_ID, ticketService
-
Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description ValidateRenewActionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestRenewIncompatibleWithProxy()voidtestSuccessWithoutRenewAndProxyTicket()voidtestSuccessWithRenewAndServiceTicket()voidtestTicketNotFromRenew()-
Methods inherited from class net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
createProxyGrantingTicket, createProxyGrantingTicket, createProxyTicket, createServiceTicket, expiry, generateProxyGrantingTicketId, generateProxyTicketId, generateServiceTicketId, getProfileContext, initOpenSAML, mockSession
-
Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
-
-
-
Field Detail
-
TEST_SERVICE
private static final String TEST_SERVICE
- See Also:
- Constant Field Values
-
action
@Autowired private net.shibboleth.idp.cas.flow.impl.ValidateRenewAction action
-
-