Class TicketIdentifierGenerationStrategyTest


  • public class TicketIdentifierGenerationStrategyTest
    extends Object
    Unit test for TicketIdentifierGenerationStrategy.
    • Field Detail

      • TICKET_REGEX

        private static final Pattern TICKET_REGEX
    • Constructor Detail

      • TicketIdentifierGenerationStrategyTest

        public TicketIdentifierGenerationStrategyTest()
    • Method Detail

      • testGenerate

        public void testGenerate​(net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy generator,
                                 String expectedPrefix,
                                 int expectedRandomLength,
                                 String expectedSuffix)
                          throws Exception
        Throws:
        Exception
      • testUrlSafety

        public void testUrlSafety​(String prefix,
                                  String suffix)
      • testConcurrentGeneration

        public void testConcurrentGeneration()
                                      throws Exception
        Throws:
        Exception