Class URLHandlerServiceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.broadleafcommerce.cms.url.service.URLHandlerServiceTest
All Implemented Interfaces:
junit.framework.Test

public class URLHandlerServiceTest extends junit.framework.TestCase
Test URL handling resolution.
Author:
bpolster
  • Constructor Details

    • URLHandlerServiceTest

      public URLHandlerServiceTest()
  • Method Details

    • buildUrlHandlerList

      public List<org.broadleafcommerce.cms.url.domain.URLHandler> buildUrlHandlerList()
    • createHandler

      protected org.broadleafcommerce.cms.url.domain.URLHandler createHandler(String incomingUrl, String newUrl)
    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class junit.framework.TestCase
      Throws:
      Exception
    • testFoundSimpleUrl

      public void testFoundSimpleUrl()
    • testFoundRegExUrl

      public void testFoundRegExUrl()
    • testForSubPackageBadMatchSimpleUrl

      public void testForSubPackageBadMatchSimpleUrl()
    • testFoundBadMatchComplexUrl

      public void testFoundBadMatchComplexUrl()
    • testRegEx

      public void testRegEx()
    • testRegExStartsWithSpecialRegExChar

      public void testRegExStartsWithSpecialRegExChar()