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

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$contentGatewayMock PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Gateway
$contentMapper PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Mapper
$fieldHandlerMock PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
$locationGatewayMock PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
$locationMapperMock PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper

Méthodes publiques

Méthode Description
testChangeMainLocation ( )
testListVersions ( )
testLoadContentInfoByRemoteId ( )
testLoadLocation ( )
testRemoveRawContent ( )
testRemoveSubtree ( )
testSetSectionForSubtree ( )

Méthodes protégées

Méthode Description
getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway Returns Content Gateway mock.
getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper Returns a Content Mapper mock.
getFieldHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | FieldHandler Returns a FieldHandler mock.
getLocationGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway Returns Location Gateway mock.
getLocationMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper Returns a Location Mapper mock.
getPartlyMockedTreeHandler ( array $methods ) : PHPUnit_Framework_MockObject_MockObject | TreeHandler
getTreeHandler ( ) : TreeHandler

Method Details

getContentGatewayMock() protected méthode

Returns Content Gateway mock.
protected getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Gateway

getContentMapperMock() protected méthode

Returns a Content Mapper mock.
protected getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Mapper

getFieldHandlerMock() protected méthode

Returns a FieldHandler mock.
protected getFieldHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | FieldHandler
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler

getLocationGatewayMock() protected méthode

Returns Location Gateway mock.
protected getLocationGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway

getLocationMapperMock() protected méthode

Returns a Location Mapper mock.
protected getLocationMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper

getPartlyMockedTreeHandler() protected méthode

protected getPartlyMockedTreeHandler ( array $methods ) : PHPUnit_Framework_MockObject_MockObject | TreeHandler
$methods array
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler

getTreeHandler() protected méthode

protected getTreeHandler ( ) : TreeHandler
Résultat eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler

testChangeMainLocation() public méthode

testListVersions() public méthode

public testListVersions ( )

testLoadContentInfoByRemoteId() public méthode

testLoadLocation() public méthode

public testLoadLocation ( )

testRemoveRawContent() public méthode

testRemoveSubtree() public méthode

public testRemoveSubtree ( )

testSetSectionForSubtree() public méthode

Property Details

$contentGatewayMock protected_oe property

protected PHPUnit_Framework_MockObject_MockObject|Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGatewayMock
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Gateway

$contentMapper protected_oe property

protected PHPUnit_Framework_MockObject_MockObject|Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapper
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Mapper

$fieldHandlerMock protected_oe property

protected PHPUnit_Framework_MockObject_MockObject|FieldHandler,eZ\Publish\Core\Persistence\Legacy\Content $fieldHandlerMock
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler

$locationGatewayMock protected_oe property

protected PHPUnit_Framework_MockObject_MockObject|Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationGatewayMock
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway

$locationMapperMock protected_oe property

protected PHPUnit_Framework_MockObject_MockObject|Mapper,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationMapperMock
Résultat PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper