class ConnectionTest
Same name in this branch
- 11.x core/tests/Drupal/Tests/Core/Database/ConnectionTest.php \Drupal\Tests\Core\Database\ConnectionTest
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Database/ConnectionTest.php \Drupal\Tests\Core\Database\ConnectionTest
- 8.9.x core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php \Drupal\Tests\Core\Database\Driver\sqlite\ConnectionTest
- 8.9.x core/tests/Drupal/Tests/Core/Database/ConnectionTest.php \Drupal\Tests\Core\Database\ConnectionTest
- 10 core/modules/sqlite/tests/src/Kernel/sqlite/ConnectionTest.php \Drupal\Tests\sqlite\Kernel\sqlite\ConnectionTest
- 10 core/tests/Drupal/Tests/Core/Database/ConnectionTest.php \Drupal\Tests\Core\Database\ConnectionTest
MySQL-specific connection tests.
Attributes
#[Group('Database')]
Hierarchy
- class \Drupal\Tests\mysqli\Kernel\mysqli\ConnectionTest
Expanded class hierarchy of ConnectionTest
File
-
core/
modules/ mysqli/ tests/ src/ Kernel/ mysqli/ ConnectionTest.php, line 13
Namespace
Drupal\Tests\mysqli\Kernel\mysqliView source
class ConnectionTest extends BaseMySqlTest {
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
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. |
ExpectDeprecationTrait::expectDeprecation | public | function | Adds an expected deprecation. |
ExpectDeprecationTrait::setUpErrorHandler | public | function | Sets up the test error handler. |
ExpectDeprecationTrait::tearDownErrorHandler | public | function | Tears down the test error handler. |
ExtensionListTestTrait::getModulePath | protected | function | Gets the path for the specified module. |
ExtensionListTestTrait::getThemePath | protected | function | Gets the path for the specified theme. |
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. |
StorageCopyTrait::replaceStorageContents | protected static | function | Copy the configuration from one storage to another and remove stale items. |
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.