aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/libs/DeflateTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge "mediawiki.deflate: Add mw.deflateAsync which can use CompressionStream"jenkins-bot2024-11-211-0/+10
|\
| * mediawiki.deflate: Add mw.deflateAsync which can use CompressionStreamEd Sanders2024-11-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | To avoid a breaking change, introduce a new function name as CompressionStream is asynchronous. Once mw.deflate can be removed, we can add skip function for pako based on the availability of CompressionStream. Bug: T235237 Change-Id: I722ebb03c0db7c7b3ee16cc8881e41909142cee9
* | tests: Use MediaWikiCoversValidator when extends PHPUnit's TestCaseUmherirrender2024-11-191-0/+2
|/ | | | | | | | | | | Validate the @covers annotation to be valid on CI runs. This is done for mosts tests via MediaWikiCoversValidator in base class MediaWikiIntegrationTestCase or MediaWikiUnitTestCase Only omitted when @coversNothing is used. This is already used in other library-related test cases. Change-Id: Ib31db02b4c623e80049a5f4645c77824244b6d6d
* tests: Move Wikimedia tests into Wikimedia\TestsReedy2024-02-171-1/+7
| | | | Change-Id: I9c64a631b0b4e8e4fef8a72ee0f749d35f918052
* tests: Fix @covers and @coversDefaultClass to have leading \Reedy2024-02-161-1/+1
| | | | Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
* tests: Make some PHPUnit data providers staticTim Starling2023-03-241-2/+2
| | | | | | | | | | | | | Just methods where adding "static" to the declaration was enough, I didn't do anything with providers that used $this. Initially by search and replace. There were many mistakes which I found mostly by running the PHPStorm inspection which searches for $this usage in a static method. Later I used the PHPStorm "make static" action which avoids the more obvious mistakes. Bug: T332865 Change-Id: I47ed6692945607dfa5c139d42edbd934fa4f3a36
* mw.deflate: Add testsEd Sanders2022-07-111-0/+1
| | | | Change-Id: I5591949a033ba93b61f963c6329cf08b8c8481f1
* Add convenience methods for asserting status.daniel2022-03-161-4/+4
| | | | | | | This ensures that assertions work in a uniform way, and provides meaningful messages in cause of failure. Change-Id: Ic01715b9a55444d3df6b5d4097e78cb8ac082b3e
* Update Legoktm's email addressKunal Mehta2021-05-021-1/+1
| | | | Change-Id: Icd58c93bb0cff5b0a4e7b7f02873a271bab8964f
* Move a lot of libs tests to the unit test directoryMax Semenik2019-11-111-0/+64
Change-Id: Ie7eb1016cd735f07b00524815598581e0d485f2a