PHP Класс eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest

Наследование: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$contentUpdaterMock eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater Content Updater mock.
$gatewayMock eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway Gateway mock.

Открытые методы

Метод Описание
testDeleteOldType ( )
testPublishNewType ( )
testUpdateContentObjects ( )

Защищенные методы

Метод Описание
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.

Описание методов

getContentUpdaterMock() защищенный Метод

Returns a Content Updater mock.
protected getContentUpdaterMock ( ) : ContentUpdater
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

getGatewayMock() защищенный Метод

Returns a gateway mock.
protected getGatewayMock ( ) : Gateway
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway

getTypeFixtures() защищенный Метод

Returns an array with 'from' and 'to' types.
protected getTypeFixtures ( ) : eZ\Publish\SPI\Persistence\Content\Type[]
Результат eZ\Publish\SPI\Persistence\Content\Type[]

getUpdateHandler() защищенный Метод

Returns the Update Handler to test.
protected getUpdateHandler ( ) : DoctrineDatabase
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DoctrineDatabase

testDeleteOldType() публичный Метод

public testDeleteOldType ( )

testPublishNewType() публичный Метод

public testPublishNewType ( )

testUpdateContentObjects() публичный Метод

Описание свойств

$contentUpdaterMock защищенное свойство

Content Updater mock.
protected ContentUpdater,eZ\Publish\Core\Persistence\Legacy\Content\Type $contentUpdaterMock
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

$gatewayMock защищенное свойство

Gateway mock.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Type $gatewayMock
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway