mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-31 21:12:41 +00:00
27caf147df
- Changed 'transform' method to use ValueInfo throughout. This fixes a number of obscure bugs - Changed the 'add' and 'sub' methods to default to "now" rather than null. This means null passes through rather than being interpreted as the current time, to be consistent with other date tools - Also changed the 'add' and 'sub' methods so that they operate correctly with invalid date strings - Added tests for the class; improves #66 - Modified TTRSS tests because the "iso8601" format string in ValueInfo is different from Date's older format
82 lines
No EOL
3.1 KiB
XML
82 lines
No EOL
3.1 KiB
XML
<?xml version="1.0"?>
|
|
<phpunit
|
|
colors="true"
|
|
bootstrap="bootstrap.php"
|
|
convertErrorsToExceptions="false"
|
|
convertNoticesToExceptions="false"
|
|
convertWarningsToExceptions="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
beStrictAboutTestSize="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/TestMockInternal.php</file>
|
|
<file>cases/User/TestMockExternal.php</file>
|
|
<file>cases/User/TestInternal.php</file>
|
|
<file>cases/User/TestAuthorization.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>
|
|
</testsuite>
|
|
<testsuite name="Database functions">
|
|
<file>cases/Db/SQLite3/Database/TestMiscellany.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestMeta.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestUser.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestSession.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestFolder.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestFeed.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestSubscription.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestArticle.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestLabel.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestCleanup.php</file>
|
|
</testsuite>
|
|
<testsuite name="Controllers">
|
|
<testsuite name="NCNv1">
|
|
<file>cases/REST/NextCloudNews/TestVersions.php</file>
|
|
<file>cases/REST/NextCloudNews/TestV1_2.php</file>
|
|
</testsuite>
|
|
<testsuite name="TTRSS">
|
|
<file>cases/REST/TinyTinyRSS/TestAPI.php</file>
|
|
<file>cases/REST/TinyTinyRSS/TestIcon.php</file>
|
|
</testsuite>
|
|
</testsuite>
|
|
<testsuite name="Refresh service">
|
|
<file>cases/Service/TestService.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
</phpunit> |