function DriverSpecificSchemaTestBase::checkGeneratedColumnStorage
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificSchemaTestBase::checkGeneratedColumnStorage()
Checks that the database computes a column with the given storage.
Parameters
\Drupal\Core\Database\SchemaDefinition\GeneratedColumnStorage $storage: The asserted storage.
string $table: The table to test.
string $column: The generated column to test.
1 call to DriverSpecificSchemaTestBase::checkGeneratedColumnStorage()
- DriverSpecificSchemaTestBase::testCreateTableWithGeneratedColumn in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php - Tests creating a table with a generated column.
3 methods override DriverSpecificSchemaTestBase::checkGeneratedColumnStorage()
- SchemaTest::checkGeneratedColumnStorage in core/
modules/ sqlite/ tests/ src/ Kernel/ sqlite/ SchemaTest.php - Checks that the database computes a column with the given storage.
- SchemaTest::checkGeneratedColumnStorage in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ SchemaTest.php - Checks that the database computes a column with the given storage.
- SchemaTest::checkGeneratedColumnStorage in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ SchemaTest.php - Checks that the database computes a column with the given storage.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php, line 79
Class
- DriverSpecificSchemaTestBase
- Tests table creation and modification via the schema API.
Namespace
Drupal\KernelTests\Core\DatabaseCode
abstract public function checkGeneratedColumnStorage(GeneratedColumnStorage $storage, string $table, string $column) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.