TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ColumnDefinitionAttributesTest Class Reference
Inheritance diagram for ColumnDefinitionAttributesTest:
UnitTestCase BaseTestCase

Public Member Functions

 canParseColumnDefinitionAttributesDataProvider ()
 
 canParseColumnDefinitionAttributes (string $columnAttribute, bool $allowNull, bool $hasDefaultValue, $defaultValue, bool $autoIncrement, bool $createIndex, bool $createUniqueIndex, bool $isPrimaryKey, string $comment=null, string $columnFormat=null, string $storage=null)
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Tests for CreateColumnDefinitionItem attributes

Definition at line 27 of file ColumnDefinitionAttributesTest.php.

Member Function Documentation

canParseColumnDefinitionAttributes ( string  $columnAttribute,
bool  $allowNull,
bool  $hasDefaultValue,
  $defaultValue,
bool  $autoIncrement,
bool  $createIndex,
bool  $createUniqueIndex,
bool  $isPrimaryKey,
string  $comment = null,
string  $columnFormat = null,
string  $storage = null 
)
Test:
canParseColumnDefinitionAttributesDataProvider
Parameters
string$columnAttribute
bool$allowNull
bool$hasDefaultValue
mixed$defaultValue
bool$autoIncrement
bool$createIndex
bool$createUniqueIndex
bool$isPrimaryKey
string$comment
string$columnFormat
string$storage

Definition at line 352 of file ColumnDefinitionAttributesTest.php.

canParseColumnDefinitionAttributesDataProvider ( )

Each parameter array consists of the following values:

  • column definition attributes SQL fragment
  • allow null values
  • has default value
  • default value
  • auto increment column
  • create index on column
  • create unique index column
  • use column as primary key
  • comment
  • column format
  • storage
Returns
array

Definition at line 45 of file ColumnDefinitionAttributesTest.php.