- BackdropUnitTestCase::setUp in modules/
simpletest/ backdrop_web_test_case.php - Sets up unit test environment.
- BackdropWebTestCase::changeDatabasePrefix in modules/
simpletest/ backdrop_web_test_case.php - Changes the database connection to the prefixed one.
- ConnectionUnitTest::addConnection in modules/
simpletest/ tests/ database_test.test - Adds a new database connection info to Database.
- ConnectionUnitTest::setUp in modules/
simpletest/ tests/ database_test.test - Sets up unit test environment.
- DatabaseConnectionTestCase::testConnectionOptions in modules/
simpletest/ tests/ database_test.test - Tests the connection options of the active database.
- DatabaseConnectionTestCase::testConnectionRouting in modules/
simpletest/ tests/ database_test.test - Test that connections return appropriate connection objects.
- DatabaseConnectionTestCase::testConnectionRoutingOverride in modules/
simpletest/ tests/ database_test.test - Test that connections return appropriate connection objects.
- DatabaseLoggingTestCase::testEnableMultiConnectionLogging in modules/
simpletest/ tests/ database_test.test - Test that we can log queries separately on different connections.
- DatabaseLoggingTestCase::testEnableTargetLogging in modules/
simpletest/ tests/ database_test.test - Test that we can log queries against multiple targets on the same connection.
- DatabaseTasks::checkUtf8mb4 in includes/
install.inc - Check the engine version.
- DatabaseTasks::connect in includes/
install.inc - Check if we can connect to the database.
- SchemaTestCase::testFindTables in modules/
simpletest/ tests/ schema.test - Tests the findTables() method.