Wordpress/tests/phpunit/includes
Aaron Jorbin e421f262dc Replace usages of basename() with wp_basename() in order to support multibyte filenames
This is focused on the pieces of code that touch media files and the tests that support them. `basename` isn't multibyte compatible out of the box. See http://php.net/basename and https://bugs.php.net/bug.php?id=62119.

See #43170.
Props Viper007Bond.


git-svn-id: https://develop.svn.wordpress.org/trunk@44785 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-01 20:57:26 +00:00
..
factory Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
phpunit6 Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
phpunit7 Build/Test Tools: Move WP_UnitTestCase_Base::assertPostConditions() to a more appropriate place. 2019-01-30 14:30:42 +00:00
abstract-testcase.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
bootstrap.php Build/Test Tools: Display a message about currently supported PHPUnit branch to avoid fatal errors on later versions. 2019-02-03 22:40:56 +00:00
class-basic-object.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
class-basic-subclass.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
class-wp-fake-block-type.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-12-13 09:43:29 +00:00
class-wp-rest-test-search-handler.php REST API: Introduce controller for searching across post types. 2018-12-13 09:37:05 +00:00
exceptions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
factory.php Add tests for get_bookmarks() cache. 2016-05-25 18:20:24 +00:00
functions.php Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
install.php Code is Poetry. 2017-11-30 23:09:33 +00:00
listener-loader.php Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
mock-fs.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-image-editor.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-mailer.php Code is Poetry. 2017-11-30 23:09:33 +00:00
object-cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
plural-form-function.php Coding Standards: Ignore the single WordPress.PHP.RestrictedPHPFunctions.create_function_create_function violation. 2019-01-11 03:44:20 +00:00
speed-trap-listener.php Code is Poetry. 2017-11-30 23:09:33 +00:00
spy-rest-server.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-ajax.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-canonical.php Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
testcase-rest-api.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
testcase-rest-controller.php REST API: Include permalink_template/generated_slug for Posts 2018-12-12 02:11:22 +00:00
testcase-rest-post-type-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
testcase-xmlrpc.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase.php Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
trac.php Code is Poetry. 2017-11-30 23:09:33 +00:00
utils.php General: PHP7.3 throws an E_WARNING when using continue to target a switch 2018-09-23 22:49:02 +00:00
wp-profiler.php Code is Poetry. 2017-11-30 23:09:33 +00:00