PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\LocationHandlerTest

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
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 ( )

Méthodes protégées

Méthode Description
getLocationHandler ( )
getPartlyMockedHandler ( array $methods ) : Handler Returns the handler to test with $methods mocked.

Method Details

getLocationHandler() protected méthode

protected getLocationHandler ( )

getPartlyMockedHandler() protected méthode

Returns the handler to test with $methods mocked.
protected getPartlyMockedHandler ( array $methods ) : Handler
$methods array
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler

loadParentLocationsForDraftContent() public méthode

setUp() public méthode

public setUp ( )

testChangeMainLocation() public méthode

testCopySubtree() public méthode

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

testCreateLocation() public méthode

public testCreateLocation ( )

testHideUnhideUpdateHidden() public méthode

testHideUpdateHidden() public méthode

testLoadLocation() public méthode

public testLoadLocation ( )

testLoadLocationByRemoteId() public méthode

testLoadLocationSubtree() public méthode

testLoadLocationsByContent() public méthode

testMarkSubtreeModified() public méthode

testMoveSubtree() public méthode

public testMoveSubtree ( )

testRemoveSubtree() public méthode

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

testSetSectionForSubtree() public méthode

testSwapLocations() public méthode

public testSwapLocations ( )

testUpdateLocation() public méthode

public testUpdateLocation ( )

Property Details

$contentHandler protected_oe property

Mocked content handler instance.
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content $contentHandler
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Handler

$locationGateway protected_oe property

Mocked location gateway instance.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationGateway
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway

$locationMapper protected_oe property

Mocked location mapper instance.
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationMapper
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper

$objectStateHandler protected_oe property

Mocked object state handler instance.
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState|PHPUnit_Framework_MockObject_MockObject $objectStateHandler
Résultat eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler | PHPUnit_Framework_MockObject_MockObject

$treeHandler protected_oe property

Mocked Tree handler instance.
protected TreeHandler,eZ\Publish\Core\Persistence\Legacy\Content|PHPUnit_Framework_MockObject_MockObject $treeHandler
Résultat eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler | PHPUnit_Framework_MockObject_MockObject