PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest

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

Protected Properties

Свойство Type Description
$contentUpdaterMock eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater Content Updater mock.
$gatewayMock eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway Gateway mock.

Méthodes publiques

Méthode Description
testDeleteOldType ( )
testPublishNewType ( )
testUpdateContentObjects ( )

Méthodes protégées

Méthode Description
getContentUpdaterMock ( ) : ContentUpdater Returns a Content Updater mock.
getGatewayMock ( ) : Gateway Returns a gateway mock.
getTypeFixtures ( ) : eZ\Publish\SPI\Persistence\Content\Type[] Returns an array with 'from' and 'to' types.
getUpdateHandler ( ) : DoctrineDatabase Returns the Update Handler to test.

Method Details

getContentUpdaterMock() protected méthode

Returns a Content Updater mock.
protected getContentUpdaterMock ( ) : ContentUpdater
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

getGatewayMock() protected méthode

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

getTypeFixtures() protected méthode

Returns an array with 'from' and 'to' types.
protected getTypeFixtures ( ) : eZ\Publish\SPI\Persistence\Content\Type[]
Résultat eZ\Publish\SPI\Persistence\Content\Type[]

getUpdateHandler() protected méthode

Returns the Update Handler to test.
protected getUpdateHandler ( ) : DoctrineDatabase
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DoctrineDatabase

testDeleteOldType() public méthode

public testDeleteOldType ( )

testPublishNewType() public méthode

public testPublishNewType ( )

testUpdateContentObjects() public méthode

Property Details

$contentUpdaterMock protected_oe property

Content Updater mock.
protected ContentUpdater,eZ\Publish\Core\Persistence\Legacy\Content\Type $contentUpdaterMock
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

$gatewayMock protected_oe property

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