nextcloud/tests/lib
Ferdinand Thiessen ee02e3246d
feat(AppFramework): Add full support for date / time / datetime columns
This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added.
But especially those types are the important ones, as our **Entity** class works by detecting changes through setters.
Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here.

Similar the parameter types needed to be added.

`Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity.

Also added more tests, especially to make sure the mapper really serializes the values correctly.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:42 +02:00
..
Accounts fix(settings): pronouns UsersControllerTest 2024-09-18 13:30:33 +02:00
Activity fix: Adapt notifications and activity tests to new DI dependency 2024-09-17 15:28:09 +02:00
App chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
AppFramework feat(AppFramework): Add full support for date / time / datetime columns 2024-10-17 18:31:42 +02:00
Archive chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Authentication chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Avatar refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
BackgroundJob refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Cache refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Calendar refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Collaboration chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Command refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Comments feat(AppFramework): Add full support for date / time / datetime columns 2024-10-17 18:31:42 +02:00
Contacts/ContactsMenu refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
DB feat(AppFramework): Add full support for date / time / datetime columns 2024-10-17 18:31:42 +02:00
Diagnostics refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
DirectEditing refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Encryption chore: Fix encryption test use statement 2024-09-16 18:11:38 +02:00
Federation refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Files refactor(Storage): Make all parameter types strong types 2024-10-07 15:00:05 +02:00
GlobalScale refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Group refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Hooks refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Http chore: always execute parse_url in preventLocalAddress 2024-10-01 18:00:47 +02:00
IntegrityCheck chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
L10N fix(rtl): Make clear that the direction is based on language 2024-09-23 17:00:07 +02:00
Lock refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Lockdown test: Fix IStorage return types 2024-09-26 17:29:48 +02:00
Log chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Mail fix(message): Fix logic of Mail test 2024-10-07 12:11:38 +02:00
Memcache refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Migration refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Net chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Notification fix: Adapt notifications and activity tests to new DI dependency 2024-09-17 15:28:09 +02:00
OCS refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Preview chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Remote refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Repair chore: Cleanup and prepare \OC\Repair\RepairMimeTypes tests for PHPUnit 10 2024-09-19 19:25:42 +02:00
RichObjectStrings refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Route chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Security Merge pull request #32018 from nextcloud/cleanup/event/trashbin 2024-09-24 17:15:39 +02:00
Session refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Settings refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
SetupCheck feat: Make CheckServerResponseTrait public and provide as OCP\SetupCheck\CheckServerResponseTrait 2024-09-16 14:58:21 +02:00
Share chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Share20 fix(share): Return empty string if no label is set 2024-10-14 15:15:51 +02:00
Support refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
SystemTag refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Talk chore: Add SPDX header 2024-05-13 17:41:36 +02:00
TaskProcessing chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Template refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
TextProcessing refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Traits fix(UserTrait): Fix backend initialization 2024-10-08 11:12:01 +02:00
Updater chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
User fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
Util chore: Add SPDX header 2024-05-13 17:41:36 +02:00
AllConfigTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
AppConfigTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
AppScriptSortTest.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
AppTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
AutoLoaderTest.php chore: Drop unused legacy OC_Files 2024-09-28 13:18:40 +02:00
BinaryFinderTest.php feat: make search path for BinaryFinder customizable. 2024-09-20 17:00:06 +02:00
CapabilitiesManagerTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
ConfigTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
ContactsManagerTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
DateTimeFormatterTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
EmojiHelperTest.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
ErrorHandlerTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
EventSourceFactoryTest.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
HelperStorageTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
HookHelper.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
ImageTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
InfoXmlTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
InitialStateServiceTest.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
InstallerTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
LargeFileHelperGetFileSizeTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
LargeFileHelperTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
LegacyHelperTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
LoggerTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
MemoryInfoTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
NaturalSortTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
NavigationManagerTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
RepairTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
ServerTest.php fix(tests): Remove deprecated tests for ServerTest 2024-09-17 17:48:01 +02:00
SetupTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
SubAdminTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
TagsTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
TemplateFunctionsTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
TemplateLayoutTest.php fix: Shipped apps should include the Nextcloud version in the cache buster 2024-10-14 16:04:13 +02:00
TempManagerTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
TestCase.php chore: Remove old travis related stuff 2024-09-19 20:16:29 +02:00
TestMoveableMountPoint.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
UpdaterTest.php chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
UrlGeneratorTest.php feat(files): Make the files download action use WebDAV zip download 2024-09-28 13:18:29 +02:00
UtilCheckServerTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
UtilTest.php chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00