TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractDataTypeBaseTestCase Class Reference
Inheritance diagram for AbstractDataTypeBaseTestCase:
UnitTestCase BaseTestCase CharacterTypeAttributesTest EnumerationTypeAttributesTest NumericTypeAttributesTest BinaryDataTypeTest BitDataTypeTest BlobTypesTest CharDataTypeTest DateTimeTypesTest EnumDataTypeTest FixedPointTypesTest FloatingPointTypesTest IntegerTypesTest JsonDataTypeTest SetDataTypeTest TextTypesTest

Public Attributes

const CREATE_TABLE_STATEMENT = 'CREATE TABLE `aTable`(`aField` %s);'
 

Protected Member Functions

 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= '')
 

Additional Inherited Members

- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Base class for test cases related to parser data types.

Definition at line 27 of file AbstractDataTypeBaseTestCase.php.

Member Function Documentation

createTableStatement ( string  $columnDefinition)
protected

Wrap a column definition into a create table statement for testing

Parameters
string$columnDefinition
Returns
string

Definition at line 40 of file AbstractDataTypeBaseTestCase.php.

Member Data Documentation

const CREATE_TABLE_STATEMENT = 'CREATE TABLE `aTable`(`aField` %s);'

Insert datatype to test into this create table statement

Definition at line 32 of file AbstractDataTypeBaseTestCase.php.