AggregatorCronTest::testCron in core/modules/aggregator/src/Tests/AggregatorCronTest.php
Adds feeds and updates them via cron process.
AggregatorTestBase::createFeed in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Creates an aggregator feed.
AggregatorTestBase::uniqueFeed in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Checks whether the feed name and URL are unique.
AggregatorTestBase::updateAndDelete in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Adds and deletes feed items and ensure that the count is zero.
AggregatorTestBase::updateFeedItems in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Updates the feed items.
BasicSyntaxTest::testConcatFields in core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php
Tests string concatenation with field values.
BasicSyntaxTest::testConcatLiterals in core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php
Tests string concatenation.
BasicSyntaxTest::testConcatWsFields in core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php
Tests string concatenation with separator, with field values.
BasicSyntaxTest::testConcatWsLiterals in core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php
Tests string concatenation with separator.
BigPipeTest::testBigPipe in core/modules/big_pipe/src/Tests/BigPipeTest.php
Tests BigPipe-delivered HTML responses when JavaScript is enabled.
BlockContentCreationTest::testFailedBlockCreation in core/modules/block_content/src/Tests/BlockContentCreationTest.php
Verifies that a transaction rolls back the failed creation.
BlockContentSaveTest::testImport in core/modules/block_content/src/Tests/BlockContentSaveTest.php
Checks whether custom block IDs are saved properly during an import.
BlockContentTranslationUITest::testDisabledBundle in core/modules/block_content/src/Tests/BlockContentTranslationUITest.php
Test that no metadata is stored for a disabled bundle.
CaseSensitivityTest::testCaseSensitiveInsert in core/tests/Drupal/KernelTests/Core/Database/CaseSensitivityTest.php
Tests BINARY collation in MySQL.
ConnectionFailureTest::testConnectionFailureLogging in core/modules/dblog/src/Tests/ConnectionFailureTest.php
Tests logging of connection failures.
DatabaseStorageTest::read in core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php
DbDumpTest::getTableIndexes in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
Returns indexes for a given table.
DbDumpTest::getTableSchema in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
Helper function to get a simplified schema for a given table.
DbDumpTest::testScriptLoad in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
Test loading the script back into the database.
DBLogResource::get in core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php
Responds to GET requests.
DbLogTest::doUser in core/modules/dblog/src/Tests/DbLogTest.php
Generates and then verifies some user events.
DbLogTest::testDBLogAddAndClear in core/modules/dblog/src/Tests/DbLogTest.php
Tests the addition and clearing of log events through the admin interface.
DbLogTest::testLogEventPage in core/modules/dblog/src/Tests/DbLogTest.php
Test individual log event page.
DbLogTest::testOverviewLinks in core/modules/dblog/src/Tests/DbLogTest.php
Make sure HTML tags are filtered out in the log overview links.
DbLogTest::testTemporaryUser in core/modules/dblog/src/Tests/DbLogTest.php
Tests that the details page displays correctly for a temporary user.
DbLogTest::verifyBreadcrumbs in core/modules/dblog/src/Tests/DbLogTest.php
Generates and then verifies breadcrumbs.
DbLogTest::verifyCron in core/modules/dblog/src/Tests/DbLogTest.php
Verifies that cron correctly applies the database log row limit.
DbLogTest::verifyReports in core/modules/dblog/src/Tests/DbLogTest.php
Confirms that database log reports are displayed at the correct paths.
DeleteFeedTest::testDeleteFeed in core/modules/aggregator/src/Tests/DeleteFeedTest.php
Deletes a feed and ensures that all of its services are deleted.
DeleteTruncateTest::testSimpleDelete in core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php
Confirms that we can delete a single record successfully.
DeleteTruncateTest::testSpecialColumnDelete in core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php
Confirms that we can delete a single special column name record successfully.
DeleteTruncateTest::testSubselectDelete in core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php
Confirms that we can use a subselect in a delete successfully.
DeleteTruncateTest::testTruncate in core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php
Confirms that we can truncate a whole table successfully.
EntityApiTest::assertCRUD in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
Executes a test set for a defined entity type and user.
FeedParserTest::testAtomSample in core/modules/aggregator/src/Tests/FeedParserTest.php
Tests a feed that uses the Atom format.
FetchTest::testQueryFetchArray in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchBoth in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch a record into a doubly-keyed array explicitly.
FetchTest::testQueryFetchClass in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchCol in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch an entire column of a result set at once.
FetchTest::testQueryFetchDefault in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchNum in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch a record into an indexed array explicitly.
FetchTest::testQueryFetchObject in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that we can fetch a record to an object explicitly.
FetchTest::testRowCount in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Tests that rowCount() throws exception on SELECT query.
FileFieldTestBase::getLastFileId in core/modules/file/src/Tests/FileFieldTestBase.php
Retrieves the fid of the last inserted file.
ForumTest::createForum in core/modules/forum/src/Tests/ForumTest.php
Creates a forum container or a forum.
ForumTest::testAddOrphanTopic in core/modules/forum/src/Tests/ForumTest.php
Tests that forum nodes can't be added without a parent.
ForumTest::verifyForums in core/modules/forum/src/Tests/ForumTest.php
Verifies that the logged in user has access to a forum node.
GarbageCollectionTest::testGarbageCollection in core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php
Tests garbage collection.
history_read_multiple in core/modules/history/history.module
Retrieves the last viewed timestamp for each of the passed node IDs.
hook_node_search_result in core/modules/node/node.api.php
Act on a node being displayed as a search result.
hook_node_update_index in core/modules/node/node.api.php
Act on a node being indexed for searching.
ImageFieldTestBase::getLastFileId in core/modules/image/src/Tests/ImageFieldTestBase.php
Retrieves the fid of the last inserted file.
ImportOpmlTest::submitImportForm in core/modules/aggregator/src/Tests/ImportOpmlTest.php
Submits form with invalid, empty, and valid OPML files.
ImportOpmlTest::validateImportFormFields in core/modules/aggregator/src/Tests/ImportOpmlTest.php
Submits form filled with invalid fields.
InsertDefaultsTest::testDefaultEmptyInsert in core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php
Tests that no action will be preformed if no fields are specified.
InsertDefaultsTest::testDefaultInsert in core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php
Tests that we can run a query that uses default values for everything.
InsertDefaultsTest::testDefaultInsertWithFields in core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php
Tests that we can insert fields with values and defaults in the same query.
InsertLobTest::testInsertMultipleBlob in core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php
Tests that we can insert multiple blob fields in the same query.
InsertLobTest::testInsertOneBlob in core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php
Tests that we can insert a single blob field successfully.
InsertTest::testInsertFieldOnlyDefinition in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests that we can specify fields without values and specify values later.
InsertTest::testInsertSelectAll in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests that the INSERT INTO ... SELECT * ... syntax works.
InsertTest::testInsertSelectFields in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests that the INSERT INTO ... SELECT (fields) ... syntax works.
InsertTest::testMultiInsert in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests that we can insert multiple records in one query object.
InsertTest::testRepeatedInsert in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests that an insert object can be reused with new data after it executes.
InsertTest::testSimpleInsert in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests very basic insert functionality.
InsertTest::testSpecialColumnInsert in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests that we can INSERT INTO a special named column.
InstallTest::testGetSchemaAtInstallTime in core/modules/system/src/Tests/Module/InstallTest.php
Verify that drupal_get_schema() can be used during module installation.
InvalidDataTest::testInsertDuplicateData in core/tests/Drupal/KernelTests/Core/Database/InvalidDataTest.php
Tests aborting of traditional SQL database systems with invalid data.
IpAddressBlockingTest::testIPAddressValidation in core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
Tests various user input to confirm correct validation and saving of data.
LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/tests/Drupal/KernelTests/Core/Database/LargeQueryTest.php
Tests truncation of messages when max_allowed_packet exception occurs.
LocaleImportFunctionalTest::testStandalonePoFile in core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
Test import of standalone .po files.
LocalePluralFormatTest::testPluralEditDateFormatter in core/modules/locale/src/Tests/LocalePluralFormatTest.php
Tests plural editing of DateFormatter strings
LocalePluralFormatTest::testPluralEditExport in core/modules/locale/src/Tests/LocalePluralFormatTest.php
Tests plural editing and export functionality.
LocaleStringTest::testStringCRUDAPI in core/modules/locale/src/Tests/LocaleStringTest.php
Test CRUD API.
LocaleUpdateBase::assertTranslation in core/modules/locale/src/Tests/LocaleUpdateBase.php
Checks the translation of a string.
LocaleUpdateTest::testEnableLanguage in core/modules/locale/src/Tests/LocaleUpdateTest.php
Tests automatic translation import when a language is added.
locale_translation_get_file_history in core/modules/locale/locale.module
Gets current translation status from the {locale_file} table.
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::testEnableMultiLogging in core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php
Tests that we can run two logs in parallel.
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.
MergeTest::testMergeInsert in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Confirms that we can merge-insert a record successfully.
MergeTest::testMergeInsertWithoutUpdate in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Tests that we can merge-insert without any update fields.
MergeTest::testMergeUpdate in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Confirms that we can merge-update a record successfully.
MergeTest::testMergeUpdateExcept in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Confirms that we can merge-update a record successfully.
MergeTest::testMergeUpdateExplicit in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Confirms that we can merge-update a record, with alternate replacement.
MergeTest::testMergeUpdateExpression in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Confirms that we can merge-update a record successfully, with expressions.
MergeTest::testMergeUpdateWithoutUpdate in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Confirms that we can merge-update without any update fields.
NodeAccessBaseTableTest::testNodeAccessBasic in core/modules/node/src/Tests/NodeAccessBaseTableTest.php
Tests the "private" node access functionality.
NodeAccessRecordsTest::testNodeAccessRecords in core/modules/node/src/Tests/NodeAccessRecordsTest.php
Creates a node and tests the creation of node access rules.
NodeCreationTest::getWatchdogIdsForFailedExplicitRollback in core/modules/node/src/Tests/NodeCreationTest.php
Gets the log records with the explicit rollback failed exception message.
NodeCreationTest::getWatchdogIdsForTestExceptionRollback in core/modules/node/src/Tests/NodeCreationTest.php
Gets the watchdog IDs of the records with the rollback exception message.
NodeRevisionPermissionsTest::testNodeRevisionAccessAnyType in core/modules/node/src/Tests/NodeRevisionPermissionsTest.php
Tests general revision access permissions.
NodeRevisionPermissionsTest::testNodeRevisionAccessPerType in core/modules/node/src/Tests/NodeRevisionPermissionsTest.php
Tests revision access permissions for a specific content type.
NodeRevisionsAllTest::testRevisions in core/modules/node/src/Tests/NodeRevisionsAllTest.php
Checks node revision operations.
NodeRevisionsTest::testRevisions in core/modules/node/src/Tests/NodeRevisionsTest.php
Checks node revision related operations.
NodeTranslationUITest::testDisabledBundle in core/modules/node/src/Tests/NodeTranslationUITest.php
Tests that no metadata is stored for a disabled bundle.
PathAliasTest::getPID in core/modules/path/src/Tests/PathAliasTest.php
Returns the path ID.
PathTaxonomyTermTest::testTermAlias in core/modules/path/src/Tests/PathTaxonomyTermTest.php
Tests alias functionality through the admin interfaces.
QueryTest::testArrayArgumentsSQLInjection in core/tests/Drupal/KernelTests/Core/Database/QueryTest.php
Tests SQL injection via database query array arguments.
QueryTest::testArraySubstitution in core/tests/Drupal/KernelTests/Core/Database/QueryTest.php
Tests that we can pass an array of values directly in the query.
QueryTest::testNumericExpressionSubstitution in core/tests/Drupal/KernelTests/Core/Database/QueryTest.php
Tests numeric query parameter expansion in expressions.
QueryTest::testScalarSubstitution in core/tests/Drupal/KernelTests/Core/Database/QueryTest.php
Tests that we can not pass a scalar value when an array is expected.
RangeQueryTest::testRangeQuery in core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php
Confirms that range queries work and return the correct result.
RegressionTest::testRegression_310447 in core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php
Ensures that non-ASCII UTF-8 data is stored in the database properly.
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.
SaveUploadTest::setUp in core/modules/file/src/Tests/SaveUploadTest.php
Sets up a Drupal site for running functional and integration tests.
SaveUploadTest::testNormal in core/modules/file/src/Tests/SaveUploadTest.php
Test the file_save_upload() function.
SchemaTest::testIndexLength in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
Tests that indexes on string fields are limited to 191 characters on MySQL.
SchemaTest::testSchema in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
Tests database interactions.
SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeDeletion in core/modules/search/src/Tests/SearchNodeUpdateAndDeletionTest.php
Tests that the search index info is updated when a node is deleted.
search_update_totals in core/modules/search/search.module
Updates the {search_total} database table.
SelectPagerDefaultTest::testEvenPagerQuery in core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php
Confirms that a pager query returns the correct results.
SelectPagerDefaultTest::testOddPagerQuery in core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php
Confirms that a pager query returns the correct results.
SelectTest::testRandomOrder in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
Tests that random ordering of queries works.
SessionHttpsTest::assertSessionIds in core/modules/system/src/Tests/Session/SessionHttpsTest.php
Test that there exists a session with two specific session IDs.
SessionTest::testEmptySessionID in core/modules/system/src/Tests/Session/SessionTest.php
Test that empty session IDs are not allowed.
SessionTest::testSessionWrite in core/modules/system/src/Tests/Session/SessionTest.php
Test that sessions are only saved when necessary.
ShortcutSetStorage::countAssignedUsers in core/modules/shortcut/src/ShortcutSetStorage.php
Get the number of users who have this set assigned to them.
statistics_cron in core/modules/statistics/statistics.module
Implements hook_cron().
statistics_get in core/modules/statistics/statistics.module
Retrieves a node's "view statistics".
Tasks::checkBinaryOutput in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check Binary Output.
Tasks::checkBinaryOutputSuccess in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Verify that a binary data roundtrip returns the original string.
Tasks::checkEncoding in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check encoding is UTF8.
TermIndexTest::testTaxonomyIndex in core/modules/taxonomy/src/Tests/TermIndexTest.php
Tests that the taxonomy index is maintained properly.
TermTranslationUITest::testTranslationUI in core/modules/taxonomy/src/Tests/TermTranslationUITest.php
Tests the basic translation UI.
tracker_install in core/modules/tracker/tracker.install
Implements hook_install().
TransactionTest::assertRowAbsent in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Asserts that a given row is absent from the test table.
TransactionTest::assertRowPresent in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Asserts that a given row is present in the test table.
TransactionTest::testCommittedTransaction in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Tests a committed transaction.
TransactionTest::testTransactionRollBackNotSupported in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Tests transaction rollback on a database that doesn't support transactions.
TransactionTest::testTransactionRollBackSupported in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Tests transaction rollback on a database that supports transactions.
UpdateComplexTest::testBetweenConditionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests BETWEEN conditional clauses.
UpdateComplexTest::testInConditionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests WHERE IN clauses.
UpdateComplexTest::testLikeConditionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests LIKE conditionals.
UpdateComplexTest::testNotInConditionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests WHERE NOT IN clauses.
UpdateComplexTest::testOrConditionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests updates with OR conditionals.
UpdateComplexTest::testSubSelectUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Test UPDATE with a subselect value.
UpdateComplexTest::testUpdateExpression in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests UPDATE with expression values.
UpdateComplexTest::testUpdateOnlyExpression in core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
Tests UPDATE with only expression values.
UpdateFeedItemTest::testUpdateFeedItem in core/modules/aggregator/src/Tests/UpdateFeedItemTest.php
Tests running "update items" from 'admin/config/services/aggregator' page.
UpdateLobTest::testUpdateMultipleBlob in core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php
Confirms that we can update two blob columns in the same table.
UpdateLobTest::testUpdateOneBlob in core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php
Confirms that we can update a blob column.
UpdateTest::testExpressionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Tests updating with expressions.
UpdateTest::testMultiGTUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirms that we can update multiple records with a non-equality condition.
UpdateTest::testMultiUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirms that we can update multiple records successfully.
UpdateTest::testPrimaryKeyUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirm that we can update the primary key of a record successfully.
UpdateTest::testSimpleNullUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirms updating to NULL.
UpdateTest::testSimpleUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirms that we can update a single record successfully.
UpdateTest::testSpecialColumnUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirm that we can update values in a column with special name.
UpdateTest::testWhereAndConditionUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirms that we can stack condition and where calls.
UpdateTest::testWhereUpdate in core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php
Confirms that we can update multiple records with a where call.
UserInstallTest::testUserInstall in core/modules/user/tests/src/Kernel/UserInstallTest.php
Test that the initial users have correct values.
VocabularyStorage::getToplevelTids in core/modules/taxonomy/src/VocabularyStorage.php
Gets top-level term IDs of vocabularies.
_dblog_get_message_types in core/modules/dblog/dblog.module
Gathers a list of uniquely defined database log message types.
_tracker_add in core/modules/tracker/tracker.module
Updates indexing tables when a node is added, updated, or commented on.
_tracker_remove in core/modules/tracker/tracker.module
Cleans up indexed data when nodes or comments are removed.