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

github.com/nextcloud/files_automatedtagging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-04-04 17:39:49 +0300
committerJoas Schilling <coding@schilljs.com>2022-04-04 17:39:49 +0300
commit41a3d102e4d4fe827f069892a5a5a4ef5589dde9 (patch)
tree4428cd05e3deac93cf79882b59504e82d19c327b /tests
parentbf2c0e94b73bb60ef8c80126f2e871c0ea439964 (diff)
Migrate phpunit.xml to new version
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/phpunit.xml29
1 files changed, 12 insertions, 17 deletions
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
index 0091f5f..b8f6f2c 100644
--- a/tests/phpunit.xml
+++ b/tests/phpunit.xml
@@ -1,24 +1,19 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="bootstrap.php"
- strict="true"
verbose="true"
timeoutForSmallTests="900"
timeoutForMediumTests="900"
- timeoutForLargeTests="900"
- >
- <testsuite name='Files Automated Tagging Tests'>
- <directory suffix='Test.php'>.</directory>
- </testsuite>
- <!-- filters for code coverage -->
- <filter>
- <whitelist>
+ timeoutForLargeTests="900">
+ <coverage>
+ <include>
<directory suffix=".php">../../files_automatedtagging/appinfo</directory>
<directory suffix=".php">../../files_automatedtagging/lib</directory>
- </whitelist>
- </filter>
- <logging>
- <!-- and this is where your report will be written -->
- <log type="coverage-clover" target="./clover.xml"/>
- </logging>
+ </include>
+ <report>
+ <clover outputFile="./clover.xml"/>
+ </report>
+ </coverage>
+ <testsuite name="Files Automated Tagging Tests">
+ <directory suffix="Test.php">.</directory>
+ </testsuite>
</phpunit>
-