Commit Graph

4 Commits

Author SHA1 Message Date
Dion Hulse 0fbadc1e03 Adding some basic Unit Tests for the Filesystem methods, primarily, WP_Filesystem_Base::find_folder() which is used during FTP upgrades.
This introduces a Mock Filesystem in memory to avoid having to setup a different VM for every combination of filesystem structures possible.


git-svn-id: https://develop.svn.wordpress.org/trunk@25053 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 05:39:20 +00:00
Dion Hulse 02134236de Tests: Avoid PHP Deprecated and Strict Standards warnings from Object references and incompatible method declarations when running under WP_DEBUG
git-svn-id: https://develop.svn.wordpress.org/trunk@25017 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-08 02:55:44 +00:00
Peter Westwood ddbe85a1a7 Tests: Add support for storing your wp-test-config.php file a directory higher if you want to like we do for wp-config.php
git-svn-id: https://develop.svn.wordpress.org/trunk@25008 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:09:35 +00:00
Andrew Nacin 1801ed459c Initial import of unit-tests repository into develop.svn.wordpress.org.
Imported from https://unit-tests.svn.wordpress.org/trunk@1337

see #24976.



git-svn-id: https://develop.svn.wordpress.org/trunk@25002 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 06:38:38 +00:00