<?xml version="1.0"?>
<phpunit
    colors="true"
    bootstrap="bootstrap.php"
    convertErrorsToExceptions="false"
    convertNoticesToExceptions="false"
    convertWarningsToExceptions="false"
    beStrictAboutTestsThatDoNotTestAnything="true"
    beStrictAboutOutputDuringTests="true"
    stopOnError="true">

<filter>
  <whitelist processUncoveredFilesFromWhitelist="true">
    <directory suffix=".php">../lib</directory>
  </whitelist>
</filter>

<testsuites>
    <testsuite name="Exceptions">
        <file>cases/Exception/TestException.php</file>
    </testsuite>
    <testsuite name="Localization">
        <file>cases/Lang/TestBasic.php</file>
        <file>cases/Lang/TestComplex.php</file>
        <file>cases/Lang/TestErrors.php</file>
    </testsuite>
    <testsuite name="Configuration">
        <file>cases/Conf/TestConf.php</file>
    </testsuite>
    <testsuite name="Sundry">
        <file>cases/Misc/TestValueInfo.php</file>
        <file>cases/Misc/TestDate.php</file>
        <file>cases/Misc/TestContext.php</file>
    </testsuite>
    <testsuite name="User management">
        <file>cases/User/TestInternal.php</file>
        <file>cases/User/TestUser.php</file>
    </testsuite>
    <testsuite name="Feed parser">
        <file>cases/Feed/TestFetching.php</file>
        <file>cases/Feed/TestFeed.php</file>
    </testsuite>
    <testsuite name="Database drivers">
        <file>cases/Db/TestTransaction.php</file>
        <file>cases/Db/TestResultAggregate.php</file>
        <file>cases/Db/TestResultEmpty.php</file>

        <file>cases/Db/SQLite3/TestResult.php</file>
        <file>cases/Db/SQLite3/TestStatement.php</file>
        <file>cases/Db/SQLite3/TestCreation.php</file>
        <file>cases/Db/SQLite3/TestDriver.php</file>
        <file>cases/Db/SQLite3/TestUpdate.php</file>

        <file>cases/Db/SQLite3PDO/TestResult.php</file>
        <file>cases/Db/SQLite3PDO/TestStatement.php</file>
        <file>cases/Db/SQLite3PDO/TestCreation.php</file>
        <file>cases/Db/SQLite3PDO/TestDriver.php</file>
        <file>cases/Db/SQLite3PDO/TestUpdate.php</file>

        <file>cases/Db/PostgreSQL/TestResult.php</file>
        <file>cases/Db/PostgreSQL/TestStatement.php</file>
        <file>cases/Db/PostgreSQL/TestCreation.php</file>
        <file>cases/Db/PostgreSQL/TestDriver.php</file>
        <file>cases/Db/PostgreSQL/TestUpdate.php</file>

        <file>cases/Db/PostgreSQLPDO/TestResult.php</file>
        <file>cases/Db/PostgreSQLPDO/TestStatement.php</file>
        <file>cases/Db/PostgreSQLPDO/TestCreation.php</file>
        <file>cases/Db/PostgreSQLPDO/TestDriver.php</file>
        <file>cases/Db/PostgreSQLPDO/TestUpdate.php</file>

        <file>cases/Db/MySQL/TestResult.php</file>
        <file>cases/Db/MySQL/TestStatement.php</file>
        <file>cases/Db/MySQL/TestCreation.php</file>
        <file>cases/Db/MySQL/TestDriver.php</file>
        <file>cases/Db/MySQL/TestUpdate.php</file>

        <file>cases/Db/MySQLPDO/TestResult.php</file>
        <file>cases/Db/MySQLPDO/TestStatement.php</file>
        <file>cases/Db/MySQLPDO/TestCreation.php</file>
        <file>cases/Db/MySQLPDO/TestDriver.php</file>
        <file>cases/Db/MySQLPDO/TestUpdate.php</file>
    </testsuite>
    <testsuite name="Database functions">
        <file>cases/Db/SQLite3/TestDatabase.php</file>
        <file>cases/Db/SQLite3PDO/TestDatabase.php</file>
        <file>cases/Db/PostgreSQL/TestDatabase.php</file>
        <file>cases/Db/PostgreSQLPDO/TestDatabase.php</file>
        <file>cases/Db/MySQL/TestDatabase.php</file>
        <file>cases/Db/MySQLPDO/TestDatabase.php</file>
    </testsuite>
    <testsuite name="REST">
        <file>cases/REST/TestTarget.php</file>
        <file>cases/REST/TestREST.php</file>
    </testsuite>
    <testsuite name="NCNv1">
        <file>cases/REST/NextCloudNews/TestVersions.php</file>
        <file>cases/REST/NextCloudNews/TestV1_2.php</file>
            <file>cases/REST/NextCloudNews/PDO/TestV1_2.php</file>
    </testsuite>
    <testsuite name="TTRSS">
        <file>cases/REST/TinyTinyRSS/TestSearch.php</file>
        <file>cases/REST/TinyTinyRSS/TestAPI.php</file>
        <file>cases/REST/TinyTinyRSS/TestIcon.php</file>
        <file>cases/REST/TinyTinyRSS/PDO/TestAPI.php</file>
    </testsuite>
    <testsuite name="Fever">
        <file>cases/REST/Fever/TestUser.php</file>
        <file>cases/REST/Fever/TestAPI.php</file>
        <file>cases/REST/Fever/PDO/TestAPI.php</file>
    </testsuite>
    <testsuite name="Admin tools">
        <file>cases/Service/TestService.php</file>
        <file>cases/CLI/TestCLI.php</file>
    </testsuite>
</testsuites>
</phpunit>