Class URLHandlerServiceTest
java.lang.Object
org.broadleafcommerce.cms.url.service.URLHandlerServiceTest
Test URL handling resolution.
- Author:
- bpolster
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.broadleafcommerce.cms.url.service.URLHandlerServiceImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.broadleafcommerce.cms.url.domain.URLHandler>List<org.broadleafcommerce.cms.url.domain.URLHandler>protected org.broadleafcommerce.cms.url.domain.URLHandlercreateHandler(String incomingUrl, String newUrl, Boolean isRegEx) voidsetUp()voidvoidvoidvoidvoidvoid
-
Field Details
-
handlerService
protected static org.broadleafcommerce.cms.url.service.URLHandlerServiceImpl handlerService
-
-
Constructor Details
-
URLHandlerServiceTest
public URLHandlerServiceTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
buildAllUrlHandlerList
-
buildRegExUrlHandlerList
-
createHandler
-
testNotFoundSimpleUrlWithCheckForMatches
@Test public void testNotFoundSimpleUrlWithCheckForMatches() -
testFoundRegExUrl
@Test public void testFoundRegExUrl() -
testForSubPackageBadMatchSimpleUrl
@Test public void testForSubPackageBadMatchSimpleUrl() -
testFoundBadMatchComplexUrl
@Test public void testFoundBadMatchComplexUrl() -
testRegEx
@Test public void testRegEx() -
testRegExStartsWithSpecialRegExChar
@Test public void testRegExStartsWithSpecialRegExChar()
-