PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\ContentUpdater\Action\RemoveFieldTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$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 gateway mock.
$removeFieldAction eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField RemoveField action to test.

공개 메소드들

메소드 설명
testApplyMultipleVersionsMultipleTranslations ( )
testApplyMultipleVersionsSingleTranslation ( )
testApplySingleVersionSingleTranslation ( )
testCtor ( )

보호된 메소드들

메소드 설명
getContentFixture ( $versionNo, $languageCodes ) : eZ\Publish\SPI\Persistence\Content Returns a Content fixture.
getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway Returns a Content Gateway mock.
getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper Returns a Content mapper mock.
getContentStorageHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | StorageHandler Returns a Content StorageHandler mock.
getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition Returns a FieldDefinition fixture.
getRemoveFieldAction ( ) : RemoveField Returns the RemoveField action to test.

메소드 상세

getContentFixture() 보호된 메소드

Returns a Content fixture.
protected getContentFixture ( $versionNo, $languageCodes ) : eZ\Publish\SPI\Persistence\Content
리턴 eZ\Publish\SPI\Persistence\Content

getContentGatewayMock() 보호된 메소드

Returns a Content Gateway mock.
protected getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Gateway

getContentMapperMock() 보호된 메소드

Returns a Content mapper mock.
protected getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Mapper

getContentStorageHandlerMock() 보호된 메소드

Returns a Content StorageHandler mock.
protected getContentStorageHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | StorageHandler
리턴 PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler

getFieldDefinitionFixture() 보호된 메소드

Returns a FieldDefinition fixture.
protected getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition
리턴 eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition

getRemoveFieldAction() 보호된 메소드

Returns the RemoveField action to test.
protected getRemoveFieldAction ( ) : RemoveField
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField

testApplyMultipleVersionsMultipleTranslations() 공개 메소드

testApplyMultipleVersionsSingleTranslation() 공개 메소드

testApplySingleVersionSingleTranslation() 공개 메소드

testCtor() 공개 메소드

public testCtor ( )

프로퍼티 상세

$contentGatewayMock 보호되어 있는 프로퍼티

Content gateway mock.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGatewayMock
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Gateway

$contentMapperMock 보호되어 있는 프로퍼티

protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapperMock
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Mapper

$contentStorageHandlerMock 보호되어 있는 프로퍼티

Content gateway mock.
protected StorageHandler,eZ\Publish\Core\Persistence\Legacy\Content $contentStorageHandlerMock
리턴 eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler

$removeFieldAction 보호되어 있는 프로퍼티

RemoveField action to test.
protected RemoveField,eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action $removeFieldAction
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField