Tests: Add missing @covers tags for files in phpunit/tests/hooks/.

Props patopaiar, jrf.
See #39265.

git-svn-id: https://develop.svn.wordpress.org/trunk@50341 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-14 12:09:25 +00:00
parent 93e961bd76
commit 8d1dfb6bcf
10 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,7 @@
* Test the add_filter method of WP_Hook
*
* @group hooks
* @covers WP_Hook::add_filter
*/
class Tests_WP_Hook_Add_Filter extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the apply_filters method of WP_Hook
*
* @group hooks
* @covers WP_Hook::apply_filters
*/
class Tests_WP_Hook_Apply_Filters extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the do_action method of WP_Hook
*
* @group hooks
* @covers WP_Hook::do_action
*/
class Tests_WP_Hook_Do_Action extends WP_UnitTestCase {
private $events = array();

View File

@ -4,6 +4,7 @@
* Test the do_all_hook method of WP_Hook
*
* @group hooks
* @covers WP_Hook::do_all_hook
*/
class Tests_WP_Hook_Do_All_Hook extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the has_filter method of WP_Hook
*
* @group hooks
* @covers WP_Hook::has_filter
*/
class Tests_WP_Hook_Has_Filter extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the has_filters method of WP_Hook
*
* @group hooks
* @covers WP_Hook::has_filters
*/
class Tests_WP_Hook_Has_Filters extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the Iterator implementation of WP_Hook
*
* @group hooks
* @covers WP_Hook::add_filter
*/
class Tests_WP_Hook_Iterator extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the IteratorAggregate implementation of WP_Hook
*
* @group hooks
* @covers WP_Hook::build_preinitialized_hooks
*/
class Tests_WP_Hook_Preinit_Hooks extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the remove_all_filters method of WP_Hook
*
* @group hooks
* @covers WP_Hook::remove_all_filters
*/
class Tests_WP_Hook_Remove_All_Filters extends WP_UnitTestCase {

View File

@ -4,6 +4,7 @@
* Test the remove_filter method of WP_Hook
*
* @group hooks
* @covers WP_Hook::remove_filter
*/
class Tests_WP_Hook_Remove_Filter extends WP_UnitTestCase {