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

Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$databaseGateway eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway\DoctrineDatabase Database gateway to test.

Public Methods

Method Description
setUp ( ) Inserts DB fixture.
testAssignSectionToContent ( )
testCountContentObjectsInSection ( )
testCountRoleAssignmentsUsingSection ( )
testCtor ( )
testDeleteSection ( )
testInsertSection ( )
testLoadAllSectionData ( )
testLoadSectionData ( )
testLoadSectionDataByIdentifier ( )
testUpdateSection ( )

Protected Methods

Method Description
getDatabaseGateway ( ) : DoctrineDatabase Returns a ready to test DoctrineDatabase gateway.

Method Details

getDatabaseGateway() protected method

Returns a ready to test DoctrineDatabase gateway.
protected getDatabaseGateway ( ) : DoctrineDatabase
return eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway\DoctrineDatabase

setUp() public method

Inserts DB fixture.
public setUp ( )

testAssignSectionToContent() public method

testCountContentObjectsInSection() public method

testCountRoleAssignmentsUsingSection() public method

testCtor() public method

public testCtor ( )

testDeleteSection() public method

public testDeleteSection ( )

testInsertSection() public method

public testInsertSection ( )

testLoadAllSectionData() public method

testLoadSectionData() public method

public testLoadSectionData ( )

testLoadSectionDataByIdentifier() public method

testUpdateSection() public method

public testUpdateSection ( )

Property Details

$databaseGateway protected property

Database gateway to test.
protected DoctrineDatabase,eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway $databaseGateway
return eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway\DoctrineDatabase