| CommentStatisticsTest |
class |
core/modules/comment/tests/src/Functional/CommentStatisticsTest.php |
Tests comment statistics on nodes. |
| CommentStatisticsTest.php |
file |
core/modules/comment/tests/src/Functional/CommentStatisticsTest.php |
|
| CommentStatisticsTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentStatisticsTest.php |
The theme to install as the default for testing. |
| CommentStatisticsTest::$webUser2 |
property |
core/modules/comment/tests/src/Functional/CommentStatisticsTest.php |
A secondary user for posting comments. |
| CommentStatisticsTest::setUp |
function |
core/modules/comment/tests/src/Functional/CommentStatisticsTest.php |
|
| CommentStatisticsTest::testCommentNodeCommentStatistics |
function |
core/modules/comment/tests/src/Functional/CommentStatisticsTest.php |
Tests the node comment statistics. |
| CommentStatisticsUnitTest |
class |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Tests Drupal\comment\CommentStatistics. |
| CommentStatisticsUnitTest.php |
file |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
|
| CommentStatisticsUnitTest::$callsToFetch |
property |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Counts calls to fetchAssoc(). |
| CommentStatisticsUnitTest::$commentStatistics |
property |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
CommentStatistics service under test. |
| CommentStatisticsUnitTest::$database |
property |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Mock database connection. |
| CommentStatisticsUnitTest::$select |
property |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Mock select interface. |
| CommentStatisticsUnitTest::$statement |
property |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Mock statement. |
| CommentStatisticsUnitTest::fetchObjectCallback |
function |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Return value callback for fetchObject() function on mocked object. |
| CommentStatisticsUnitTest::setUp |
function |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Sets up required mocks and the CommentStatistics service under test. |
| CommentStatisticsUnitTest::testRead |
function |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
Tests the read method. |
| CommentStatusFieldAccessTest |
class |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
Tests comment status field access. |
| CommentStatusFieldAccessTest.php |
file |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
|
| CommentStatusFieldAccessTest::$commentAdmin |
property |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
Comment admin. |
| CommentStatusFieldAccessTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
The theme to install as the default for testing. |
| CommentStatusFieldAccessTest::$modules |
property |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
Modules to install. |
| CommentStatusFieldAccessTest::$nodeAuthor |
property |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
Node author. |
| CommentStatusFieldAccessTest::$profile |
property |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
The profile to install as a basis for testing. |
| CommentStatusFieldAccessTest::setUp |
function |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
|
| CommentStatusFieldAccessTest::testCommentStatusFieldAccessStatus |
function |
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php |
Tests comment status field access. |
| CommentStringIdEntitiesTest |
class |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
Tests that comment fields cannot be added to entities with non-integer IDs. |
| CommentStringIdEntitiesTest.php |
file |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
|
| CommentStringIdEntitiesTest::$modules |
property |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
Modules to install. |
| CommentStringIdEntitiesTest::setUp |
function |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
|
| CommentStringIdEntitiesTest::testCommentFieldNonStringId |
function |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
Tests that comment fields cannot be added entities with non-integer IDs. |
| CommentTest |
class |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
Tests D6 comment source plugin. |
| CommentTest |
class |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
Tests D7 comment source plugin. |
| CommentTest |
class |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
JSON:API integration test for the "Comment" content entity type. |
| CommentTest.php |
file |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
| CommentTest.php |
file |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
|
| CommentTest.php |
file |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
|
| CommentTest::$commentedEntity |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
| CommentTest::$defaultTheme |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The theme to install as the default for testing. |
| CommentTest::$entity |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
| CommentTest::$entityTypeId |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The tested entity type. |
| CommentTest::$modules |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Modules to install. |
| CommentTest::$modules |
property |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
Modules to install. |
| CommentTest::$modules |
property |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
Modules to install. |
| CommentTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The fields that are protected against modification during PATCH requests. |
| CommentTest::$resourceTypeName |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The name of the tested JSON:API resource type. |
| CommentTest::createEntity |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Creates the entity to be tested. |
| CommentTest::doTestPatchIndividual |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Tests PATCHing an individual resource, plus edge cases to ensure good DX. |
| CommentTest::entityAccess |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Checks access for the given operation on the given entity. |
| CommentTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| CommentTest::getExpectedCacheTags |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The expected cache tags for the GET/HEAD response of the test entity. |