PHP 클래스 eZ\Publish\Core\Pagination\Tests\ContentSearchHitAdapterTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$searchService eZ\Publish\API\Repository\SearchService | PHPUnit_Framework_MockObject_MockObject

공개 메소드들

메소드 설명
testGetNbResults ( )
testGetSlice ( )

보호된 메소드들

메소드 설명
getAdapter ( eZ\Publish\API\Repository\Values\Content\Query $query, eZ\Publish\API\Repository\SearchService $searchService ) : ContentSearchHitAdapter Returns the adapter to test.
getExpectedFinalResultFromHits ( $hits ) : mixed Returns expected result from adapter from search hits.
setUp ( )

메소드 상세

getAdapter() 보호된 메소드

Returns the adapter to test.
protected getAdapter ( eZ\Publish\API\Repository\Values\Content\Query $query, eZ\Publish\API\Repository\SearchService $searchService ) : ContentSearchHitAdapter
$query eZ\Publish\API\Repository\Values\Content\Query
$searchService eZ\Publish\API\Repository\SearchService
리턴 eZ\Publish\Core\Pagination\Pagerfanta\ContentSearchHitAdapter

getExpectedFinalResultFromHits() 보호된 메소드

Returns expected result from adapter from search hits.
protected getExpectedFinalResultFromHits ( $hits ) : mixed
$hits
리턴 mixed

setUp() 보호된 메소드

protected setUp ( )

testGetNbResults() 공개 메소드

public testGetNbResults ( )

testGetSlice() 공개 메소드

public testGetSlice ( )

프로퍼티 상세

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

protected SearchService,eZ\Publish\API\Repository|PHPUnit_Framework_MockObject_MockObject $searchService
리턴 eZ\Publish\API\Repository\SearchService | PHPUnit_Framework_MockObject_MockObject