wordpress-develop/tests/phpunit/tests/image
John Blackbourn c91be6f1fe Build/Test Tools: Begin eliminating unnecessary randomness in tests.
Although unlikely, clashes in randomly generated strings could cause unexpected failures. In addition, most randomness is entirely unnecessary, is bad practice, and increases test time (however small it may be).

See #37371


git-svn-id: https://develop.svn.wordpress.org/trunk@38762 602fd350-edb4-49c9-b593-d223f7449a82
2016-10-09 01:11:14 +00:00
..
base.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
dimensions.php Fix edge-case in media cropping where selection and destination are the same size. 2014-11-30 06:26:26 +00:00
editor_gd.php Better image-type support checks in image unit tests. 2015-02-22 21:06:36 +00:00
editor_imagick.php Media: Fix typo in test_image_preserves_alpha_on_rotate(). 2016-03-15 03:50:40 +00:00
editor.php Media: Update unit tests after change to default image quality. 2016-02-22 23:13:27 +00:00
functions.php Build/Test Tools: Begin eliminating unnecessary randomness in tests. 2016-10-09 01:11:14 +00:00
header.php Unit Tests: consolidate the many separate implementations of _make_attachment() into a helper method on WP_UnitTestCase. 2015-10-21 01:58:52 +00:00
intermediate_size.php Media: Prevent image_get_intermediate_size() from returning cropped images. 2016-07-18 02:13:45 +00:00
meta.php Build/Test Tools: Revert [38759]. PHPUnit's @requires syntax was introduced in PHPUnit 3.7, but the tests for PHP 5.2 use PHPUnit 3.6 because it's the latest version that supports PHP 5.2. 2016-10-08 22:42:12 +00:00
resize_gd.php Move GD-specific resize test to GD-specific resize test file. 2015-01-21 18:27:44 +00:00
resize_imagick.php Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
resize.php Media/Unit Tests: ensure that the GD absrtraction is used for GD unit tests for Images. Some of the procedural GD API functions can still throw ImagickException, which is fun. 2016-04-29 16:15:37 +00:00
site_icon.php Site Icon: There is no good reason for class-wp-site-icon.php to drop a global instance of itself whenever the file is loaded. The lone use of the global instance of WP_Site_Icon is in an AJAX action that provides virtually no way to override - the file is loaded immediately before the global is used. 2016-08-25 19:08:38 +00:00
size.php Use round() instead of floor() when resizing image dimensions. 2014-11-30 19:53:18 +00:00