class MySqlCastedIntFieldJoinTest

Same name and namespace in other branches
  1. 11.x core/modules/mysql/tests/src/Kernel/mysql/Plugin/views/MySqlCastedIntFieldJoinTest.php \Drupal\Tests\mysql\Kernel\mysql\Plugin\views\MySqlCastedIntFieldJoinTest

Tests MySQL specific cast handling.

@group Database

Hierarchy

Expanded class hierarchy of MySqlCastedIntFieldJoinTest

File

core/modules/mysql/tests/src/Kernel/mysql/Plugin/views/MySqlCastedIntFieldJoinTest.php, line 14

Namespace

Drupal\Tests\mysql\Kernel\mysql\Plugin\views
View source
class MySqlCastedIntFieldJoinTest extends CastedIntFieldJoinTestBase {
  
  /**
   * The db type that should be used for casting fields as integers.
   */
  protected string $castingType = 'UNSIGNED';

}

Members

Title Sort descending Deprecated Modifiers Object type Summary Overriden Title
CastedIntFieldJoinTestBase::$manager protected property A plugin manager which handles the instances of joins.
CastedIntFieldJoinTestBase::$modules protected static property Modules to install.
CastedIntFieldJoinTestBase::$pluginId protected property
CastedIntFieldJoinTestBase::$rootUser protected property
CastedIntFieldJoinTestBase::$testViews public static property
CastedIntFieldJoinTestBase::buildJoin protected function Builds a join using the given configuration.
CastedIntFieldJoinTestBase::setUp protected function
CastedIntFieldJoinTestBase::setUpFixtures protected function
CastedIntFieldJoinTestBase::testBuildJoin public function Tests base join functionality.
ConfigTestTrait::configImporter protected function Returns a ConfigImporter object to import test configuration.
ConfigTestTrait::copyConfig protected function Copies configuration objects from source storage to target storage.
ExtensionListTestTrait::getModulePath protected function Gets the path for the specified module.
ExtensionListTestTrait::getThemePath protected function Gets the path for the specified theme.
MySqlCastedIntFieldJoinTest::$castingType protected property The db type that should be used for casting fields as integers. Overrides CastedIntFieldJoinTestBase::$castingType
RandomGeneratorTrait::getRandomGenerator protected function Gets the random generator for the utility methods.
RandomGeneratorTrait::randomMachineName protected function Generates a unique random string containing letters and numbers.
RandomGeneratorTrait::randomObject public function Generates a random PHP object.
RandomGeneratorTrait::randomString public function Generates a pseudo-random string of ASCII characters of codes 32 to 126.
RandomGeneratorTrait::randomStringValidate Deprecated public function Callback for random string validation.
StorageCopyTrait::replaceStorageContents protected static function Copy the configuration from one storage to another and remove stale items.
TestRequirementsTrait::checkModuleRequirements Deprecated private function Checks missing module requirements.
TestRequirementsTrait::checkRequirements Deprecated protected function Check module requirements for the Drupal use case.
TestRequirementsTrait::getDrupalRoot protected static function Returns the Drupal root directory.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.