Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| CommentTest | class | core/ |
Tests D6 comment source plugin. |
| CommentTest | class | core/ |
Tests D7 comment source plugin. |
| CommentTest | class | core/ |
JSON:API integration test for the "Comment" content entity type. |
| CommentTest.php | file | core/ |
|
| CommentTest.php | file | core/ |
|
| CommentTest.php | file | core/ |
|
| CommentTest::$commentedEntity | property | core/ |
|
| CommentTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| CommentTest::$entity | property | core/ |
|
| CommentTest::$entityTypeId | property | core/ |
The tested entity type. |
| CommentTest::$modules | property | core/ |
Modules to install. |
| CommentTest::$modules | property | core/ |
Modules to install. |
| CommentTest::$modules | property | core/ |
Modules to install. |
| CommentTest::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| CommentTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
| CommentTest::createEntity | function | core/ |
Creates the entity to be tested. |
| CommentTest::doTestPatchIndividual | function | core/ |
Tests PATCHing an individual resource, plus edge cases to ensure good DX. |
| CommentTest::entityAccess | function | core/ |
Checks access for the given operation on the given entity. |
| CommentTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| CommentTest::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
| CommentTest::getExpectedCollectionCacheability | function | core/ |
Computes the cacheability for a given entity collection. |
| CommentTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
| CommentTest::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability for an unauthorized response. |
| CommentTest::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| CommentTest::getIncludePermissions | function | core/ |
Authorize the user under test with additional permissions to view includes. |
| CommentTest::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
| CommentTest::providerSource | function | core/ |
Provides source data for ::testSource. |
| CommentTest::providerSource | function | core/ |
Provides source data for ::testSource. |
| CommentTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| CommentTest::testCollectionFilterAccess | function | core/ |
|
| CommentTestBase | class | core/ |
Provides setup and helper methods for comment tests. |
| CommentTestBase | class | core/ |
Provides setup and helper methods for comment views tests. |
| CommentTestBase.php | file | core/ |
|
| CommentTestBase.php | file | core/ |
|
| CommentTestBase::$account | property | core/ |
A normal user with permission to post comments (without approval). |
| CommentTestBase::$account2 | property | core/ |
A second normal user that will author a node for $account to comment on. |
| CommentTestBase::$adminUser | property | core/ |
An administrative user with permission to configure comment settings. |
| CommentTestBase::$comment | property | core/ |
Stores a comment used by the tests. |
| CommentTestBase::$modules | property | core/ |
Modules to install. |
| CommentTestBase::$modules | property | core/ |
Modules to install. |
| CommentTestBase::$node | property | core/ |
A test node to which comments will be posted. |
| CommentTestBase::$nodeUserCommented | property | core/ |
Stores a node posted by the user created as $account2. |
| CommentTestBase::$nodeUserPosted | property | core/ |
Stores a node posted by the user created as $account. |
| CommentTestBase::$webUser | property | core/ |
A normal user with permission to post comments. |
| CommentTestBase::commentContactInfoAvailable | function | core/ |
Checks whether the commenter's contact information is displayed. |
| CommentTestBase::commentExists | function | core/ |
Checks current page for specified comment. |
| CommentTestBase::createCommentType | function | core/ |
Creates a comment type (bundle). |
| CommentTestBase::deleteComment | function | core/ |
Deletes a comment. |
| CommentTestBase::getUnapprovedComment | function | core/ |
Gets the comment ID for an unapproved comment. |
| CommentTestBase::performCommentOperation | function | core/ |
Performs the specified operation on the specified comment. |
Pagination
- Previous page
- Page 197
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.