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

Inheritance: extends Contao\CoreBundle\Test\TestCase
Afficher le fichier Open project: contao/core-bundle

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Private Methods

Méthode Description
getIndexEventArg ( $name ) : array Returns the index event argument.

Method Details

getProvider() protected méthode

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

testInstantiation() public méthode

Tests the object instantiation.
public testInstantiation ( )

testOnSchemaIndexDefinitionIgnoresNonMySqlPlatform() public méthode

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

testOnSchemaIndexDefinitionIgnoresPrimaryKey() public méthode

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

testOnSchemaIndexDefinitionWithSubpart() public méthode

Tests the onSchemaIndexDefinition() method with subpart.

testOnSchemaIndexDefinitionWithoutSubpart() public méthode

Tests the onSchemaIndexDefinition() method without subpart.

testPostGenerateSchema() public méthode

Tests the postGenerateSchema() method.