wiki.techinc.nl/tests/phpunit/includes/api/format
Timo Tijhof 665e9b7bf2 Convert OutputHandler functions to a class
* Convert OutputHandler.php from global functions to a class.

  - wfOutputHandler → OutputHandler::handle
    (no alias, no usage outside core)
  - wfGzipHandler → OutputHandler::handleGzip
    (private, no usage outside class)
  - wfRequestExtension → OutputHandler::findUriExtension
    (private, no usage outside class)
  - wfMangleFlashPolicy → OutputHandler::mangleFlashPolicy
    (private, no usage outside class)
  - wfDoContentLength → OutputHandler::emitContentLength
    (private, no usage outside class)
  - wfHtmlValidationHandler → OutputHandler::validateAllHtml
    (private, no usage outside class)

* Add the class to autoload.php for exposure outside WebStart.
  Specifically, for use in ApiFormatPhpTest. This also removes the
  need to manually load the class because this code runs after
  Setup.php loads AutoLoader.php.

Bug: T189966
Change-Id: I27a41ec0ae0ee30aeb313a616323b967605c4055
2018-03-20 21:11:32 -07:00
..
ApiFormatBaseTest.php ApiFormatBase: Encode filenames in Content-Disposition 2018-02-07 15:12:33 -05:00
ApiFormatJsonTest.php
ApiFormatNoneTest.php
ApiFormatPhpTest.php Convert OutputHandler functions to a class 2018-03-20 21:11:32 -07:00
ApiFormatRawTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiFormatTestBase.php
ApiFormatXmlTest.php