PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$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