PHP 클래스 eZ\Publish\Core\MVC\Symfony\Matcher\Tests\AbstractMatcherFactoryTest

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

공개 메소드들

메소드 설명
testMatch ( )
testMatchFail ( )
testMatchFailNoViewType ( )
testMatchInvalidMatcher ( )

보호된 메소드들

메소드 설명
getBlockView ( array $blockProperties = [] ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\Symfony\View\BlockView
getContentView ( array $contentInfoProperties = [], array $locationProperties = [] ) : PHPUnit_Framework_MockObject_MockObject | ContentView
getMatchableValueObject ( ) : eZ\Publish\API\Repository\Values\ValueObject Returns a valid ValueObject (supported by current MatcherFactory), that will match the test rules.
getMatcherClass ( ) : string Returns the matcher class to use in test configuration.
getNonMatchableValueObject ( ) : eZ\Publish\API\Repository\Values\ValueObject Returns a valid ValueObject (supported by current MatcherFactory), that won't match the test rules.
getRepositoryMock ( ) : PHPUnit_Framework_MockObject_MockObject

메소드 상세

getBlockView() 보호된 메소드

protected getBlockView ( array $blockProperties = [] ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\Symfony\View\BlockView
$blockProperties array
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\Symfony\View\BlockView

getContentView() 보호된 메소드

protected getContentView ( array $contentInfoProperties = [], array $locationProperties = [] ) : PHPUnit_Framework_MockObject_MockObject | ContentView
$contentInfoProperties array
$locationProperties array
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\Symfony\View\ContentView

getMatchableValueObject() 추상적인 보호된 메소드

i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory.
abstract protected getMatchableValueObject ( ) : eZ\Publish\API\Repository\Values\ValueObject
리턴 eZ\Publish\API\Repository\Values\ValueObject

getMatcherClass() 추상적인 보호된 메소드

Must be relative to the matcher's ::MATCHER_RELATIVE_NAMESPACE constant. i.e.: Id\\Location.
abstract protected getMatcherClass ( ) : string
리턴 string

getNonMatchableValueObject() 추상적인 보호된 메소드

i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory.
abstract protected getNonMatchableValueObject ( ) : eZ\Publish\API\Repository\Values\ValueObject
리턴 eZ\Publish\API\Repository\Values\ValueObject

getRepositoryMock() 보호된 메소드

protected getRepositoryMock ( ) : PHPUnit_Framework_MockObject_MockObject
리턴 PHPUnit_Framework_MockObject_MockObject

testMatch() 공개 메소드

public testMatch ( )

testMatchFail() 공개 메소드

public testMatchFail ( )

testMatchFailNoViewType() 공개 메소드

testMatchInvalidMatcher() 공개 메소드