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 |
||
|---|---|---|
| .. | ||
| BitmapMetadataHandlerTest.php | ||
| BitmapScalingTest.php | ||
| DjVuTest.php | ||
| ExifBitmapTest.php | ||
| ExifRotationTest.php | ||
| ExifTest.php | ||
| FakeDimensionFile.php | ||
| FormatMetadataTest.php | ||
| GIFHandlerTest.php | ||
| JpegMetadataExtractorTest.php | ||
| JpegPixelFormatTest.php | ||
| JpegTest.php | ||
| MediaWikiMediaTestCase.php | ||
| PNGHandlerTest.php | ||
| PNGMetadataExtractorTest.php | ||
| SvgHandlerTest.php | ||
| SVGReaderTest.php | ||
| TiffTest.php | ||
| WebPHandlerTest.php | ||
| XCFHandlerTest.php | ||