All Classes Namespaces Files Functions Variables Pages
ColumnDefinitionItemTest Class Reference
Inheritance diagram for ColumnDefinitionItemTest:
UnitTestCase BaseTestCase

Public Member Functions

 canParseUnquotedMysqlKeywordAsTableName ()
 canParseCreateDefinitionWithTrailingComma ()

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

Definition at line 27 of file ColumnDefinitionItemTest.php.

Member Function Documentation

canParseCreateDefinitionWithTrailingComma ( )

The old regular expression based create table parser processed invalid dump files where the last column/index definition included a comma before the closing parenthesis. Emulate this behaviour to avoid breaking lots of (partial) dump files.


Definition at line 47 of file ColumnDefinitionItemTest.php.

canParseUnquotedMysqlKeywordAsTableName ( )

Definition at line 32 of file ColumnDefinitionItemTest.php.