wiki.techinc.nl/tests/phpunit/includes/media
Thiemo Kreuz 9c57ea2b7f Replace complicated assertions with assertIsString() and such
This patch tries to make assertions in tests more readable by using more
self-documenting assertions as provided by modern PHPUnit versions. Among
a few others, these two main changes are done:

* I found a lot of assertions with the expected value being the *second*
parameter. I did not changed all of them. Only some that can be replaced
with assertNull() and such.

* I try to replace all `assertTrue( is_…() )` with dedicated assertions.

Change-Id: I1fc72188fbd0edacf13886e7f9a9eacbd85f13c2
2020-01-28 19:17:58 +00:00
..
BitmapMetadataHandlerTest.php
BitmapScalingTest.php
DjVuTest.php
ExifBitmapTest.php
ExifRotationTest.php
ExifTest.php Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
FakeDimensionFile.php
FormatMetadataTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
GIFHandlerTest.php Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
JpegMetadataExtractorTest.php
JpegPixelFormatTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
JpegTest.php
MediaWikiMediaTestCase.php
PNGHandlerTest.php Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
PNGMetadataExtractorTest.php
SvgHandlerTest.php
SVGReaderTest.php
TiffTest.php
WebPHandlerTest.php
XCFHandlerTest.php