PHP Class eZ\Publish\Core\MVC\Symfony\Routing\Tests\UrlAliasGeneratorTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
providerTestDoGenerate ( )
providerTestDoGenerateRootLocation ( )
providerTestDoGenerateWithSiteaccess ( )
providerTestIsPrefixExcluded ( )
testDoGenerate ( eZ\Publish\API\Repository\Values\Content\URLAlias $urlAlias, array $parameters, $expected )
testDoGenerateNoUrlAlias ( )
testDoGenerateRootLocation ( eZ\Publish\API\Repository\Values\Content\URLAlias $urlAlias, $isOutsideAndNotExcluded, $expected, $pathPrefix )
testDoGenerateWithSiteAccessParam ( eZ\Publish\API\Repository\Values\Content\URLAlias $urlAlias, array $parameters, $expected )
testGetPathPrefixByRootLocationId ( )
testIsPrefixExcluded ( $uri, $expectedIsExcluded )
testLoadLocation ( )

Méthodes protégées

Méthode Description
getPermissionResolverMock ( )
setUp ( )

Method Details

getPermissionResolverMock() protected méthode

providerTestDoGenerate() public méthode

providerTestDoGenerateRootLocation() public méthode

providerTestDoGenerateWithSiteaccess() public méthode

providerTestIsPrefixExcluded() public méthode

setUp() protected méthode

protected setUp ( )

testDoGenerate() public méthode

public testDoGenerate ( eZ\Publish\API\Repository\Values\Content\URLAlias $urlAlias, array $parameters, $expected )
$urlAlias eZ\Publish\API\Repository\Values\Content\URLAlias
$parameters array

testDoGenerateNoUrlAlias() public méthode

testDoGenerateRootLocation() public méthode

public testDoGenerateRootLocation ( eZ\Publish\API\Repository\Values\Content\URLAlias $urlAlias, $isOutsideAndNotExcluded, $expected, $pathPrefix )
$urlAlias eZ\Publish\API\Repository\Values\Content\URLAlias

testDoGenerateWithSiteAccessParam() public méthode

public testDoGenerateWithSiteAccessParam ( eZ\Publish\API\Repository\Values\Content\URLAlias $urlAlias, array $parameters, $expected )
$urlAlias eZ\Publish\API\Repository\Values\Content\URLAlias
$parameters array

testGetPathPrefixByRootLocationId() public méthode

testIsPrefixExcluded() public méthode

public testIsPrefixExcluded ( $uri, $expectedIsExcluded )

testLoadLocation() public méthode

public testLoadLocation ( )