* Turn normalize data into an autoloadable class and use the class name as key instead of a partial file name with a base directory. * This protected function is not aimed at re-use in extensions, has no other usage known to Codesearch. Mark it internal, and remove the compat introduced by31283f34bf. * Update the now ten-year-old documentation comments that described this as "Temporary". The functionality and comment were introduced in 2010 by Tim with r60599 (ad19c032b0). Ref <https://bash.toolforge.org/search?p=0&q=temporary>. * Replace the broken wikitech-l archive link with a working one, and describe the thread for easier future reference. Bug: T225756 Change-Id: I004da1f25c19e1095d0917349f2ba8461f9f0715
76 lines
2.4 KiB
XML
76 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit bootstrap="tests/phpunit/bootstrap.php"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
|
|
|
|
colors="true"
|
|
backupGlobals="false"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
forceCoversAnnotation="true"
|
|
failOnWarning="true"
|
|
stopOnFailure="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
verbose="false">
|
|
<php>
|
|
<ini name="memory_limit" value="512M" />
|
|
</php>
|
|
<testsuites>
|
|
<testsuite name="core:unit">
|
|
<directory>tests/phpunit/unit</directory>
|
|
</testsuite>
|
|
<testsuite name="extensions:unit">
|
|
<directory>extensions/*/tests/phpunit/unit</directory>
|
|
<directory>extensions/*/tests/phpunit/Unit</directory>
|
|
</testsuite>
|
|
<testsuite name="skins:unit">
|
|
<directory>skins/*/tests/phpunit/unit</directory>
|
|
<directory>skins/*/tests/phpunit/Unit</directory>
|
|
</testsuite>
|
|
<testsuite name="core:integration">
|
|
<directory>tests/phpunit/integration</directory>
|
|
</testsuite>
|
|
<testsuite name="extensions:integration">
|
|
<directory>extensions/**/tests/phpunit/integration</directory>
|
|
</testsuite>
|
|
<testsuite name="skins:integration">
|
|
<directory>skins/**/tests/phpunit/integration</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<groups>
|
|
<exclude>
|
|
<group>Broken</group>
|
|
</exclude>
|
|
</groups>
|
|
<filter>
|
|
<whitelist addUncoveredFilesFromWhitelist="false">
|
|
<directory suffix=".php">includes</directory>
|
|
<directory suffix=".php">languages</directory>
|
|
<directory suffix=".php">maintenance</directory>
|
|
<directory suffix=".php">extensions</directory>
|
|
<directory suffix=".php">skins</directory>
|
|
<exclude>
|
|
<directory suffix=".php">languages/messages</directory>
|
|
<directory suffix=".php">maintenance/benchmarks</directory>
|
|
<directory suffix=".php">extensions/*/tests</directory>
|
|
<directory suffix=".php">skins/*/tests</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
|
|
<arguments>
|
|
<array>
|
|
<element key="slowThreshold">
|
|
<integer>50</integer>
|
|
</element>
|
|
<element key="reportLength">
|
|
<integer>50</integer>
|
|
</element>
|
|
</array>
|
|
</arguments>
|
|
</listener>
|
|
</listeners>
|
|
</phpunit>
|