PHP Класс eZ\Publish\Core\Search\Legacy\Tests\Content\HandlerContentSortTest

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$contentTypeHandler
$fieldRegistry eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry Field registry mock.
$setUp

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

Метод Описание
setUp ( ) Only set up once for these read only tests on a large fixture.
testNoSorting ( )
testSortContentName ( )
testSortDateModified ( )
testSortDatePublished ( )
testSortFieldNumeric ( )
testSortFieldText ( )
testSortSectionIdentifier ( )
testSortSectionName ( )

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

Метод Описание
getContentFieldHandlerMock ( ) : FieldHandler Returns a content field handler mock.
getContentMapperMock ( ) : Mapper Returns a content mapper mock.
getContentSearchHandler ( array $fullTextSearchConfiguration = [] ) : Handler Returns the content search handler to test.
getContentTypeHandler ( )
getFieldRegistry ( ) : ConverterRegistry Returns a field registry mock object.

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

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

Returns a content field handler mock.
protected getContentFieldHandlerMock ( ) : FieldHandler
Результат eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler

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

Returns a content mapper mock.
protected getContentMapperMock ( ) : Mapper
Результат eZ\Publish\Core\Persistence\Legacy\Content\Mapper

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

This method returns a fully functional search handler to perform tests on.
protected getContentSearchHandler ( array $fullTextSearchConfiguration = [] ) : Handler
$fullTextSearchConfiguration array
Результат eZ\Publish\Core\Search\Legacy\Content\Handler

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

protected getContentTypeHandler ( )

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

Returns a field registry mock object.
protected getFieldRegistry ( ) : ConverterRegistry
Результат eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry

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

Skipping the reset-up, since setting up for these tests takes quite some time, which is not required to spent, since we are only reading from the database anyways.
public setUp ( )

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

public testNoSorting ( )

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

public testSortContentName ( )

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

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

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

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

public testSortFieldText ( )

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

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

public testSortSectionName ( )

Описание свойств

$contentTypeHandler защищенное свойство

protected $contentTypeHandler

$fieldRegistry защищенное свойство

Field registry mock.
protected ConverterRegistry,eZ\Publish\Core\Persistence\Legacy\Content\FieldValue $fieldRegistry
Результат eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry

$setUp защищенное статическое свойство

protected static $setUp