‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCase Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCase:
TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypeAttributes\CharacterTypeAttributesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypeAttributes\EnumerationTypeAttributesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypeAttributes\NumericTypeAttributesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\BinaryDataTypeTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\BitDataTypeTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\BlobTypesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\CharDataTypeTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\DateTimeTypesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\EnumDataTypeTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\FixedPointTypesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\FloatingPointTypesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\IntegerTypesTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\JsonDataTypeTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\SetDataTypeTest TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\TextTypesTest

Protected Member Functions

 createSubject (string $statement)
 

Protected Attributes

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

Detailed Description

Base class for test cases related to parser data types.

Definition at line 29 of file AbstractDataTypeBaseTestCase.php.

Member Function Documentation

◆ createSubject()

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

Parse the CREATE TABLE statement and return the reference definition

Definition at line 39 of file AbstractDataTypeBaseTestCase.php.

References $parser.

Referenced by TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\JsonDataTypeTest\canParseBitDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\BitDataTypeTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypeAttributes\EnumerationTypeAttributesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypeAttributes\NumericTypeAttributesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\SetDataTypeTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\EnumDataTypeTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\TextTypesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\BinaryDataTypeTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\BlobTypesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\CharDataTypeTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypeAttributes\CharacterTypeAttributesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\FixedPointTypesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\DateTimeTypesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\FloatingPointTypesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\IntegerTypesTest\canParseDataType(), TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\DateTimeTypesTest\parseDateTimeTypeWithInvalidLowerBound(), and TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\DataTypes\DateTimeTypesTest\parseDateTimeTypeWithInvalidUpperBound().

Member Data Documentation

◆ CREATE_TABLE_STATEMENT

const TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCase::CREATE_TABLE_STATEMENT = 'CREATE TABLE `aTable`(`aField` %s);'
protected

Insert datatype to test into this create table statement

Definition at line 34 of file AbstractDataTypeBaseTestCase.php.