forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
130 lines (130 loc) · 4.89 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<phpunit bootstrap="tests/php/bootstrap.php" backupGlobals="false" colors="true">
<php>
<const name="PHPUNIT_JETPACK_TESTSUITE" value="true"/>
</php>
<testsuites>
<testsuite name="general">
<file>tests/php/test_class.jetpack.php</file>
<file>tests/php/test_class.functions.compat.php</file>
<file>tests/php/test_class.jetpack-network.php</file>
<file>tests/php/test_class.jetpack-client-server.php</file>
<file>tests/php/test_class.jetpack-xmlrpc-server.php</file>
<file>tests/php/test_class.jetpack-heartbeat.php</file>
<file>tests/php/test_class.jetpack-gutenberg.php</file>
<file>tests/php/test_class.jetpack-constants.php</file>
<file>tests/php/test_class.jetpack-connection-banner.php</file>
<file>tests/php/test_class.jetpack-options.php</file>
</testsuite>
<testsuite name="php-lint">
<file>tests/php/test_php-lint.php</file>
</testsuite>
<testsuite name="core-api">
<directory phpVersion="5.6.0" phpVersionOperator=">=" prefix="test_" suffix=".php">tests/php/core-api</directory>
</testsuite>
<testsuite name="media">
<file>tests/php/_inc/lib/test_class.jetpack-media-extractor.php</file>
<file>tests/php/_inc/lib/test_class.jetpack-media-summary.php</file>
<file>tests/php/test_class.jetpack-post-images.php</file>
</testsuite>
<testsuite name="photon">
<file>tests/php/test_class.jetpack_photon.php</file>
<file>tests/php/test_functions.photon.php</file>
<directory prefix="test_" suffix=".php">tests/php/modules/photon</directory>
<file>tests/php/test_class.functions.opengraph.php</file>
</testsuite>
<testsuite name="json-api">
<file>tests/php/test_class.json-api-jetpack-endpoints.php</file>
</testsuite>
<testsuite name="infinite-scroll">
<directory prefix="test_" suffix=".php">tests/php/modules/infinite-scroll</directory>
</testsuite>
<testsuite name="likes">
<directory prefix="test_" suffix=".php">tests/php/modules/likes</directory>
</testsuite>
<testsuite name="publicize">
<directory prefix="test_" suffix=".php">tests/php/modules/publicize</directory>
</testsuite>
<testsuite name="related-posts">
<directory prefix="test_" suffix=".php">tests/php/modules/related-posts</directory>
</testsuite>
<testsuite name="sharedaddy">
<directory prefix="test_" suffix=".php">tests/php/modules/sharedaddy</directory>
</testsuite>
<testsuite name="shortcodes">
<directory prefix="test_" suffix=".php">tests/php/modules/shortcodes</directory>
</testsuite>
<testsuite name="after-the-deadline">
<file>tests/php/modules/test_class.after_the_deadline.php</file>
</testsuite>
<testsuite name="widgets">
<directory prefix="test_" suffix=".php">tests/php/modules/widgets</directory>
</testsuite>
<testsuite name="sitemaps">
<directory prefix="test_" suffix=".php">tests/php/modules/sitemaps</directory>
</testsuite>
<testsuite name="sso">
<directory prefix="test_" suffix=".php">tests/php/modules/sso</directory>
</testsuite>
<testsuite name="subscriptions">
<directory prefix="test_" suffix=".php">tests/php/modules/subscriptions</directory>
</testsuite>
<testsuite name="contact-form">
<directory prefix="test_" suffix=".php">tests/php/modules/contact-form</directory>
</testsuite>
<testsuite name="verification-tools">
<directory prefix="test_" suffix=".php">tests/php/modules/verification-tools</directory>
</testsuite>
<testsuite name="sync">
<directory prefix="test_" suffix=".php">tests/php/sync</directory>
</testsuite>
<testsuite name="uninstall">
<directory prefix="test_" suffix=".php">tests/php/uninstall</directory>
</testsuite>
<testsuite name="restapi">
<directory prefix="test_class.rest-api" suffix=".php">tests/php/_inc/lib</directory>
</testsuite>
<testsuite name="idc">
<file>tests/php/test_class.jetpack-idc.php</file>
</testsuite>
<testsuite name="jitm">
<file>tests/php/test_class.jetpack-jitm.php</file>
</testsuite>
<testsuite name="3rd-party">
<directory prefix="test_" suffix=".php">tests/php/3rd-party</directory>
</testsuite>
<testsuite name="pwa">
<directory prefix="test_" suffix=".php">tests/php/pwa</directory>
</testsuite>
<testsuite name="lazy-images">
<directory prefix="test_" suffix=".php">tests/php/modules/lazy-images</directory>
</testsuite>
<testsuite name="search">
<directory prefix="test_" suffix=".php">tests/php/modules/search</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>external-http</group>
<group>uninstall</group>
</exclude>
</groups>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">tests</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>150</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>