- BigPipeTest::testBigPipe in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe-delivered HTML responses when JavaScript is enabled.
- BlockContentCreationTest::testFailedBlockCreation in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php - Verifies that a transaction rolls back the failed creation.
- BlockContentReusableIndexUpdatePathTest::testRunUpdates in core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentReusableIndexUpdatePathTest.php - Tests the upgrade path for Block Content reusable index.
- BootstrapConfigStorageFactory::getDatabaseStorage in core/
lib/ Drupal/ Core/ Config/ BootstrapConfigStorageFactory.php - Returns a Database configuration storage implementation.
- BrokenCacheUpdateTest::testUpdate in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ BrokenCacheUpdateTest.php - Ensures that a broken or out-of-date element info cache is not used.
- BulkDeleteTest::testDeleteField in core/
modules/ field/ tests/ src/ Kernel/ BulkDeleteTest.php - Tests deleting fields.
- CacheTest::testNoneResultCaching in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests no caching.
- CacheTest::testTimeResultCaching in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests time based caching.
- CommentIntegrationTest::testViewMode in core/
modules/ comment/ tests/ src/ Kernel/ CommentIntegrationTest.php - Tests view mode setting integration.
- Connection::createDatabase in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Connection.php - Overrides \Drupal\Core\Database\Connection::createDatabase().
- ConnectionFailureTest::testConnectionFailureLogging in core/
modules/ dblog/ tests/ src/ Kernel/ ConnectionFailureTest.php - Tests logging of connection failures.
- ConnectionTest::testCondition in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests that the method ::condition() returns a Condition object.
- ConnectionTest::testConnectionClosing in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the closing of a database connection.
- ConnectionTest::testConnectionOptions in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the connection options of the active database.
- ConnectionTest::testConnectionRouting in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests that connections return appropriate connection objects.
- ConnectionTest::testConnectionRoutingOverride in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests that connections return appropriate connection objects.
- ConnectionTest::testMultipleStatements in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Ensure that you cannot prepare multiple statements.
- ConnectionTest::testMultipleStatementsForNewPhp in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ ConnectionTest.php - Ensure that you cannot execute multiple statements on MySQL.
- ConnectionTest::testMultipleStatementsQuery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Ensure that you cannot execute multiple statements in a query.
- ConnectionTest::testPerTablePrefixOption in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests per-table prefix connection option.
- ConnectionTest::testPrefixArrayOption in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the prefix connection option in array form.
- ContentTranslationSettingsApiTest::testSettingsApi in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationSettingsApiTest.php - Tests that enabling translation via the API triggers schema updates.
- CronQueueTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ System/ CronQueueTest.php - DatabaseBackendTagTest::testTagInvalidations in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTagTest.php - DatabaseDriverProvidedByModuleTest::testDatabaseDriverIsProvidedByModuleButTheModuleIsNotEnabled in core/
modules/ system/ tests/ src/ Functional/ System/ DatabaseDriverProvidedByModuleTest.php - Tests that the status page shows the error message.
- DatabaseDriverUninstallValidator::validate in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriverUninstallValidator.php - Determines the reasons a module can not be uninstalled.
- DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DatabaseExceptionWrapperTest.php - Tests Connection::prepareStatement exceptions on preparation.
- DatabaseExceptionWrapperTest::testQueryThrowsDatabaseExceptionWrapperException in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseExceptionWrapperTest.php - Tests the expected database exception thrown for inexistent tables.
- DatabaseStorageTest::delete in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ DatabaseStorageTest.php - DatabaseStorageTest::insert in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ DatabaseStorageTest.php - DatabaseStorageTest::read in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ DatabaseStorageTest.php - DatabaseStorageTest::testConcurrent in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageTest.php - Tests asynchronous table creation.
- DatabaseStorageTest::testExceptionIsThrownIfQueryFails in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ DatabaseStorageTest.php - Tests that operations throw exceptions if the query fails.
- DatabaseStorageTest::update in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ DatabaseStorageTest.php - DatabaseTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseTestBase.php - DatabaseTestForm::buildForm in core/
modules/ system/ tests/ modules/ database_test/ src/ Form/ DatabaseTestForm.php - Form constructor.
- DatabaseVersionCheckUpdateTest::testUpdate in core/
modules/ system/ tests/ src/ Functional/ Update/ DatabaseVersionCheckUpdateTest.php - Tests that updates fail if the database does not meet the minimum version.
- DbCommandBase::getDatabaseConnection in core/
lib/ Drupal/ Core/ Command/ DbCommandBase.php - Parse input options decide on a database.
- DbCommandBaseTest::testPrefix in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php - Tests specifying a prefix for different connections.
- DbDumpTest::getTableIndexes in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DbDumpTest.php - Returns indexes for a given table.
- DbDumpTest::getTableSchema in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DbDumpTest.php - Helper function to get a simplified schema for a given table.
- DbDumpTest::setUp in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DbDumpTest.php - DbDumpTest::testScriptLoad in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DbDumpTest.php - Tests loading the script back into the database.
- DbImportCommandTest::testDbImportCommand in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbImportCommandTest.php - Tests the command directly.
- DbLogResourceTest::testWatchdog in core/
modules/ dblog/ tests/ src/ Functional/ DbLogResourceTest.php - Writes a log messages and retrieves it via the REST API.
- DbLogTest::doUser in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Generates and then verifies some user events.
- DbLogTest::runCron in core/
modules/ dblog/ tests/ src/ Kernel/ DbLogTest.php - Runs cron and returns number of new log entries.
- DbLogTest::test403LogEventPage in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests that a 403 event is logged with the exception triggering it.
- DbLogTest::testBacktrace in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests that the details page displays correctly backtrace.
- DbLogTest::testDBLogAddAndClear in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests the addition and clearing of log events through the admin interface.
- DbLogTest::testDbLogCron in core/
modules/ dblog/ tests/ src/ Kernel/ DbLogTest.php - Tests that cron correctly applies the database log row limit.
- DbLogTest::testFilter in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests the database log filter functionality at admin/reports/dblog.
- DbLogTest::testLogEventPage in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests individual log event page.
- DbLogTest::testLogEventPageWithMissingInfo in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests individual log event page with missing log attributes.
- DbLogTest::testOnError in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests that the details page displays the backtrace for a logged \Throwable.
- DbLogTest::testOverviewLinks in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Make sure HTML tags are filtered out in the log overview links.
- DbLogTest::testTemporaryUser in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests that the details page displays correctly for a temporary user.
- DbLogTest::verifyBreadcrumbs in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Generates and then verifies breadcrumbs.
- DbLogTest::verifyLinkEscaping in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests link escaping in the operation row of a database log detail page.
- DbLogTest::verifyReports in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Confirms that database log reports are displayed at the correct paths.
- DeleteTest::testInUse in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries deleting a file that is in use.
- DownloadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - drupal_install_system in core/
includes/ install.inc - Installs the system module.
- EndOfTransactionQueriesTest::isStatementRelatedToTable in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ EndOfTransactionQueriesTest.php - Determines if a statement is relative to a specified table.
- EntityApiTest::assertCRUD in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityApiTest.php - Executes a test set for a defined entity type and user.
- EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Ensures that a new field and index on a shared table are created.
- EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Ensures that a new entity level index is created when data exists.
- EntityDisplayTest::testComponentDependencies in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Tests components dependencies additions.
- EntityUpdateInitialTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ EntityUpdateInitialTest.php - ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::setUp in core/
tests/ Drupal/ FunctionalTests/ ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php - ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testExistingDrupal8StyleDatabaseConnectionInSettingsPhp in core/
tests/ Drupal/ FunctionalTests/ ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php - Confirms that the site works with Drupal 8 style database connection array.
- ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testReplicaDrupal8StyleDatabaseConnectionInSettingsPhp in core/
tests/ Drupal/ FunctionalTests/ ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php - Confirms that the replica database connection works.
- FieldDataCountTest::testEntityCountAndHasData in core/
modules/ field/ tests/ src/ Kernel/ FieldDataCountTest.php - Tests entityCount() and hadData() methods.
- FieldSqlStorageTest::testFieldLoad in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldSqlStorageTest.php - Tests field loading works correctly by inserting directly in the tables.
- FieldSqlStorageTest::testFieldUpdateFailure in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldSqlStorageTest.php - Tests that failure to create fields is handled gracefully.
- FieldSqlStorageTest::testFieldUpdateIndexesWithData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldSqlStorageTest.php - Tests adding and removing indexes while data is present.
- FieldSqlStorageTest::testFieldWrite in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldSqlStorageTest.php - Tests field saving works correctly by reading directly from the tables.
- FileFieldRevisionTest::testRevisions in core/
modules/ file/ tests/ src/ Functional/ FileFieldRevisionTest.php - Tests creating multiple revisions of a node and managing attached files.
- GarbageCollectionTest::testGarbageCollection in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ GarbageCollectionTest.php - Tests garbage collection.
- HistoryTimestampTest::testHandlers in core/
modules/ history/ tests/ src/ Kernel/ Views/ HistoryTimestampTest.php - Tests the handlers.
- hook_update_N in core/
lib/ Drupal/ Core/ Extension/ module.api.php - Perform a single update between minor versions.
- ImageItemTest::testImageItemMalformed in core/
modules/ image/ tests/ src/ Kernel/ ImageItemTest.php - Tests a malformed image.
- InstallerDatabaseErrorMessagesTest::setUpSettings in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerDatabaseErrorMessagesTest.php - Installer step: Configure settings.
- InstallerExistingConfigTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTestBase.php - InstallerExistingSettingsTest::visitInstaller in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingSettingsTest.php - Visits the interactive installer.
- InstallerIsolationLevelExistingSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelExistingSettingsTest.php - Verifies that isolation_level is not set in the database settings.
- InstallerIsolationLevelNoDatabaseSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelNoDatabaseSettingsTest.php - Verifies that the isolation_level was added to the database settings.
- InstallerNonDefaultDatabaseDriverTest::setUpSettings in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerNonDefaultDatabaseDriverTest.php - Installer step: Configure settings.
- InstallerTest::testInstalled in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTest.php - Confirms that the installation succeeded.
- InstallerTranslationTest::setUpSettings in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationTest.php - Installer step: Configure settings.
- IpAddressBlockingTest::testIPAddressValidation in core/
modules/ ban/ tests/ src/ Functional/ IpAddressBlockingTest.php - Tests various user input to confirm correct validation and saving of data.
- JoinTest::testBasePlugin in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ JoinTest.php - Tests the join plugin base.
- JoinTest::testExamplePlugin in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ JoinTest.php - Tests an example join plugin.
- KernelTestBaseDatabaseDriverModuleTest::testDatabaseDriverModuleEnabled in core/
tests/ Drupal/ KernelTests/ KernelTestBaseDatabaseDriverModuleTest.php - @covers ::bootEnvironment
- KernelTestBaseTest::tearDown in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - KernelTestBaseTest::testDatabaseDriverModuleEnabled in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::bootEnvironment
- LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ LargeQueryTest.php - Tests truncation of messages when max_allowed_packet exception occurs.
- LocaleImportFunctionalTest::testStandalonePoFile in core/
modules/ locale/ tests/ src/ Functional/ LocaleImportFunctionalTest.php - Tests import of standalone .po files.
- LocalePluralFormatTest::testPluralEditDateFormatter in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Tests plural editing of DateFormatter strings.
- LocalePluralFormatTest::testPluralEditExport in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Tests plural editing and export functionality.
- LocaleTranslationUiTest::testJavaScriptTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationUiTest.php - Tests the rebuilding of JavaScript translation files on deletion.
- LocaleUpdateBase::assertTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Checks the translation of a string.
- LocaleUpdateBase::setCurrentTranslations in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Sets up existing translations and their statuses in the database.
- LocaleUpdateCronTest::testUpdateCron in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateCronTest.php - Tests interface translation update using cron.
- LocaleUpdateTest::testEnableLanguage in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - Tests automatic translation import when a language is added.
- LoggingTest::testEnableLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php - Tests that we can log the existence of a query.
- LoggingTest::testEnableMultiConnectionLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php - Tests that we can log queries separately on different connections.
- LoggingTest::testEnableTargetLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php - Tests logging queries against multiple targets on the same connection.
- LoggingTest::testEnableTargetLoggingNoTarget in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php - Tests that logs to separate targets use the same connection properly.
- MediaPreviewTest::testErrorMessages in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaPreviewTest.php - Tests that failed media embed preview requests inform the end user.
- MediaSourceOEmbedVideoTest::testMediaOEmbedVideoSource in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceOEmbedVideoTest.php - Tests the oembed media source.
- MediaStandardProfileTest::testMediaSources in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Tests all media sources in one method.
- MigrateDateFormatTest::testDateFormats in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d6/ MigrateDateFormatTest.php - Tests the Drupal 6 date formats to Drupal 8 migration.
- MigrateDrupalTestBase::loadFixture in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ MigrateDrupalTestBase.php - Loads a database fixture into the source database connection.
- MigrateFieldInstanceLabelDescriptionTest::migrateDumpAlter in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldInstanceLabelDescriptionTest.php - Allows tests to alter dumps after they have loaded.
- MigrateFieldInstanceLabelDescriptionTest::migrateDumpAlter in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldInstanceLabelDescriptionTest.php - Allows tests to alter dumps after they have loaded.
- MigrateFileTest::migrateDumpAlter in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFileTest.php - Allows tests to alter dumps after they have loaded.
- MigrateFileTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFileTest.php - MigrateFileTest::testFiles in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFileTest.php - Tests the Drupal 6 files to Drupal 8 migration.
- MigrateFilterFormatTest::migrateDumpAlter in core/
modules/ filter/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFilterFormatTest.php - Allows tests to alter dumps after they have loaded.
- MigrateImageCacheTest::testInvalidCropValues in core/
modules/ image/ tests/ src/ Kernel/ Migrate/ d6/ MigrateImageCacheTest.php - Tests that missing action's causes failures.
- MigrateImageCacheTest::testMissingEffectPlugin in core/
modules/ image/ tests/ src/ Kernel/ Migrate/ d6/ MigrateImageCacheTest.php - Tests that missing actions causes failures.
- MigrateLanguageContentCommentSettingsNoEntityTranslationTest::migrateDumpAlter in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d7/ MigrateLanguageContentCommentSettingsNoEntityTranslationTest.php - Allows tests to alter dumps after they have loaded.
- MigrateMenuTest::testMenu in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d6/ MigrateMenuTest.php - Tests the Drupal 6 menu to Drupal 8 migration.
- MigrateMenuTest::testMenu in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d7/ MigrateMenuTest.php - Tests the Drupal 7 menu to Drupal 8 migration.
- MigrateMessageControllerTest::testDetail in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateMessageControllerTest.php - Tests the detail pages for migrate messages.
- MigrateMessageControllerTest::testOverview in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateMessageControllerTest.php - Tests the overview page for migrate messages.
- MigrateMissingDatabaseTest::testMissingDatabase in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateMissingDatabaseTest.php - Tests a SQL migration without the database connection.
- MigrateNodeTest::rerunMigration in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeTest.php - Execute the migration a second time.
- MigrateNodeTest::testNode in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeTest.php - Tests node migration from Drupal 6 to 8.
- MigrateSearchPageTest::testSearchPage in core/
modules/ search/ tests/ src/ Kernel/ Migrate/ d6/ MigrateSearchPageTest.php - Tests Drupal 6 search settings to Drupal 8 search page entity migration.
- MigrateSearchPageTest::testSearchPage in core/
modules/ search/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSearchPageTest.php - Tests migration of search status and settings to search page entity.
- MigrateTestBase::setUp in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php - MigrateTrackerNodeTest::testMigrateTrackerNode in core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerNodeTest.php - Tests migration of tracker node table.
- MigrateTrackerUserTest::testMigrateTrackerUser in core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerUserTest.php - Tests migration of tracker user table.
- MigrateUpgradeTestBase::loadFixture in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php - Loads a database fixture into the source database connection.
- MigrateUpgradeTestBase::setUp in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php - MigrateUrlAliasTest::checkUrlMigration in core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUrlAliasTest.php - Checks the migration results.
- MigrateUserConfigsTest::testUserMail in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserConfigsTest.php - Tests migration of user variables to user.mail.yml.
- MigrateUserSettingsTest::testMigration in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserSettingsTest.php - Tests the migration.
- MigrateUserTest::testUser in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserTest.php - Tests the Drupal6 user to Drupal 8 migration.
- MigrateUserTest::testUser in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserTest.php - Tests the Drupal 7 user to Drupal 8 migration.
- ModuleInstallerTest::testRouteRebuild in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleInstallerTest.php - Tests that routes are rebuilt during install and uninstall of modules.
- ModuleTestBase::assertLogMessage in core/
modules/ system/ tests/ src/ Functional/ Module/ ModuleTestBase.php - Verify a log entry was entered for a module's status change.
- ModuleTestBase::assertModuleTablesDoNotExist in core/
modules/ system/ tests/ src/ Functional/ Module/ ModuleTestBase.php - Assert that none of the tables defined in a module's hook_schema() exist.
- ModuleTestBase::assertModuleTablesExist in core/
modules/ system/ tests/ src/ Functional/ Module/ ModuleTestBase.php - Assert that all tables defined in a module's hook_schema() exist.
- module_test_install in core/
modules/ system/ tests/ modules/ module_test/ module_test.install - Implements hook_install().
- mysql_requirements in core/
modules/ mysql/ mysql.install - Implements hook_requirements().
- NextIdTest::testDbNextIdClosedConnection in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ NextIdTest.php - Tests that sequences table clear up works when a connection is closed.
- NodeAccessRecordsTest::testNodeAccessRecords in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessRecordsTest.php - Creates a node and tests the creation of node access rules.
- NodeAdminTest::testContentAdminSort in core/
modules/ node/ tests/ src/ Functional/ NodeAdminTest.php - Tests that the table sorting works on the content admin pages.
- NodeBlockFunctionalTest::testRecentNodeBlock in core/
modules/ node/ tests/ src/ Functional/ NodeBlockFunctionalTest.php - Tests the recent comments block.
- NodeCreationTest::getWatchdogIdsForTestExceptionRollback in core/
modules/ node/ tests/ src/ Functional/ NodeCreationTest.php - Gets the watchdog IDs of the records with the rollback exception message.
- NodeRevisionsAllTest::testRevisions in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsAllTest.php - Checks node revision operations.
- NodeRevisionsTest::testRevisions in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsTest.php - Checks node revision related operations.
- NodeTermData::query in core/
modules/ taxonomy/ src/ Plugin/ views/ relationship/ NodeTermData.php - Called to implement a relationship in a query.
- node_install in core/
modules/ node/ node.install - Implements hook_install().
- NoPreExistingSchemaUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ NoPreExistingSchemaUpdateTest.php - PagerTestController::buildTestTable in core/
modules/ system/ tests/ modules/ pager_test/ src/ Controller/ PagerTestController.php - Builds a render array for a multi-page test table.
- PathAliasTest::testAdminAlias in core/
modules/ path/ tests/ src/ Functional/ PathAliasTest.php - Tests alias functionality through the admin interfaces.
- PathAliasTest::testNodeAlias in core/
modules/ path/ tests/ src/ Functional/ PathAliasTest.php - Tests alias functionality through the node interfaces.
- PerformanceTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalJavascriptTests/ PerformanceTestBase.php - pgsql_requirements in core/
modules/ pgsql/ pgsql.install - Implements hook_requirements().
- PrefixInfoTest::testGetPrefixInfo in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ PrefixInfoTest.php - Tests that DatabaseSchema::getPrefixInfo() returns the right database.
- PreviewTest::enableViewsTestModule in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ PreviewTest.php - Sets up the views_test_data.module.
- Query::__wakeup in core/
lib/ Drupal/ Core/ Database/ Query/ Query.php - Implements the magic __wakeup function to reconnect to the database.
- QueueTest::testSystemQueue in core/
tests/ Drupal/ KernelTests/ Core/ Queue/ QueueTest.php - Tests the System queue.
- RelatedResourceTypesTest::testGetRelatableResourceTypesFromFieldDefinition in core/
modules/ jsonapi/ tests/ src/ Kernel/ ResourceType/ RelatedResourceTypesTest.php - Ensure a graceful failure when a field can references a missing bundle.
- RelationshipJoinInTest::testRelationshipInQuery in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipJoinInTest.php - Tests the query result of a view with a relationship with an IN condition.
- RelationshipTest::testRelationshipQuery in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipTest.php - Tests the query result of a view with a relationship.
- RelationshipTest::testRelationshipRender in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipTest.php - Tests rendering of a view with a relationship.
- ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ReplicaKillSwitchTest.php - Tests database.replica_kill_switch service.
- RequirementsTest::setUp in core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php - RequirementsTest::testIsolationLevelWarningNotDisplaying in core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php - Test the isolation level warning message on status page.
- SearchMatchTest::_testQueries in core/
modules/ search/ tests/ src/ Kernel/ SearchMatchTest.php - Run predefine queries looking for indexed terms.
- SearchMultilingualEntityTest::assertDatabaseCounts in core/
modules/ search/ tests/ src/ Functional/ SearchMultilingualEntityTest.php - Checks actual database counts of items in the search index.
- SearchMultilingualEntityTest::testMultilingualSearch in core/
modules/ search/ tests/ src/ Functional/ SearchMultilingualEntityTest.php - Tests the indexing throttle and search results with multilingual nodes.
- SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeDeletion in core/
modules/ search/ tests/ src/ Functional/ SearchNodeUpdateAndDeletionTest.php - Tests that the search index info is updated when a node is deleted.
- SearchRankingTest::testRankings in core/
modules/ statistics/ tests/ src/ Functional/ search/ SearchRankingTest.php - Tests statistics ranking on search pages.
- SelectComplexTest::testCountQueryRemovals in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that countQuery removes 'all_fields' statements and ordering clauses.
- SelectComplexTest::testJoinSubquery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that we can join on a query.
- SelectPagerDefaultTest::testElementNumbers in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that every pager gets a valid, non-overlapping element ID.
- SelectPagerDefaultTest::testEvenPagerQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that a pager query returns the correct results.
- SelectPagerDefaultTest::testHavingPagerQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that a paging query results with a having expression are valid.
- SelectPagerDefaultTest::testInnerPagerQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that a pager query results with an inner pager query are valid.
- SelectPagerDefaultTest::testOddPagerQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that a pager query returns the correct results.
- SelectTest::testVulnerableComment in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests query COMMENT system against vulnerabilities.
- SessionTest::testEmptySessionID in core/
modules/ system/ tests/ src/ Functional/ Session/ SessionTest.php - Tests that empty session IDs are not allowed.
- SessionTest::testSessionWrite in core/
modules/ system/ tests/ src/ Functional/ Session/ SessionTest.php - Tests that sessions are only saved when necessary.
- SettingsTest::testEditUI in core/
modules/ views_ui/ tests/ src/ Functional/ SettingsTest.php - Tests the settings for the edit ui.
- ShortcutSetStorage::countAssignedUsers in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Get the number of users who have this set assigned to them.
- SimpletestTestRunResultsStorageTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Test/ SimpletestTestRunResultsStorageTest.php - SqlBase::setUpDatabase in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Gets a connection to the referenced database.
- SqlBaseTest::testBrokenConnection in core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php - Tests the exception when a connection is defined but not available.
- SqlTest::testFailEnsureTables in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ id_map/ SqlTest.php - Tests exception is thrown in ensureTables fails.
- StatementExecutionSubscriber::onStatementExecutionEnd in core/
lib/ Drupal/ Core/ Database/ EventSubscriber/ StatementExecutionSubscriber.php - Subscribes to a statement execution finished event.
- StatisticsAdminTest::testDeleteNode in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsAdminTest.php - Tests that when a node is deleted, the node counter is deleted too.
- StatisticsAdminTest::testExpiredLogs in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsAdminTest.php - Tests that cron clears day counts and expired access logs.
- StorageTest::testImmutableFormLegacyProtection in core/
modules/ system/ tests/ src/ Functional/ Form/ StorageTest.php - Verify that existing contrib code cannot overwrite immutable form state.
- StyleTableTest::testNumericFieldVisible in core/
modules/ views/ tests/ src/ Functional/ Plugin/ StyleTableTest.php - Tests that a number with the value of "0" is displayed in the table.
- Tasks::checkBinaryOutput in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Check Binary Output.
- Tasks::checkBinaryOutputSuccess in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Verify that a binary data roundtrip returns the original string.
- Tasks::checkEncoding in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Check encoding is UTF8.
- Tasks::checkEngineVersion in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks the engine version.
- Tasks::checkExtensions in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Generic function to check postgresql extensions.
- Tasks::checkStandardConformingStrings in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Ensures standard_conforming_strings setting is 'on'.
- Tasks::checkStandardConformingStringsSuccess in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Verifies the standard_conforming_strings setting.
- Tasks::connect in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::ensureInnoDbAvailable in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Ensure that InnoDB is available.
- Tasks::getConnection in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Returns the database connection.
- Tasks::initializeDatabase in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Make PostgreSQL Drupal friendly.
- Tasks::runTestQuery in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Ensures the database can execute commands with the current user.
- TaxonomyQueryAlterTest::testTaxonomyQueryAlter in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyQueryAlterTest.php - Tests that appropriate tags are added when querying the database.
- TemporaryQueryTestBase::countTableRows in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TemporaryQueryTestBase.php - Returns the number of rows of a table.
- TemporaryQueryTestBase::getConnection in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TemporaryQueryTestBase.php - Returns the connection.
- TempStoreDatabaseTest::testSharedTempStore in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ TempStoreDatabaseTest.php - Tests the SharedTempStore API.
- TermIndexTest::testTaxonomyIndex in core/
modules/ taxonomy/ tests/ src/ Functional/ TermIndexTest.php - Tests that the taxonomy index is maintained properly.
- TestRunTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Test/ TestRunTest.php - TestSiteApplicationTest::testInstallInDifferentLanguage in core/
tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php - @coversNothing
- TestSiteApplicationTest::testInstallScript in core/
tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php - @coversNothing
- TestSiteTearDownCommand::tearDown in core/
tests/ Drupal/ TestSite/ Commands/ TestSiteTearDownCommand.php - Removes a given instance by deleting all the database tables and files.
- UpdatePathTest::testLogEntryWithBigId in core/
modules/ dblog/ tests/ src/ Functional/ UpdatePathTest.php - Tests that, after update 10101, the 'wid' column can be a 64-bit integer.
- UpdatePathTestBaseTest::testUpdateHookN in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that updates are properly run.
- UpdatePostUpdateExceptionTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateExceptionTest.php - UpdatePostUpdateFailingTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateFailingTest.php - UpdatePostUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateTest.php - UpdateSchemaTest::testUpdateHooks in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdateSchemaTest.php - Tests that update hooks are properly run.
- UpdateSettingsDefaultFetchUrlUpdateTest::setUp in core/
modules/ update/ tests/ src/ Functional/ Update/ UpdateSettingsDefaultFetchUrlUpdateTest.php - update_test_schema.install in core/
modules/ system/ tests/ modules/ update_test_schema/ update_test_schema.install - Update hooks and schema definition for the update_test_schema module.
- UpsertTest::testUpsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ UpsertTest.php - Confirms that we can upsert (update-or-insert) records successfully.
- UrlAlterFunctionalTest::testUrlAlter in core/
modules/ forum/ tests/ src/ Functional/ UrlAlterFunctionalTest.php - Tests that URL altering works and that it occurs in the correct order.
- UrlAlterFunctionalTest::testUrlAlter in core/
modules/ path_alias/ tests/ src/ Functional/ UrlAlterFunctionalTest.php - Tests that URL altering works and that it occurs in the correct order.
- UsageTest::createTempFiles in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Create files for all the possible combinations of age and status.
- UsageTest::doTestRemoveUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
- UsageTest::testAddUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::add().
- UsageTest::testGetUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage().
- UserDeleteTest::testUserDeleteMultiple in core/
modules/ user/ tests/ src/ Kernel/ UserDeleteTest.php - Tests deleting multiple users.
- UserLoginHttpTest::doTestPasswordReset in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Do password reset testing for given format and account.
- UserPasswordResetTest::setUp in core/
modules/ user/ tests/ src/ FunctionalJavascript/ UserPasswordResetTest.php - UserPasswordResetTest::setUp in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - UserPasswordResetTest::testResetImpersonation in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - Make sure that users cannot forge password reset URLs of other users.
- UserPictureTest::testCreateDeletePicture in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php - Tests creation, display, and deletion of user pictures.
- UserUid::query in core/
modules/ comment/ src/ Plugin/ views/ filter/ UserUid.php - ViewEditTest::testOtherOptions in core/
modules/ views_ui/ tests/ src/ Functional/ ViewEditTest.php - Tests the machine name and administrative comment forms.
- ViewExecutableTest::testSetDisplayWithInvalidDisplay in core/
modules/ views/ tests/ src/ Kernel/ ViewExecutableTest.php - ViewsKernelTestBase::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ ViewsKernelTestBase.php - Sets up the configuration and schema of views and views_test_data modules.
- ViewTestBase::enableViewsTestModule in core/
modules/ views/ tests/ src/ Functional/ ViewTestBase.php - Sets up the views_test_data.module.