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

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method 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 ( )

Protected Methods

Method Description
getPermissionResolverMock ( )
setUp ( )

Method Details

getPermissionResolverMock() protected method

providerTestDoGenerate() public method

providerTestDoGenerateRootLocation() public method

providerTestDoGenerateWithSiteaccess() public method

providerTestIsPrefixExcluded() public method

setUp() protected method

protected setUp ( )

testDoGenerate() public method

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 method

testDoGenerateRootLocation() public method

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

testDoGenerateWithSiteAccessParam() public method

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 method

testIsPrefixExcluded() public method

public testIsPrefixExcluded ( $uri, $expectedIsExcluded )

testLoadLocation() public method

public testLoadLocation ( )