‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\TableOptionsTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\TableOptionsTest:

Public Member Functions

 canParseTableOptions (string $tableOptionsSQL, array $expectedTableOptions)
 

Static Public Member Functions

static canParseTableOptionsDataProvider ()
 

Protected Member Functions

 createSubject (string $statement)
 

Detailed Description

Tests for CreateTableStatement table options

Definition at line 31 of file TableOptionsTest.php.

Member Function Documentation

◆ canParseTableOptions()

TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\TableOptionsTest::canParseTableOptions ( string  $tableOptionsSQL,
array  $expectedTableOptions 
)

◆ canParseTableOptionsDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\TableOptionsTest::canParseTableOptionsDataProvider ( )
static

Each parameter array consists of the following values:

  • ‪table options SQL fragment
  • ‪expected options array

Definition at line 38 of file TableOptionsTest.php.

◆ createSubject()

TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\TableOptionsTest::createSubject ( string  $statement)
protected

Parse the CREATE TABLE statement and return the reference definition

Definition at line 160 of file TableOptionsTest.php.

References $parser.

Referenced by TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\TableOptionsTest\canParseTableOptions().