BackdropUnitTestCase::setUp in core/modules/simpletest/backdrop_web_test_case.php
Sets up unit test environment.
BackdropWebTestCase::changeDatabasePrefix in core/modules/simpletest/backdrop_web_test_case.php
Changes the database connection to the prefixed one.
BackdropWebTestCase::tearDown in core/modules/simpletest/backdrop_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
ConfigDatabaseStorage::initializeStorage in core/includes/config.inc
Create the database table if does not already exist.
ConnectionUnitTest::addConnection in core/modules/simpletest/tests/database_test.test
Adds a new database connection info to Database.
ConnectionUnitTest::setUp in core/modules/simpletest/tests/database_test.test
Sets up unit test environment.
DatabaseConnectionTestCase::testConnectionOptions in core/modules/simpletest/tests/database_test.test
Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting in core/modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride in core/modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseLoggingTestCase::testEnableMultiConnectionLogging in core/modules/simpletest/tests/database_test.test
Test that we can log queries separately on different connections.
DatabaseLoggingTestCase::testEnableTargetLogging in core/modules/simpletest/tests/database_test.test
Test that we can log queries against multiple targets on the same connection.
DatabaseTasks::checkUtf8mb4 in core/includes/install.inc
Check the engine version.
DatabaseTasks::connect in core/includes/install.inc
Check if we can connect to the database.
db_ignore_replica in core/includes/database/database.inc
Sets a session variable specifying the lag time for ignoring a replica server.