PHP Class Contao\CoreBundle\Test\Doctrine\Schema\DoctrineSchemaListenerTest

Inheritance: extends Contao\CoreBundle\Test\TestCase
Datei anzeigen Open project: contao/core-bundle

Public Methods

Method Description
testInstantiation ( ) Tests the object instantiation.
testOnSchemaIndexDefinitionIgnoresNonMySqlPlatform ( ) Tests that the onSchemaIndexDefinition() method ignores non MySQL platforms.
testOnSchemaIndexDefinitionIgnoresPrimaryKey ( ) Tests that the onSchemaIndexDefinition() method ignores the primary key.
testOnSchemaIndexDefinitionWithSubpart ( ) Tests the onSchemaIndexDefinition() method with subpart.
testOnSchemaIndexDefinitionWithoutSubpart ( ) Tests the onSchemaIndexDefinition() method without subpart.
testPostGenerateSchema ( ) Tests the postGenerateSchema() method.

Protected Methods

Method Description
getProvider ( array $dca = [], array $file = [] ) : DcaSchemaProvider Returns a DCA schema provider.

Private Methods

Method Description
getIndexEventArg ( $name ) : array Returns the index event argument.

Method Details

getProvider() protected method

Returns a DCA schema provider.
protected getProvider ( array $dca = [], array $file = [] ) : DcaSchemaProvider
$dca array
$file array
return Contao\CoreBundle\Doctrine\Schema\DcaSchemaProvider

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )

testOnSchemaIndexDefinitionIgnoresNonMySqlPlatform() public method

Tests that the onSchemaIndexDefinition() method ignores non MySQL platforms.

testOnSchemaIndexDefinitionIgnoresPrimaryKey() public method

Tests that the onSchemaIndexDefinition() method ignores the primary key.

testOnSchemaIndexDefinitionWithSubpart() public method

Tests the onSchemaIndexDefinition() method with subpart.

testOnSchemaIndexDefinitionWithoutSubpart() public method

Tests the onSchemaIndexDefinition() method without subpart.

testPostGenerateSchema() public method

Tests the postGenerateSchema() method.