Class SimpleTicketServiceTest
- java.lang.Object
-
- net.shibboleth.idp.cas.ticket.impl.SimpleTicketServiceTest
-
public class SimpleTicketServiceTest extends Object
Unit test forSimpleTicketServiceclass.
-
-
Field Summary
Fields Modifier and Type Field Description private static StringTEST_SERVICEprivate static StringTEST_SESSION_IDprivate net.shibboleth.idp.cas.ticket.impl.SimpleTicketServiceticketService
-
Constructor Summary
Constructors Constructor Description SimpleTicketServiceTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private ProxyGrantingTicketcreateProxyGrantingTicket()private ServiceTicketcreateServiceTicket()private static Instantexpiry()voidsetUp()voidtestCreateFetchRemoveProxyGrantingTicket()voidtestCreateRemoveProxyTicket()voidtestCreateRemoveServiceTicket()
-
-
-
Field Detail
-
TEST_SESSION_ID
private static final String TEST_SESSION_ID
- See Also:
- Constant Field Values
-
TEST_SERVICE
private static final String TEST_SERVICE
- See Also:
- Constant Field Values
-
ticketService
private net.shibboleth.idp.cas.ticket.impl.SimpleTicketService ticketService
-
-
Method Detail
-
testCreateRemoveServiceTicket
public void testCreateRemoveServiceTicket() throws Exception- Throws:
Exception
-
testCreateFetchRemoveProxyGrantingTicket
public void testCreateFetchRemoveProxyGrantingTicket() throws Exception- Throws:
Exception
-
testCreateRemoveProxyTicket
public void testCreateRemoveProxyTicket() throws Exception- Throws:
Exception
-
createServiceTicket
private ServiceTicket createServiceTicket()
-
createProxyGrantingTicket
private ProxyGrantingTicket createProxyGrantingTicket()
-
expiry
private static Instant expiry()
-
-