PHP 클래스 eZ\Publish\Core\Repository\Tests\Service\Mock\SearchTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$domainMapperMock
$permissionsCriterionHandlerMock
$repositoryMock

공개 메소드들

메소드 설명
providerForFindContentValidatesLocationCriteriaAndSortClauses ( )
providerForFindSingleValidatesLocationCriteria ( )
testConstructor ( ) Test for the __construct() method.
testFindContentNoPermissionsFilter ( ) Test for the findContent() method.
testFindContentThrowsHandlerException ( ) Test for the findContent() method.
testFindContentValidatesLocationCriteriaAndSortClauses ( $query, $exceptionMessage )
testFindContentWithDefaultQueryValues ( ) Test for the findContent() method.
testFindContentWithNoPermission ( ) Test for the findContent() method.
testFindContentWithPermission ( ) Test for the findContent() method.
testFindLocationsThrowsHandlerException ( ) Test for the findLocations() method.
testFindLocationsWithDefaultQueryValues ( ) Test for the findContent() method.
testFindLocationsWithNoPermissionsFilter ( ) Test for the findLocations() method.
testFindLocationsWithPermission ( ) Test for the findLocations() method.
testFindSingle ( ) Test for the findSingle() method.
testFindSingleThrowsHandlerException ( ) Test for the findSingle() method.
testFindSingleThrowsNotFoundException ( ) Test for the findSingle() method.
testFindSingleValidatesLocationCriteria ( $criterion, $exceptionMessage )

보호된 메소드들

메소드 설명
getDomainMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | DomainMapper
getPermissionsCriterionHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | PermissionsCriterionHandler

메소드 상세

getDomainMapperMock() 보호된 메소드

protected getDomainMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | DomainMapper
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Repository\Helper\DomainMapper

getPermissionsCriterionHandlerMock() 보호된 메소드

protected getPermissionsCriterionHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | PermissionsCriterionHandler
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Repository\PermissionsCriterionHandler

providerForFindContentValidatesLocationCriteriaAndSortClauses() 공개 메소드

providerForFindSingleValidatesLocationCriteria() 공개 메소드

testConstructor() 공개 메소드

Test for the __construct() method.
public testConstructor ( )

testFindContentNoPermissionsFilter() 공개 메소드

Test for the findContent() method.

testFindContentThrowsHandlerException() 공개 메소드

Test for the findContent() method.

testFindContentValidatesLocationCriteriaAndSortClauses() 공개 메소드

public testFindContentValidatesLocationCriteriaAndSortClauses ( $query, $exceptionMessage )

testFindContentWithDefaultQueryValues() 공개 메소드

Test for the findContent() method.

testFindContentWithNoPermission() 공개 메소드

Test for the findContent() method.

testFindContentWithPermission() 공개 메소드

Test for the findContent() method.

testFindLocationsThrowsHandlerException() 공개 메소드

Test for the findLocations() method.

testFindLocationsWithDefaultQueryValues() 공개 메소드

Test for the findContent() method.

testFindLocationsWithNoPermissionsFilter() 공개 메소드

Test for the findLocations() method.

testFindLocationsWithPermission() 공개 메소드

Test for the findLocations() method.

testFindSingle() 공개 메소드

Test for the findSingle() method.
public testFindSingle ( )

testFindSingleThrowsHandlerException() 공개 메소드

Test for the findSingle() method.

testFindSingleThrowsNotFoundException() 공개 메소드

Test for the findSingle() method.

testFindSingleValidatesLocationCriteria() 공개 메소드

public testFindSingleValidatesLocationCriteria ( $criterion, $exceptionMessage )

프로퍼티 상세

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

protected $domainMapperMock

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

protected $permissionsCriterionHandlerMock

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

protected $repositoryMock