PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\ObjectState\Gateway\DoctrineDatabaseTest

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$databaseGateway eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway\DoctrineDatabase Database gateway to test.
$languageMaskGenerator eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator Language mask generator.

Méthodes publiques

Méthode Description
setUp ( ) Inserts DB fixture.
testCtor ( )
testDeleteObjectState ( )
testDeleteObjectStateGroup ( )
testDeleteObjectStateLinks ( )
testGetContentCount ( )
testInsertObjectState ( )
testInsertObjectStateGroup ( )
testInsertObjectStateInEmptyGroup ( )
testLoadObjectStateData ( )
testLoadObjectStateDataByIdentifier ( )
testLoadObjectStateDataForContent ( )
testLoadObjectStateGroupData ( )
testLoadObjectStateGroupDataByIdentifier ( )
testLoadObjectStateGroupListData ( )
testLoadObjectStateListData ( )
testSetContentState ( )
testUpdateObjectState ( )
testUpdateObjectStateGroup ( )
testUpdateObjectStateLinks ( )
testUpdateObjectStatePriority ( )

Méthodes protégées

Méthode Description
getDatabaseGateway ( ) : DoctrineDatabase Returns a ready to test DoctrineDatabase gateway.
getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState Returns an object state fixture.
getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group Returns an object state group fixture.

Method Details

getDatabaseGateway() protected méthode

Returns a ready to test DoctrineDatabase gateway.
protected getDatabaseGateway ( ) : DoctrineDatabase
Résultat eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway\DoctrineDatabase

getObjectStateFixture() protected méthode

Returns an object state fixture.
protected getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState
Résultat eZ\Publish\SPI\Persistence\Content\ObjectState

getObjectStateGroupFixture() protected méthode

Returns an object state group fixture.
protected getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group
Résultat eZ\Publish\SPI\Persistence\Content\ObjectState\Group

setUp() public méthode

Inserts DB fixture.
public setUp ( )

testCtor() public méthode

public testCtor ( )

testDeleteObjectState() public méthode

testDeleteObjectStateGroup() public méthode

testGetContentCount() public méthode

public testGetContentCount ( )

testInsertObjectState() public méthode

testInsertObjectStateGroup() public méthode

testInsertObjectStateInEmptyGroup() public méthode

testLoadObjectStateData() public méthode

testLoadObjectStateDataByIdentifier() public méthode

testLoadObjectStateDataForContent() public méthode

testLoadObjectStateGroupData() public méthode

testLoadObjectStateGroupDataByIdentifier() public méthode

testLoadObjectStateGroupListData() public méthode

testLoadObjectStateListData() public méthode

testSetContentState() public méthode

public testSetContentState ( )

testUpdateObjectState() public méthode

testUpdateObjectStateGroup() public méthode

testUpdateObjectStatePriority() public méthode

Property Details

$databaseGateway protected_oe property

Database gateway to test.
protected DoctrineDatabase,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway $databaseGateway
Résultat eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway\DoctrineDatabase

$languageMaskGenerator protected_oe property

Language mask generator.
protected MaskGenerator,eZ\Publish\Core\Persistence\Legacy\Content\Language $languageMaskGenerator
Résultat eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator