Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2021-01-14 20:36:54 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-01-15 18:31:50 +0300
commit8aadd4e917779391bd782f470ca27c8279185564 (patch)
tree6c3ca5404ab146fe863f4e815624cb4517141702 /tests
parent13a11c6be1c63531ac29329bbf822eace26ea88d (diff)
Bump phpunit/phpunit from 9.2.6 to 9.5.0
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.2.6 to 9.5.0. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.2.6...9.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/phpunit.integration.xml44
-rw-r--r--tests/phpunit.unit.xml43
2 files changed, 32 insertions, 55 deletions
diff --git a/tests/phpunit.integration.xml b/tests/phpunit.integration.xml
index e66e1e9f6..4416baa0f 100644
--- a/tests/phpunit.integration.xml
+++ b/tests/phpunit.integration.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8"?>
<!--
~ @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
~
@@ -19,31 +19,19 @@
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
-
-<phpunit bootstrap="bootstrap.php"
- verbose="true"
- timeoutForSmallTests="900"
- timeoutForMediumTests="900"
- timeoutForLargeTests="900"
- cacheResult="true"
- >
- <testsuite name='Mail app tests'>
- <directory suffix='test.php'>Integration</directory>
- <directory suffix='Test.php'>Integration</directory>
- </testsuite>
- <!-- filters for code coverage -->
- <filter>
- <whitelist>
- <directory suffix=".php">../</directory>
- <exclude>
- <directory suffix=".php">../mail/l10n</directory>
- <directory suffix=".php">../mail/templates</directory>
- <directory suffix=".php">../mail/tests</directory>
- </exclude>
- </whitelist>
- </filter>
- <logging>
- <!-- and this is where your report will be written -->
- <log type="coverage-clover" target="./clover.integration.xml"/>
- </logging>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="bootstrap.php" verbose="true" timeoutForSmallTests="900" timeoutForMediumTests="900" timeoutForLargeTests="900" cacheResult="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
+ <coverage>
+ <include>
+ <directory suffix=".php">../lib</directory>
+ </include>
+ <exclude>
+ <directory suffix=".php">../mail/lib/Vendor</directory>
+ </exclude>
+ <report>
+ <clover outputFile="./clover.integration.xml"/>
+ </report>
+ </coverage>
+ <testsuite name="Mail app tests">
+ <directory suffix="Test.php">Integration</directory>
+ </testsuite>
</phpunit>
diff --git a/tests/phpunit.unit.xml b/tests/phpunit.unit.xml
index e30fdcf12..a35b99f33 100644
--- a/tests/phpunit.unit.xml
+++ b/tests/phpunit.unit.xml
@@ -1,28 +1,17 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<phpunit bootstrap="bootstrap.php"
- verbose="true"
- timeoutForSmallTests="900"
- timeoutForMediumTests="900"
- timeoutForLargeTests="900"
- cacheResult="true"
- >
- <testsuite name='Mail app tests'>
- <directory suffix='test.php'>Unit</directory>
- <directory suffix='Test.php'>Unit</directory>
- </testsuite>
- <!-- filters for code coverage -->
- <filter>
- <whitelist>
- <directory suffix=".php">../</directory>
- <exclude>
- <directory suffix=".php">../mail/l10n</directory>
- <directory suffix=".php">../mail/templates</directory>
- <directory suffix=".php">../mail/tests</directory>
- </exclude>
- </whitelist>
- </filter>
- <logging>
- <!-- and this is where your report will be written -->
- <log type="coverage-clover" target="./clover.unit.xml"/>
- </logging>
+<?xml version="1.0" encoding="utf-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="bootstrap.php" verbose="true" timeoutForSmallTests="900" timeoutForMediumTests="900" timeoutForLargeTests="900" cacheResult="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
+ <coverage>
+ <include>
+ <directory suffix=".php">../lib</directory>
+ </include>
+ <exclude>
+ <directory suffix=".php">../mail/lib/Vendor</directory>
+ </exclude>
+ <report>
+ <clover outputFile="./clover.unit.xml"/>
+ </report>
+ </coverage>
+ <testsuite name="Mail app tests">
+ <directory suffix="Test.php">Unit</directory>
+ </testsuite>
</phpunit>