wordpress-develop/tests/phpunit/tests/link
Tonya Mork 40ac5de838 Coding Standards: Add visibility to methods in tests/phpunit/tests/.
Adds a `public` visibility to test fixtures, tests, data providers, and callbacks methods.

Adds a `private` visibility to helper methods within test classes.

Renames callbacks and helpers that previously started with a `_` prefix. Why? For consistency and to leverage using the method visibility. Further naming standardizations is beyond the scope of this commit.

Props costdev, jrf, hellofromTonya.
Fixes #54177.

git-svn-id: https://develop.svn.wordpress.org/trunk@52010 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-04 15:22:47 +00:00
..
getAdjacentPost.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
getAdjacentPostLink.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
getDashboardUrl.php Tests: Add missing @covers tags for files in phpunit/tests/link/. 2021-02-28 17:09:39 +00:00
getFeedLink.php Feeds: Fix the URL returned by get_feed_link() when pretty permalinks are not in use. 2021-02-16 17:32:58 +00:00
getNextCommentsLink.php Tests: Replace assertContains() with assertStringContainsString() when used with strings. 2021-07-19 14:00:11 +00:00
getPostCommentsFeedLink.php Feeds: Avoid notices in get_post_comments_feed_link(). 2021-06-08 22:59:19 +00:00
getPostTypeArchiveLink.php Tests: Add missing @covers tags for files in phpunit/tests/link/. 2021-02-28 17:09:39 +00:00
getPreviewPostLink.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
getPreviousCommentsLink.php Tests: Replace assertContains() with assertStringContainsString() when used with strings. 2021-07-19 14:00:11 +00:00
getThePrivacyPolicyLink.php Tests: Replace assertContains() with assertStringContainsString() when used with strings. 2021-07-19 14:00:11 +00:00
selfAdminUrl.php Tests: Add missing @covers tags for files in phpunit/tests/link/. 2021-02-28 17:09:39 +00:00
themeFile.php Tests: Replace assertFileNotExists() with assertFileDoesNotExist(). 2021-08-06 21:45:32 +00:00
wpGetCanonicalUrl.php Permalinks: Revert the changes stemming from pagination limits. 2021-06-08 23:31:46 +00:00