PHP Class eZ\Bundle\EzPublishCoreBundle\Tests\Routing\UrlAliasRouterTest

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testMatchRequestDeactivatedUrlAlias ( )
testMatchRequestLocationCaseRedirectWithRootLocation ( )
testMatchRequestLocationCaseRedirectWithRootRootLocation ( )
testMatchRequestResourceCaseRedirectWithRootLocation ( )
testMatchRequestVirtualCaseRedirectWithRootLocation ( )
testMatchRequestWithRootLocation ( )
testMatchRequestWithRootLocationAndExclusion ( )

Protected Methods

Method Description
getRouter ( eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\URLAliasService $urlAliasService, eZ\Publish\API\Repository\ContentService $contentService, UrlAliasGenerator $urlAliasGenerator, Symfony\Component\Routing\RequestContext $requestContext )
resetConfigResolver ( ) Resets container and configResolver mocks.
setUp ( )

Method Details

getRouter() protected method

protected getRouter ( eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\URLAliasService $urlAliasService, eZ\Publish\API\Repository\ContentService $contentService, UrlAliasGenerator $urlAliasGenerator, Symfony\Component\Routing\RequestContext $requestContext )
$locationService eZ\Publish\API\Repository\LocationService
$urlAliasService eZ\Publish\API\Repository\URLAliasService
$contentService eZ\Publish\API\Repository\ContentService
$urlAliasGenerator eZ\Publish\Core\MVC\Symfony\Routing\Generator\UrlAliasGenerator
$requestContext Symfony\Component\Routing\RequestContext

resetConfigResolver() protected method

Resets container and configResolver mocks.
protected resetConfigResolver ( )

setUp() protected method

protected setUp ( )

testMatchRequestDeactivatedUrlAlias() public method

testMatchRequestLocationCaseRedirectWithRootLocation() public method

testMatchRequestLocationCaseRedirectWithRootRootLocation() public method

testMatchRequestResourceCaseRedirectWithRootLocation() public method

testMatchRequestVirtualCaseRedirectWithRootLocation() public method

testMatchRequestWithRootLocation() public method

testMatchRequestWithRootLocationAndExclusion() public method