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

Public Member Functions

 canParseEnumDataTypeProvider ()
 
 canParseDataType (string $columnDefinition, string $className, array $values)
 

Additional Inherited Members

- Public Attributes inherited from AbstractDataTypeBaseTestCase
const CREATE_TABLE_STATEMENT = 'CREATE TABLE `aTable`(`aField` %s);'
 
- Protected Member Functions inherited from AbstractDataTypeBaseTestCase
 createTableStatement (string $columnDefinition)
 
- 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 parsing ENUM SQL data type

Definition at line 25 of file EnumDataTypeTest.php.

Member Function Documentation

canParseDataType ( string  $columnDefinition,
string  $className,
array  $values 
)
Test:
canParseEnumDataTypeProvider
Parameters
string$columnDefinition
string$className
array$values

Definition at line 60 of file EnumDataTypeTest.php.

canParseEnumDataTypeProvider ( )

Data provider for canParseEnumDataType()

Returns
array

Definition at line 32 of file EnumDataTypeTest.php.