PHP 클래스 Contao\CoreBundle\Test\Doctrine\Schema\DcaSchemaProviderTest

파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
createSchemaProvider ( ) : array Provides the data for the schema test.
testCreateSchema ( array $dca = [], array $sql = [] ) Tests creating a schema.
testEmptySchema ( ) Tests that the schema is empty.
testFulltextIndex ( ) Tests adding a fulltext index.
testIndexWithKeyLength ( ) Tests adding an index with a key length.
testInstantiation ( ) Tests the object instantiation.
testInvalidKey ( ) Tests parsing an invalid key.
testInvalidPrimaryKey ( ) Tests parsing an invalid primary key.
testTableCreateDefinitions ( ) Tests the table create definitions.
testTableOptions ( ) Test the table options.

보호된 메소드들

메소드 설명
getProvider ( array $dca = [], array $file = [] ) : DcaSchemaProvider Returns a DCA schema provider.
mockContainerWithDatabaseInstaller ( array $dca = [], array $file = [] ) : Symfony\Component\DependencyInjection\Container | PHPUnit_Framework_MockObject_MockObject Returns a container with database installer.

메소드 상세

createSchemaProvider() 공개 메소드

Provides the data for the schema test.
public createSchemaProvider ( ) : array
리턴 array

getProvider() 보호된 메소드

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

mockContainerWithDatabaseInstaller() 보호된 메소드

Returns a container with database installer.
protected mockContainerWithDatabaseInstaller ( array $dca = [], array $file = [] ) : Symfony\Component\DependencyInjection\Container | PHPUnit_Framework_MockObject_MockObject
$dca array
$file array
리턴 Symfony\Component\DependencyInjection\Container | PHPUnit_Framework_MockObject_MockObject

testCreateSchema() 공개 메소드

Tests creating a schema.
public testCreateSchema ( array $dca = [], array $sql = [] )
$dca array
$sql array

testEmptySchema() 공개 메소드

Tests that the schema is empty.
public testEmptySchema ( )

testFulltextIndex() 공개 메소드

Tests adding a fulltext index.
public testFulltextIndex ( )

testIndexWithKeyLength() 공개 메소드

Tests adding an index with a key length.

testInstantiation() 공개 메소드

Tests the object instantiation.
public testInstantiation ( )

testInvalidKey() 공개 메소드

Tests parsing an invalid key.
public testInvalidKey ( )

testInvalidPrimaryKey() 공개 메소드

Tests parsing an invalid primary key.

testTableCreateDefinitions() 공개 메소드

Tests the table create definitions.

testTableOptions() 공개 메소드

Test the table options.
public testTableOptions ( )