Wordpress/tests/phpunit/includes
Dominik Schilling (ocean90) 666d07352e Tests: Don't preserve the global state for Ajax tests when using an external object cache.
Most of the Ajax tests are running in a separate PHP process, and thus PHPUnit attempts to preserve the global state from the parent process by serializing all globals. But this doesn't work for external object caches so we have to disable this "feature".

See #31491.

git-svn-id: https://develop.svn.wordpress.org/trunk@35209 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 20:34:08 +00:00
..
bootstrap.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
exceptions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
factory.php Merge the Responsive Images feature plugin into core, initial commit. See: https://github.com/ResponsiveImagesCG/wp-tevko-responsive-images/ 2015-10-06 04:58:21 +00:00
functions.php During PHPUnit tests, don't autodetect permalink structure during WP installation. 2015-04-16 23:59:01 +00:00
install.php Set $_SERVER['REQUEST_METHOD'] for unit tests. 2015-06-16 00:03:25 +00:00
mock-fs.php Normalize slashes in WP_Filesystem_MockFS::mkdir() and WP_Filesystem_MockFS::locate_parent_node() to avoid an infinite loop on Windows. 2013-11-18 15:32:47 +00:00
mock-image-editor.php Add tests which ensure the wp_editor_set_quality and jpeg_quality filters only apply if they are added before the corresponding WP_Image_Editor is instantiated. 2014-12-15 21:24:21 +00:00
mock-mailer.php Update PHPMailer to 5.2.10 from 5.2.7. 2015-07-08 17:15:02 +00:00
spy-rest-server.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
testcase-ajax.php Tests: Don't preserve the global state for Ajax tests when using an external object cache. 2015-10-15 20:34:08 +00:00
testcase-canonical.php Unit Tests: after [35186], "upgrade" the Canonical fixtures. 2015-10-15 05:50:40 +00:00
testcase-rest-api.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
testcase-xmlrpc.php Use remove_added_uploads() in tearDown() for XMLRPC tests 2014-11-08 20:17:17 +00:00
testcase.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
trac.php Don't use HTTPS in unit tests if OpenSSL isn't loaded. 2014-02-12 20:39:21 +00:00
utils.php Tests: Introduce WP_UnitTestCase::reset_permalinks(), an attempt to DRY up logic for resetting and restoring default permalinks on setUp() and tearDown(). 2015-10-03 17:14:12 +00:00
wp-profiler.php Remove PHP4 constructors from Unit Tests 2015-07-08 16:04:11 +00:00