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

Public Member Functions

 hasExpectedTableName ()
 
 hasExpectedTableEngine ()
 
 hasExpectedTableCollation ()
 
 hasExpectedTableCharacterSet ()
 
 hasExpectedTableRowFormat ()
 
 hasExpectedTableAutoIncrementValue ()
 
 isExpectedUidColumn ()
 
 isExpectedPidColumn ()
 
 isExpectedTstampColumn ()
 
 isExpectedSortingColumn ()
 
 isExpectedDeletedColumn ()
 
 isExpectedTSconfigColumn ()
 
 isExpectedNoCacheColumn ()
 
 isExpectedPrimaryKey ()
 
 isExpectedParentKey ()
 
 isExpectedNoCacheKey ()
 
 isExpectedForeignKey ()
 
 hasColumnLengthOnIndex ()
 

Protected Member Functions

 setUp ()
 
- 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

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

Detailed Description

Tests for TableBuilder

Definition at line 33 of file TableBuilderTest.php.

Member Function Documentation

hasColumnLengthOnIndex ( )
Test:

Definition at line 252 of file TableBuilderTest.php.

hasExpectedTableAutoIncrementValue ( )
Test:

Definition at line 101 of file TableBuilderTest.php.

hasExpectedTableCharacterSet ( )
Test:

Definition at line 83 of file TableBuilderTest.php.

hasExpectedTableCollation ( )
Test:

Definition at line 74 of file TableBuilderTest.php.

hasExpectedTableEngine ( )
Test:

Definition at line 65 of file TableBuilderTest.php.

hasExpectedTableName ( )
Test:

Definition at line 57 of file TableBuilderTest.php.

hasExpectedTableRowFormat ( )
Test:

Definition at line 92 of file TableBuilderTest.php.

isExpectedDeletedColumn ( )
Test:

Definition at line 166 of file TableBuilderTest.php.

isExpectedForeignKey ( )
Test:

Definition at line 239 of file TableBuilderTest.php.

isExpectedNoCacheColumn ( )
Test:

Definition at line 192 of file TableBuilderTest.php.

isExpectedNoCacheKey ( )
Test:

Definition at line 228 of file TableBuilderTest.php.

isExpectedParentKey ( )
Test:

Definition at line 217 of file TableBuilderTest.php.

isExpectedPidColumn ( )
Test:

Definition at line 124 of file TableBuilderTest.php.

isExpectedPrimaryKey ( )
Test:

Definition at line 206 of file TableBuilderTest.php.

isExpectedSortingColumn ( )
Test:

Definition at line 152 of file TableBuilderTest.php.

isExpectedTSconfigColumn ( )
Test:

Definition at line 180 of file TableBuilderTest.php.

isExpectedTstampColumn ( )
Test:

Definition at line 138 of file TableBuilderTest.php.

isExpectedUidColumn ( )
Test:

Definition at line 110 of file TableBuilderTest.php.

setUp ( )
protected

Setup test subject

Definition at line 43 of file TableBuilderTest.php.

References GeneralUtility\makeInstance().

Member Data Documentation

$table
protected

Definition at line 38 of file TableBuilderTest.php.