PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\ContentUpdaterTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$contentGatewayMock eZ\Publish\Core\Persistence\Legacy\Content\Gateway Content gateway mock.
$contentMapperMock eZ\Publish\Core\Persistence\Legacy\Content\Mapper
$contentStorageHandlerMock eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler Content StorageHandler mock.
$contentUpdater eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater Content Updater to test.
$converterRegistryMock eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry FieldValue converter registry mock.
$searchHandlerMock eZ\Publish\Core\Search\Legacy\Content\Handler Search handler mock.

Méthodes publiques

Méthode Description
testApplyUpdates ( )
testCtor ( )
testDetermineActions ( )

Méthodes protégées

Méthode Description
getContentGatewayMock ( ) : Gateway Returns a Content Gateway mock.
getContentMapperMock ( ) : Mapper Returns a Content mapper mock.
getContentStorageHandlerMock ( ) : StorageHandler Returns a Content StorageHandler mock.
getContentUpdater ( ) : ContentUpdater Returns the content updater to test.
getConverterRegistryMock ( ) : ConverterRegistry Returns a FieldValue Converter registry mock.
getFromTypeFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type Returns a fixture for the from Type.
getToTypeFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type Returns a fixture for the to Type.

Method Details

getContentGatewayMock() protected méthode

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

getContentMapperMock() protected méthode

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

getContentStorageHandlerMock() protected méthode

Returns a Content StorageHandler mock.
protected getContentStorageHandlerMock ( ) : StorageHandler
Résultat eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler

getContentUpdater() protected méthode

Returns the content updater to test.
protected getContentUpdater ( ) : ContentUpdater
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

getConverterRegistryMock() protected méthode

Returns a FieldValue Converter registry mock.
protected getConverterRegistryMock ( ) : ConverterRegistry
Résultat eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry

getFromTypeFixture() protected méthode

Returns a fixture for the from Type.
protected getFromTypeFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type
Résultat eZ\Publish\SPI\Persistence\Content\Type

getToTypeFixture() protected méthode

Returns a fixture for the to Type.
protected getToTypeFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type
Résultat eZ\Publish\SPI\Persistence\Content\Type

testApplyUpdates() public méthode

public testApplyUpdates ( )

testCtor() public méthode

public testCtor ( )

testDetermineActions() public méthode

Property Details

$contentGatewayMock protected_oe property

Content gateway mock.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGatewayMock
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Gateway

$contentMapperMock protected_oe property

protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapperMock
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Mapper

$contentStorageHandlerMock protected_oe property

Content StorageHandler mock.
protected StorageHandler,eZ\Publish\Core\Persistence\Legacy\Content $contentStorageHandlerMock
Résultat eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler

$contentUpdater protected_oe property

Content Updater to test.
protected ContentUpdater,eZ\Publish\Core\Persistence\Legacy\Content\Type $contentUpdater
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

$converterRegistryMock protected_oe property

FieldValue converter registry mock.
protected ConverterRegistry,eZ\Publish\Core\Persistence\Legacy\Content\FieldValue $converterRegistryMock
Résultat eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry

$searchHandlerMock protected_oe property

Search handler mock.
protected Handler,eZ\Publish\Core\Search\Legacy\Content $searchHandlerMock
Résultat eZ\Publish\Core\Search\Legacy\Content\Handler