Drupal 8  8.0.2
CommentLinksTest Class Reference
Inheritance diagram for CommentLinksTest:

Public Member Functions

 testLinkApprove ()
 
 testLinkReply ()
 

Static Public Attributes

static $testViews = ['test_comment']
 
- Static Public Attributes inherited from CommentViewKernelTestBase
static $modules = ['comment_test_views', 'user', 'comment']
 
- Static Public Attributes inherited from ViewKernelTestBase
static $modules = array('system', 'views', 'views_test_config', 'views_test_data', 'user')
 

Additional Inherited Members

- Protected Member Functions inherited from CommentViewKernelTestBase
 setUp ($import_test_views=TRUE)
 
- Protected Member Functions inherited from ViewKernelTestBase
 setUp ($import_test_views=TRUE)
 
 setUpFixtures ()
 
 orderResultSet ($result_set, $column, $reverse=FALSE)
 
 executeView ($view, array $args=array())
 
 schemaDefinition ()
 
 viewsData ()
 
 dataSet ()
 
- Protected Attributes inherited from CommentViewKernelTestBase
 $adminUser
 
 $commentStorage
 
 $userStorage
 

Detailed Description

Tests the comment link field handlers.

comment

Member Function Documentation

testLinkApprove ( )

Test the comment approve link.

References Url\fromRoute(), Views\getView(), Drupal\l(), CommentInterface\NOT_PUBLISHED, CommentInterface\PUBLISHED, and Drupal\service().

Here is the call graph for this function:

testLinkReply ( )

Test the comment reply link.

References CommentManagerInterface\COMMENT_MODE_THREADED, Entity\create(), Url\fromRoute(), Views\getView(), Drupal\l(), CommentInterface\PUBLISHED, and Drupal\service().

Here is the call graph for this function:


The documentation for this class was generated from the following file: