wiki.techinc.nl/tests/phpunit/includes/api
Ammarpad 42e166dd83 StatusValue: Allow passing arbitrary data to augment result
This allows extensions and hooks to pass around additional data
about the operation result arbitrarily to supplement value and errors.

When two StatusValue instances are to be merged, it's responsibility
of the caller to ensure either only one has this extra data or none,
but never both (since the type is unrestricted). If necessary, the
caller should merge them before invoking StatusValue::merge.

Bug: T326479
Change-Id: Ibe3f1f8b81bcfcb18551d3ca4cda464e4bdbcbce
2023-11-28 14:58:22 +01:00
..
format Avoid DB access in non-database tests 2023-08-06 22:57:48 +00:00
query Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
Validator Bump codesniffer to 42.0.0 2023-09-27 15:06:32 -04:00
ApiBaseTest.php Stop using nonexistent DatabaseBlock constructor options 2023-11-06 12:03:51 +11:00
ApiBlockInfoTraitTest.php tests: Use namespaced Wikimedia\Rdbms\IDatabase 2023-08-20 15:18:57 +02:00
ApiBlockTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiChangeContentModelTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php Avoid DB access in non-database tests 2023-08-06 22:57:48 +00:00
ApiComparePagesTest.php tests: Use $this->getDb() instead of wfGetDB() in integration tests 2023-09-25 21:08:09 +02:00
ApiContinuationManagerTest.php
ApiCreateTempUserTraitTest.php Add test for ApiCreateTempUserTrait 2023-11-06 15:58:01 +00:00
ApiCSPReportTest.php
ApiDeleteTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiDisabledTest.php
ApiEditPageTest.php StatusValue: Allow passing arbitrary data to augment result 2023-11-28 14:58:22 +01:00
ApiErrorFormatterTest.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
ApiLoginTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiLogoutTest.php Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00:00
ApiMainTest.php Bump codesniffer to 42.0.0 2023-09-27 15:06:32 -04:00
ApiMessageTest.php
ApiMoveTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiOpenSearchTest.php
ApiOptionsTest.php Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00:00
ApiPageSetTest.php Namespace TitleValue under \MediaWiki\Title 2023-09-18 18:24:39 +01:00
ApiParseTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiProtectTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiPurgeTest.php ApiPurge: report permission errors properly 2023-10-09 17:44:20 +00:00
ApiResultTest.php
ApiRevisionDeleteTest.php tests: api: Replace Title::newFromText with Title::makeTitle 2023-07-30 17:15:09 +02:00
ApiRollbackTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiSetNotificationTimestampIntegrationTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiStashEditTest.php tests: Use $this->getDb() instead of wfGetDB() in integration tests 2023-09-25 21:08:09 +02:00
ApiTestCase.php phpunit: Avoid TestUser in non-database tests 2023-07-29 14:26:50 +00:00
ApiTestContext.php Reorg: Move WebRequest to includes\Request 2023-09-11 21:44:34 +01:00
ApiUnblockTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiUndeleteTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiUploadTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiUploadTestCase.php Replace generic new Exception with more generic ones 2023-10-17 07:59:50 +00:00
ApiUsageExceptionTest.php
ApiUserrightsTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ApiWatchTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
generateRandomImages.php
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php Replace generic new Exception with more generic ones 2023-10-17 07:59:50 +00:00