PHP Класс eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\DepthTest

Наследование: extends BaseTest
Показать файл Открыть проект

Открытые методы

Метод Описание
matchContentInfoProvider ( )
matchLocationProvider ( )
testMatchContentInfo ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )
testMatchLocation ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\Location $location, boolean $expectedResult )

Защищенные методы

Метод Описание
setUp ( )

Приватные методы

Метод Описание
generateRepositoryMockForDepth ( integer $depth ) : PHPUnit_Framework_MockObject_MockObject Returns a Repository mock configured to return the appropriate Location object with given parent location Id.

Описание методов

matchContentInfoProvider() публичный Метод

matchLocationProvider() публичный Метод

setUp() защищенный Метод

protected setUp ( )

testMatchContentInfo() публичный Метод

public testMatchContentInfo ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )
$matchingConfig integer | int[]
$repository eZ\Publish\API\Repository\Repository
$expectedResult boolean

testMatchLocation() публичный Метод

public testMatchLocation ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\Location $location, boolean $expectedResult )
$matchingConfig integer | int[]
$location eZ\Publish\API\Repository\Values\Content\Location
$expectedResult boolean