PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Tests\Content\LocationHandlerTest

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$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