PHP Класс eZ\Publish\Core\Persistence\Legacy\Tests\Content\LocationHandlerTest

Наследование: extends eZ\Publish\Core\Persistence\Legacy\Tests\TestCase
Показать файл Открыть проект

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

Свойство Тип Описание
$contentHandler eZ\Publish\Core\Persistence\Legacy\Content\Handler Mocked content handler instance.
$locationGateway eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway Mocked location gateway instance.
$locationMapper eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper Mocked location mapper instance.
$objectStateHandler eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler | PHPUnit_Framework_MockObject_MockObject Mocked object state handler instance.
$treeHandler eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler | PHPUnit_Framework_MockObject_MockObject Mocked Tree handler instance.

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

Метод Описание
loadParentLocationsForDraftContent ( )
setUp ( )
testChangeMainLocation ( )
testCopySubtree ( ) Test for the copySubtree() method.
testCreateLocation ( )
testHideUnhideUpdateHidden ( )
testHideUpdateHidden ( )
testLoadLocation ( )
testLoadLocationByRemoteId ( )
testLoadLocationSubtree ( )
testLoadLocationsByContent ( )
testMarkSubtreeModified ( )
testMoveSubtree ( )
testRemoveSubtree ( ) Test for the removeSubtree() method.
testSetSectionForSubtree ( )
testSwapLocations ( )
testUpdateLocation ( )

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

Метод Описание
getLocationHandler ( )
getPartlyMockedHandler ( array $methods ) : Handler Returns the handler to test with $methods mocked.

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

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

protected getLocationHandler ( )

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

Returns the handler to test with $methods mocked.
protected getPartlyMockedHandler ( array $methods ) : Handler
$methods array
Результат eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler

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

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

public setUp ( )

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

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

Test for the copySubtree() method.
public testCopySubtree ( )

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

public testCreateLocation ( )

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

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

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

public testLoadLocation ( )

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

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

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

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

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

public testMoveSubtree ( )

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

Test for the removeSubtree() method.
public testRemoveSubtree ( )

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

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

public testSwapLocations ( )

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

public testUpdateLocation ( )

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

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

Mocked content handler instance.
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content $contentHandler
Результат eZ\Publish\Core\Persistence\Legacy\Content\Handler

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

Mocked location gateway instance.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationGateway
Результат eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway

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

Mocked location mapper instance.
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationMapper
Результат eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper

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

Mocked object state handler instance.
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState|PHPUnit_Framework_MockObject_MockObject $objectStateHandler
Результат eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler | PHPUnit_Framework_MockObject_MockObject

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

Mocked Tree handler instance.
protected TreeHandler,eZ\Publish\Core\Persistence\Legacy\Content|PHPUnit_Framework_MockObject_MockObject $treeHandler
Результат eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler | PHPUnit_Framework_MockObject_MockObject