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

Public Member Functions

 canParseIndexDefinitionDataProvider ()
 
 canParseIndexDefinition (string $indexDefinition, string $indexName, array $indexColumns, bool $isPrimary, bool $isUnique, bool $isFulltext, bool $isSpatial, string $indexType, array $indexOptions)
 

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 CreateIndexDefinitionItem

Definition at line 28 of file IndexDefinitionTest.php.

Member Function Documentation

canParseIndexDefinition ( string  $indexDefinition,
string  $indexName,
array  $indexColumns,
bool  $isPrimary,
bool  $isUnique,
bool  $isFulltext,
bool  $isSpatial,
string  $indexType,
array  $indexOptions 
)
Test:
canParseIndexDefinitionDataProvider
Parameters
string$indexDefinition
string$indexName
array$indexColumns
bool$isPrimary
bool$isUnique
bool$isFulltext
bool$isSpatial
string$indexType
array$indexOptions

Definition at line 532 of file IndexDefinitionTest.php.

canParseIndexDefinitionDataProvider ( )

Each parameter array consists of the following values:

  • index definition SQL fragment
  • expected index name
  • array of index column definitions [name, length, direction]
  • isPrimary
  • isUnique
  • isFulltext
  • isSpatial
  • indexType
  • options array
Returns
array

Definition at line 44 of file IndexDefinitionTest.php.