| TestSandboxDatabaseUpdatesValidator::setState |
function |
core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php |
Sets the state service dependency. |
| TestService::$database |
property |
core/modules/system/tests/modules/autowire_test/src/TestService.php |
The database connection. |
| TestService::getDatabase |
function |
core/modules/system/tests/modules/autowire_test/src/TestService.php |
|
| TestSetupTrait::$databasePrefix |
property |
core/lib/Drupal/Core/Test/TestSetupTrait.php |
The database prefix of this test run. |
| TestSetupTrait::changeDatabasePrefix |
function |
core/lib/Drupal/Core/Test/TestSetupTrait.php |
Changes the database connection to the prefixed one. |
| TestSetupTrait::prepareDatabasePrefix |
function |
core/lib/Drupal/Core/Test/TestSetupTrait.php |
Generates a database prefix for running tests. |
| TestSetupTraitTest::testChangeDatabasePrefix |
function |
core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php |
Tests the SIMPLETEST_DB environment variable is used. |
| TestSiteApplicationTest::addTestDatabase |
function |
core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php |
Adds the installed test site to the database connection info. |
| TestSiteInstallCommand::changeDatabasePrefix |
function |
core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php |
Changes the database connection to the prefixed one. |
| TestSiteInstallCommand::prepareDatabasePrefix |
function |
core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php |
Generates a database prefix for the site installation. |
| TestSqlBase::$database |
property |
core/modules/migrate/tests/src/Unit/SqlBaseTest.php |
The database object. |
| TestSqlBase::getDatabase |
function |
core/modules/migrate/tests/src/Unit/SqlBaseTest.php |
Gets the database connection object. |
| TestSqlBase::getDatabase |
function |
core/modules/migrate/tests/src/Kernel/SqlBaseTest.php |
Gets the database without caching it. |
| TestSqlBase::setDatabase |
function |
core/modules/migrate/tests/src/Unit/SqlBaseTest.php |
Allows us to set the database during tests. |
| TestTestDatabase |
class |
core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php |
Stub class supports TestDatabaseTest::testConstructorNullPrefix(). |
| TestTestDatabase::getTestLock |
function |
core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php |
Generates a unique lock ID for the test method. |
| TransactionTest::testRollbackAfterDdlStatementForNonTransactionalDdlDatabase |
function |
core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php |
Tests rollback after a DDL statement when no transactional DDL supported. |
| TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase |
function |
core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php |
Tests post-transaction rollback executes after a DDL statement. |
| TransactionTest::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase |
function |
core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php |
Tests post-transaction rollback failure after a DDL statement. |
| UncaughtExceptionTest::testLostDatabaseConnection |
function |
core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php |
Tests the case when the database connection is gone. |
| UpdateEmptyEmailsUpdatePathTest::setDatabaseDumpFiles |
function |
core/modules/update/tests/src/Functional/Update/UpdateEmptyEmailsUpdatePathTest.php |
Set database dump files to be used. |
| UpdatePathTestBase::$databaseDumpFiles |
property |
core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php |
The file path(s) to the dumped database(s) to load into the child site. |
| UpdatePathTestBase::setDatabaseDumpFiles |
function |
core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php |
Set database dump files to be used. |
| UpdatePathTestBase::testDatabaseLoaded |
function |
core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php |
Tests that the database was properly loaded. |
| UpdatePathTestBaseFilledTest::setDatabaseDumpFiles |
function |
core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php |
Set database dump files to be used. |
| UpdatePathTestBaseFilledTest::testDatabaseProperlyLoaded |
function |
core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php |
Tests that the database was properly loaded. |
| UpdatePathTestBaseTest::setDatabaseDumpFiles |
function |
core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php |
Set database dump files to be used. |
| UpdatePathTestBaseTest::testDatabaseProperlyLoaded |
function |
core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php |
Tests that the database was properly loaded. |
| UpdateScriptTestController::databaseUpdatesMenuItem |
function |
core/modules/system/tests/modules/update_script_test/src/Controller/UpdateScriptTestController.php |
Outputs a link to the database updates URL. |
| UserRememberRolesFilterSettingTest::setDatabaseDumpFiles |
function |
core/modules/views/tests/src/Functional/Update/UserRememberRolesFilterSettingTest.php |
Set database dump files to be used. |
| UserSearch::$database |
property |
core/modules/user/src/Plugin/Search/UserSearch.php |
The database connection. |
| UserUid::$database |
property |
core/modules/comment/src/Plugin/views/argument/UserUid.php |
Database Service Object. |
| ViewExecutable::$base_database |
property |
core/modules/views/src/ViewExecutable.php |
Allow to override the used database which is used for this query. |
| ViewsAddDefaultTableCssClassUpdateTest::setDatabaseDumpFiles |
function |
core/modules/views/tests/src/Functional/Update/ViewsAddDefaultTableCssClassUpdateTest.php |
Set database dump files to be used. |
| WorkspaceAssociationRevisionTableUpdateTest::setDatabaseDumpFiles |
function |
core/modules/workspaces/tests/src/Functional/Update/WorkspaceAssociationRevisionTableUpdateTest.php |
Set database dump files to be used. |
| WorkspaceAssociationStringIdsUpdatePathTest::setDatabaseDumpFiles |
function |
core/modules/workspaces/tests/src/Functional/Update/WorkspaceAssociationStringIdsUpdatePathTest.php |
Set database dump files to be used. |