Skip to content

Commit c3655c2

Browse files
Ace Nassribshaffer
Ace Nassri
authored andcommitted
Exclude vendor dir from code coverage (GoogleCloudPlatform#1002)
1 parent 942b532 commit c3655c2

File tree

91 files changed

+371
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+371
-3
lines changed

appengine/flexible/analytics/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<filter>
3030
<whitelist>
3131
<file>app.phpfile>
32+
<exclude>
33+
<directory>./vendordirectory>
34+
exclude>
3235
whitelist>
3336
filter>
3437
phpunit>

appengine/flexible/cloudsql-mysql/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/cloudsql-postgres/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/datastore/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/drupal8/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
23+
<filter>
24+
<whitelist>
25+
<directory suffix=".php">./webdirectory>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/flexible/helloworld/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
logging>
2626
<filter>
2727
<whitelist>
28-
<directory suffix=".php">./webdirectory>
28+
<directory suffix=".php">./webdirectory>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/laravel/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
23+
<filter>
24+
<whitelist>
25+
<directory suffix=".php">./srcdirectory>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/flexible/logging/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/mailgun/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/mailjet/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/memcache/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/metadata/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/sendgrid/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/staticcontent/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
23+
<filter>
24+
<whitelist>
25+
<file>index.phpfile>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/flexible/storage/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/supervisord/addition/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,12 @@
2323
<logging>
2424
<log type="coverage-clover" target="build/logs/clover.xml"/>
2525
logging>
26+
<filter>
27+
<whitelist>
28+
<file>index.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
32+
whitelist>
33+
filter>
2634
phpunit>

appengine/flexible/supervisord/replacement/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
23+
<filter>
24+
<whitelist>
25+
<file>index.phpfile>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/flexible/symfony/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
23+
<filter>
24+
<whitelist>
25+
<file>index.phpfile>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/flexible/tasks/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>index.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
<php>

appengine/flexible/twilio/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/websockets/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>socket_demo.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/flexible/wordpress/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,12 @@
2323
<php>
2424
<env name="PHPUNIT_TESTS" value="1"/>
2525
php>
26+
<filter>
27+
<whitelist>
28+
<directory suffix=".php">./srcdirectory>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
32+
whitelist>
33+
filter>
2634
phpunit>

appengine/php55/cloudsql/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/grpc/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<file>monitoring.phpfile>
3030
<file>spanner.phpfile>
3131
<file>datastore.phpfile>
32+
<exclude>
33+
<directory>./vendordirectory>
34+
exclude>
3235
whitelist>
3336
filter>
3437
phpunit>

appengine/php55/http/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/mail/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
<file>index.phpfile>
2929
<file>handle_bounced_email.phpfile>
3030
<file>handle_incoming_email.phpfile>
31+
<exclude>
32+
<directory>./vendordirectory>
33+
exclude>
3134
whitelist>
3235
filter>
3336
phpunit>

appengine/php55/mailgun/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/mailjet/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/memcache/phpunit.xml.dist

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,13 @@
1919
<testsuite name="PHP memcache test">
2020
<directory>testdirectory>
2121
testsuite>
22-
testsuites>
22+
testsuites>
23+
<filter>
24+
<whitelist>
25+
<directory suffix=".php">./srcdirectory>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/php55/modules/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<filter>
3030
<whitelist>
3131
<file>app.phpfile>
32+
<exclude>
33+
<directory>./vendordirectory>
34+
exclude>
3235
whitelist>
3336
filter>
3437
phpunit>

appengine/php55/phpmyadmin/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
23+
<filter>
24+
<whitelist>
25+
<directory suffix=".php">./srcdirectory>
26+
<exclude>
27+
<directory>./vendordirectory>
28+
exclude>
29+
whitelist>
30+
filter>
2331
phpunit>

appengine/php55/sendgrid/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/storage/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/taskqueue/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/twilio/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

appengine/php55/users/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.phpfile>
29+
<exclude>
30+
<directory>./vendordirectory>
31+
exclude>
2932
whitelist>
3033
filter>
3134
phpunit>

0 commit comments

Comments
 (0)