Allow Message::newFromSpecifier to handle ApiMessages
[mediawiki.git] / tests / phpunit / suite.xml
blobed18205753ce59c5123d173ca03cc1b9e1d796ec
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit bootstrap="./bootstrap.php"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
6         colors="true"
7         backupGlobals="false"
8         convertErrorsToExceptions="true"
9         convertNoticesToExceptions="true"
10         convertWarningsToExceptions="true"
11         forceCoversAnnotation="true"
12         stopOnFailure="false"
13         timeoutForSmallTests="10"
14         timeoutForMediumTests="30"
15         timeoutForLargeTests="60"
16         beStrictAboutTestsThatDoNotTestAnything="true"
17         beStrictAboutOutputDuringTests="true"
18         beStrictAboutTestSize="true"
19         verbose="false">
20         <testsuites>
21                 <testsuite name="includes">
22                         <directory>includes</directory>
23                 </testsuite>
24                 <testsuite name="languages">
25                         <directory>languages</directory>
26                 </testsuite>
27                 <testsuite name="parsertests">
28                         <file>includes/parser/MediaWikiParserTest.php</file>
29                         <file>suites/ExtensionsParserTestSuite.php</file>
30                 </testsuite>
31                 <testsuite name="skins">
32                         <directory>skins</directory>
33                         <directory>structure</directory>
34                         <file>suites/LessTestSuite.php</file>
35                 </testsuite>
36                 <!-- As there is a class Maintenance, we cannot use the
37                      name "maintenance" directly -->
38                 <testsuite name="maintenance_suite">
39                         <directory>maintenance</directory>
40                 </testsuite>
41                 <testsuite name="structure">
42                         <directory>structure</directory>
43                 </testsuite>
44                 <testsuite name="uploadfromurl">
45                         <file>suites/UploadFromUrlTestSuite.php</file>
46                 </testsuite>
47                 <testsuite name="extensions">
48                         <directory>structure</directory>
49                         <file>suites/ExtensionsTestSuite.php</file>
50                         <file>suites/ExtensionsParserTestSuite.php</file>
51                         <file>suites/LessTestSuite.php</file>
52                 </testsuite>
53         </testsuites>
54         <groups>
55                 <exclude>
56                         <group>Utility</group>
57                         <group>Broken</group>
58                         <group>ParserFuzz</group>
59                         <group>Stub</group>
60                 </exclude>
61         </groups>
62         <filter>
63                 <whitelist addUncoveredFilesFromWhitelist="true">
64                         <directory suffix=".php">../../includes</directory>
65                         <directory suffix=".php">../../languages</directory>
66                         <directory suffix=".php">../../maintenance</directory>
67                         <directory suffix=".php">../../skins</directory>
68                 </whitelist>
69         </filter>
70 </phpunit>