forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
148 lines (148 loc) · 5.52 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<phpunit bootstrap="tests/php/bootstrap.php" backupGlobals="false" colors="true">
<php>
<const name="PHPUNIT_JETPACK_TESTSUITE" value="true"/>
</php>
<testsuites>
<testsuite name="general">
<directory prefix="test" suffix=".php">tests/php/general</directory>
</testsuite>
<testsuite name="php-lint">
<file>tests/php/test_php-lint.php</file>
</testsuite>
<testsuite name="core-api">
<directory prefix="test" suffix=".php">tests/php/core-api</directory>
</testsuite>
<testsuite name="media">
<directory prefix="test" suffix=".php">tests/php/media</directory>
</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">
<directory prefix="test" suffix=".php">tests/php/json-api</directory>
</testsuite>
<testsuite name="infinite-scroll">
<directory prefix="test_" suffix=".php">tests/php/modules/infinite-scroll</directory>
</testsuite>
<testsuite name="comment-likes">
<directory prefix="test" suffix=".php">tests/php/modules/comment-likes</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="post-by-email">
<directory prefix="test" suffix=".php">tests/php/modules/post-by-email</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="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="videopress">
<directory prefix="test_" suffix=".php">tests/php/modules/videopress</directory>
</testsuite>
<testsuite name="wpcom-block-editor">
<directory prefix="test_" suffix=".php">tests/php/modules/wpcom-block-editor</directory>
</testsuite>
<testsuite name="sync">
<directory prefix="test_" suffix=".php">tests/php/sync</directory>
<exclude>tests/php/sync/test_class.jetpack-sync-full.php</exclude>
</testsuite>
<testsuite name="legacy-full-sync">
<file>tests/php/sync/test_class.jetpack-sync-base.php</file>
<file>tests/php/sync/test_class.jetpack-sync-full.php</file>
</testsuite>
<testsuite name="theme-tools">
<directory prefix="test_" suffix=".php">php/modules/theme-tools</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="3rd-party">
<directory prefix="test_" suffix=".php">tests/php/3rd-party</directory>
</testsuite>
<testsuite name="carousel">
<directory prefix="test-" suffix=".php">tests/php/modules/carousel</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>
<testsuite name="geo-location">
<directory prefix="test_" suffix=".php">tests/php/modules/geo-location</directory>
</testsuite>
<testsuite name="google-analytics">
<directory prefix="test" suffix=".php">tests/php/modules/google-analytics</directory>
</testsuite>
<testsuite name="deprecation">
<file>tests/php/test_deprecation.php</file>
</testsuite>
<testsuite name="extensions">
<directory prefix="test" suffix=".php">tests/php/extensions</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>external-http</group>
<group>uninstall</group>
<group>legacy-full-sync</group>
</exclude>
</groups>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">tests</directory>
<directory suffix=".php">vendor</directory>
<directory suffix=".php">views</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>150</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>