wiki.techinc.nl/tests/phpunit/unit/includes
Brad Jorsch ebfbd2d42a rest: Use ParamValidator library, add BodyValidator
Parameter validation is based on parameter definitions like those in the
Action API, using the new ParamValidator library. Handlers should use
the provided Handler methods to access parameters rather than fetching
them directly from the RequestInterface.

Body validation allows the handler to have the (non-form-data) body of a
request parsed and validated. The only validator included in this patch
ignores the body entirely; future patches may implement validation for
JSON bodies based on JSON schemas, or the like.

Bug: T223239
Change-Id: I3c37ea2b432840514b6bff90007c8403989225d5
2019-09-04 10:12:35 -04:00
..
auth Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
changes Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
composer Move unit tests, round III 2019-07-09 22:06:59 +02:00
config Move unit tests, round III 2019-07-09 22:06:59 +02:00
content Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
debug/logger Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
deferred Move unit tests, round III 2019-07-09 22:06:59 +02:00
diff phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
exception Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
filebackend createNoOpMock() method for PHPUnit tests 2019-08-29 18:00:37 +03:00
filerepo/file phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
GlobalFunctions Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
htmlform Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
http Split HttpTest and SessionTest to unit and integration 2019-07-13 21:01:09 +02:00
installer Drop Oracle and Mssql 2019-08-14 11:31:41 +00:00
interwiki Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
json Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
language Integration tests for Language fallback methods 2019-08-29 18:25:12 +03:00
libs FileJournal tests 2019-09-03 10:12:41 +00:00
media phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
objectcache objectcache: Use variadic signature for makeKey() 2019-07-23 20:44:06 +02:00
page Introduce MovePageFactory 2019-08-19 20:25:31 +03:00
parser phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
password Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
preferences Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
registration Move unit tests, round III 2019-07-09 22:06:59 +02:00
resourceloader resourceloader: Move FilePath test to /tests/phpunit/unit 2019-07-20 16:23:12 +00:00
Rest rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
Revision phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
search Move unit tests, round III 2019-07-09 22:06:59 +02:00
session Merge "Load GlobalFunctions.php to tests/phpunit/bootstrap.php" 2019-07-15 01:56:45 +00:00
shell Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
skins Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
Storage Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
tidy Move unit tests, round III 2019-07-09 22:06:59 +02:00
title Introduce TitleParser::makeTitleValueSafe() 2019-08-14 21:34:39 +03:00
user Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
utils phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
watcheditem Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
BadFileLookupTest.php BadFileLookup to replace wfIsBadImage 2019-08-21 20:45:37 +03:00
DerivativeRequestTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
FactoryArgTestTrait.php Introduce MovePageFactory 2019-08-19 20:25:31 +03:00
FauxResponseTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
FormOptionsInitializationTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
FormOptionsTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
LicensesTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
PathRouterTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
SanitizerValidateEmailTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
ServiceWiringTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
SiteConfigurationTest.php SiteConfigurationTest: Fix recurring typo ("an non-existing") 2019-07-15 15:44:48 -07:00
TitleArrayFromResultTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
XmlJsTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
XmlSelectTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00