wordpress-develop/tests/phpunit/tests/multisite
Helen Hou-Sandi 80329c379a Multisite: More specific caching for get_dirsize.
Instead of one cache entry for all upload folders for a site on multisite, this now caches for each folder and invalidates that cache based on context. In multisite, this should speed up `get_dirsize` calls since older directories that are much less likely to change will no longer have the size recalculated.

Props janthiel, A5hleyRich, batmoo.
Fixes #19879.


git-svn-id: https://develop.svn.wordpress.org/trunk@49212 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-19 21:49:58 +00:00
..
bootstrap.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
dirsizeCache.php Multisite: More specific caching for get_dirsize. 2020-10-19 21:49:58 +00:00
getBlogDetails.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
getIdFromBlogname.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
getMainSiteId.php Tests: Update legacy arguments passed to WP_UnitTest_Factory_For_Blog::create_object(). 2019-12-25 21:39:46 +00:00
getSite.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
getSpaceAllowed.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
getSpaceUsed.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
isEmailAddressUnsafe.php Code is Poetry. 2017-11-30 23:09:33 +00:00
isUploadSpaceAvailable.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-files-rewriting.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
network.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
networkQuery.php Docs: Correct comments in comments_pre_query, networks_pre_query, and sites_pre_query tests. 2020-09-17 11:18:39 +00:00
site.php Tests: Add a polyfill for assertEqualsWithDelta() to WP_UnitTestCase and use it where appropriate. 2020-09-07 03:12:17 +00:00
siteDetails.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:24:34 +00:00
siteMeta.php Tests: Fix typo in some markTestSkipped() messages. 2020-09-21 20:18:20 +00:00
siteQuery.php Tests: Fix typo in some markTestSkipped() messages. 2020-09-21 20:18:20 +00:00
updateBlogDetails.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
uploadIsUserOverQuota.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpGetSites.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
wpInstallDefaults.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
wpMSSitesListTable.php Code Modernization: Use explicit visibility for class property declarations. 2020-10-17 16:24:35 +00:00
wpmuValidateBlogSignup.php Tests: Update legacy arguments passed to WP_UnitTest_Factory_For_Blog::create_object(). 2019-12-25 21:39:46 +00:00
wpmuValidateUserSignup.php Multisite: Delete the signup entry when a user is deleted from the database. 2020-07-05 11:19:35 +00:00