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

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
testMatchRequestDeactivatedUrlAlias ( )
testMatchRequestLocationCaseRedirectWithRootLocation ( )
testMatchRequestLocationCaseRedirectWithRootRootLocation ( )
testMatchRequestResourceCaseRedirectWithRootLocation ( )
testMatchRequestVirtualCaseRedirectWithRootLocation ( )
testMatchRequestWithRootLocation ( )
testMatchRequestWithRootLocationAndExclusion ( )

Méthodes protégées

Méthode 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 méthode

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 méthode

Resets container and configResolver mocks.
protected resetConfigResolver ( )

setUp() protected méthode

protected setUp ( )

testMatchRequestDeactivatedUrlAlias() public méthode

testMatchRequestLocationCaseRedirectWithRootLocation() public méthode

testMatchRequestLocationCaseRedirectWithRootRootLocation() public méthode

testMatchRequestResourceCaseRedirectWithRootLocation() public méthode

testMatchRequestVirtualCaseRedirectWithRootLocation() public méthode

testMatchRequestWithRootLocation() public méthode

testMatchRequestWithRootLocationAndExclusion() public méthode