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

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$gateway eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway\DoctrineDatabase The DoctrineDatabase gateway to test.

공개 메소드들

메소드 설명
getTypeCreationContentClassNameExpectations ( ) : string[][] Returns the data expected to be inserted in ezcontentclass_name.
getTypeCreationExpectations ( ) : string[][] Returns the expected data from creating a type.
getTypeUpdateExpectations ( ) : string[][] Returns expected data after update.
setUp ( )
testCountGroupsForType ( )
testCountInstancesOfTypeExist ( )
testCountInstancesOfTypeNotExist ( )
testCountTypesInGroup ( )
testCtor ( )
testDeleteFieldDefinition ( )
testDeleteFieldDefinitionsForTypeExisting ( )
testDeleteFieldDefinitionsForTypeNotExisting ( )
testDeleteGroup ( )
testDeleteGroupAssignment ( )
testDeleteGroupAssignmentsForTypeExisting ( )
testDeleteGroupAssignmentsForTypeNotExisting ( )
testDeleteTypeExisting ( )
testDeleteTypeNotExisting ( )
testInsertFieldDefinition ( )
testInsertGroup ( )
testInsertGroupAssignment ( )
testInsertType ( $column, $expectation )
testInsertTypeContentClassName ( $column, $expectation )
testLoadAllGroupsData ( )
testLoadGroupData ( )
testLoadGroupDataByIdentifier ( )
testLoadTypeData ( )
testLoadTypeDataByIdentifier ( )
testLoadTypeDataByRemoteId ( )
testLoadTypesDataForGroup ( )
testPublishTypeAndFields ( )
testUpdateFieldDefinition ( )
testUpdateGroup ( )
testUpdateType ( $fieldName, $expectedValue )
testUpdateTypeName ( )

보호된 메소드들

메소드 설명
getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition Returns a FieldDefinition fixture.
getGateway ( ) : DoctrineDatabase Returns the DoctrineDatabase gateway to test.
getGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\Group Returns a Group fixture.
getGroupUpdateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct Returns a Group update struct fixture.
getStorageFieldDefinitionFixture ( ) : StorageFieldDefinition Returns a StorageFieldDefinition fixture.
getTypeFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type Returns a Type fixture.
getTypeUpdateFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct Returns a eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct fixture.

메소드 상세

getFieldDefinitionFixture() 보호된 메소드

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

getGateway() 보호된 메소드

Returns the DoctrineDatabase gateway to test.
protected getGateway ( ) : DoctrineDatabase
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway\DoctrineDatabase

getGroupFixture() 보호된 메소드

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

getGroupUpdateStructFixture() 보호된 메소드

Returns a Group update struct fixture.
protected getGroupUpdateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct
리턴 eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct

getStorageFieldDefinitionFixture() 보호된 메소드

Returns a StorageFieldDefinition fixture.
protected getStorageFieldDefinitionFixture ( ) : StorageFieldDefinition
리턴 eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition

getTypeCreationContentClassNameExpectations() 공개 정적인 메소드

Returns the data expected to be inserted in ezcontentclass_name.
public static getTypeCreationContentClassNameExpectations ( ) : string[][]
리턴 string[][]

getTypeCreationExpectations() 공개 정적인 메소드

Returns the expected data from creating a type.
public static getTypeCreationExpectations ( ) : string[][]
리턴 string[][]

getTypeFixture() 보호된 메소드

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

getTypeUpdateExpectations() 공개 정적인 메소드

Data provider for {@link testUpdateType()}.
public static getTypeUpdateExpectations ( ) : string[][]
리턴 string[][]

getTypeUpdateFixture() 보호된 메소드

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

setUp() 공개 메소드

public setUp ( )

testCountGroupsForType() 공개 메소드

testCountInstancesOfTypeExist() 공개 메소드

testCountInstancesOfTypeNotExist() 공개 메소드

testCountTypesInGroup() 공개 메소드

testCtor() 공개 메소드

public testCtor ( )

testDeleteFieldDefinition() 공개 메소드

testDeleteFieldDefinitionsForTypeExisting() 공개 메소드

testDeleteFieldDefinitionsForTypeNotExisting() 공개 메소드

testDeleteGroup() 공개 메소드

public testDeleteGroup ( )

testDeleteGroupAssignment() 공개 메소드

testDeleteGroupAssignmentsForTypeExisting() 공개 메소드

testDeleteGroupAssignmentsForTypeNotExisting() 공개 메소드

testDeleteTypeExisting() 공개 메소드

testDeleteTypeNotExisting() 공개 메소드

testInsertFieldDefinition() 공개 메소드

testInsertGroup() 공개 메소드

public testInsertGroup ( )

testInsertGroupAssignment() 공개 메소드

testInsertType() 공개 메소드

public testInsertType ( $column, $expectation )

testInsertTypeContentClassName() 공개 메소드

public testInsertTypeContentClassName ( $column, $expectation )

testLoadAllGroupsData() 공개 메소드

testLoadGroupData() 공개 메소드

public testLoadGroupData ( )

testLoadGroupDataByIdentifier() 공개 메소드

testLoadTypeData() 공개 메소드

public testLoadTypeData ( )

testLoadTypeDataByIdentifier() 공개 메소드

testLoadTypeDataByRemoteId() 공개 메소드

testLoadTypesDataForGroup() 공개 메소드

testPublishTypeAndFields() 공개 메소드

testUpdateFieldDefinition() 공개 메소드

testUpdateGroup() 공개 메소드

public testUpdateGroup ( )

testUpdateType() 공개 메소드

public testUpdateType ( $fieldName, $expectedValue )

testUpdateTypeName() 공개 메소드

public testUpdateTypeName ( )

프로퍼티 상세

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

The DoctrineDatabase gateway to test.
protected DoctrineDatabase,eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway $gateway
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway\DoctrineDatabase