PHP 클래스 eZ\Bundle\EzPublishCoreBundle\Tests\Routing\DefaultRouterTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$configResolver PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\ConfigResolverInterface
$container PHPUnit_Framework_MockObject_MockObject | Symfony\Component\DependencyInjection\ContainerInterface
$requestContext Symfony\Component\Routing\RequestContext

공개 메소드들

메소드 설명
providerGenerateNoSiteAccess ( )
providerGenerateWithSiteAccess ( )
testGenerateNoSiteAccess ( $url )
testGenerateReverseSiteAccessMatch ( )
testGenerateWithSiteAccess ( string $urlGenerated, string $relevantUri, string $expectedUrl, string $saName, boolean $isMatcherLexer, integer $referenceType, string $routeName )
testMatchRequestRegularPathinfo ( )
testMatchRequestWithSemanticPathinfo ( )

보호된 메소드들

메소드 설명
generateRouter ( array $mockedMethods = [] ) : PHPUnit_Framework_MockObject_MockObject | DefaultRouter
getRouterClass ( )
setUp ( )

메소드 상세

generateRouter() 보호된 메소드

protected generateRouter ( array $mockedMethods = [] ) : PHPUnit_Framework_MockObject_MockObject | DefaultRouter
$mockedMethods array
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter

getRouterClass() 보호된 메소드

protected getRouterClass ( )

providerGenerateNoSiteAccess() 공개 메소드

providerGenerateWithSiteAccess() 공개 메소드

setUp() 보호된 메소드

protected setUp ( )

testGenerateNoSiteAccess() 공개 메소드

public testGenerateNoSiteAccess ( $url )

testGenerateReverseSiteAccessMatch() 공개 메소드

testGenerateWithSiteAccess() 공개 메소드

public testGenerateWithSiteAccess ( string $urlGenerated, string $relevantUri, string $expectedUrl, string $saName, boolean $isMatcherLexer, integer $referenceType, string $routeName )
$urlGenerated string The URL generated by the standard UrLGenerator
$relevantUri string The relevant URI part of the generated URL (without host and basepath)
$expectedUrl string The URL we're expecting to be finally generated, with siteaccess
$saName string The SiteAccess name
$isMatcherLexer boolean True if the siteaccess matcher is URILexer
$referenceType integer The type of reference to be generated (one of the constants)
$routeName string

testMatchRequestRegularPathinfo() 공개 메소드

testMatchRequestWithSemanticPathinfo() 공개 메소드

프로퍼티 상세

$configResolver 보호되어 있는 프로퍼티

protected PHPUnit_Framework_MockObject_MockObject|ConfigResolverInterface,eZ\Publish\Core\MVC $configResolver
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\ConfigResolverInterface

$container 보호되어 있는 프로퍼티

protected PHPUnit_Framework_MockObject_MockObject|ContainerInterface,Symfony\Component\DependencyInjection $container
리턴 PHPUnit_Framework_MockObject_MockObject | Symfony\Component\DependencyInjection\ContainerInterface

$requestContext 보호되어 있는 프로퍼티

protected RequestContext,Symfony\Component\Routing $requestContext
리턴 Symfony\Component\Routing\RequestContext