Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
getProvider ( array $dca = [], array $file = [] ) : |
Returns a DCA schema provider. | |
mockContainerWithDatabaseInstaller ( array $dca = [], array $file = [] ) : Symfony\Component\DependencyInjection\Container | PHPUnit_Framework_MockObject_MockObject | Returns a container with database installer. |
public createSchemaProvider ( ) : array | ||
return | array |
protected getProvider ( array $dca = [], array $file = [] ) : |
||
$dca | array | |
$file | array | |
return |
protected mockContainerWithDatabaseInstaller ( array $dca = [], array $file = [] ) : Symfony\Component\DependencyInjection\Container | PHPUnit_Framework_MockObject_MockObject | ||
$dca | array | |
$file | array | |
return | Symfony\Component\DependencyInjection\Container | PHPUnit_Framework_MockObject_MockObject |
public testCreateSchema ( array $dca = [], array $sql = [] ) | ||
$dca | array | |
$sql | array |
public testIndexWithKeyLength ( ) |
public testInvalidPrimaryKey ( ) |
public testTableCreateDefinitions ( ) |