nextcloud/tests/lib
Carl Schwan a430702caa
refactor(psalm): Enable psalm for comments unit tests
This is the first step to enable psalm for our test suite to find issues
also there.

At the moment, this already found some completely broken and unused
method in TestCase and prepare the way for making ICommentsManager work
with snowflake ids by using string instead of int for the ids
consistently.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-07 13:21:33 +01:00
..
Accounts refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Activity refactor: Cleanup some unit tests 2025-10-01 10:11:27 +02:00
App Merge pull request #55405 from nextcloud/carl/cleanup-some-tests 2025-10-01 15:02:00 +02:00
AppFramework feat(rate-limit): Allow overwriting the rate limit 2025-11-12 08:59:40 +01:00
Archive chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Authentication chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
Avatar chore: setting test metadata in annotations is deprecated (use attributes) 2025-11-05 15:42:40 +01:00
BackgroundJob fix(background-jobs): Fix unit tests with 32-bits tests 2026-01-06 10:44:21 +01:00
Cache refactor(tests): returnValue is deprecated 2025-11-05 15:42:34 +01:00
Calendar chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
Collaboration fix: Fix setting name inconsistency between backend and frontend 2025-12-12 13:08:34 +01:00
Command fix(jobs): Limit command jobs to known cases 2025-11-04 11:10:40 +01:00
Comments refactor(psalm): Enable psalm for comments unit tests 2026-01-07 13:21:33 +01:00
Config chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
Contacts/ContactsMenu chore: run rector 2025-07-01 22:45:52 +02:00
DB fix(UserMountCache): Add back unique index for oc_mounts and use normal insert 2025-12-15 12:26:23 +01:00
Diagnostics chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
DirectEditing refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Encryption refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Federation refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Files test: add tests for watcher check filter 2025-12-31 12:23:04 +01:00
FilesMetadata refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
GlobalScale chore: run rector 2025-07-01 22:45:52 +02:00
Group Revert "feat(group): Sanitize group names and ids on creation" 2025-11-07 10:37:50 +01:00
Hooks refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
Http feat(CertificateManager): Add option to specify the default certificates bundle path 2025-12-01 10:47:23 +01:00
IntegrityCheck test: Adjust the hashes and signatures 2025-08-25 13:19:36 +02:00
L10N fix(l10n): do not consider user language when getting the generic one 2025-11-10 19:50:19 -05:00
Lock refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Lockdown refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Log chore: run rector 2025-07-01 22:45:52 +02:00
Mail feat(ocp): add email address validator 2025-08-14 18:34:36 +02:00
Memcache refactor(tests): getMockForTrait is deprecated 2025-11-05 15:42:34 +01:00
Migration chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Net test(net): include test for localhost by IP 2025-10-14 10:33:35 +02:00
Notification chore: run rector 2025-07-01 22:45:52 +02:00
OCS chore: run rector 2025-07-01 22:45:52 +02:00
OpenMetrics feat(openmetrics): introduce OpenMetrics exporter 2026-01-07 09:38:13 +01:00
Preview chore(tests): cleanup previews in teardown 2025-11-05 15:42:40 +01:00
Profile/Actions chore: run rector 2025-07-01 22:45:52 +02:00
Remote chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Repair chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
RichObjectStrings chore: run rector 2025-07-01 22:45:52 +02:00
Route refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Search test(SearchComposerTest): add unit test for getProviders with mixed order values 2025-08-11 09:42:56 +02:00
Security feat(CertificateManager): Add option to specify the default certificates bundle path 2025-12-01 10:47:23 +01:00
Session chore: run rector 2025-07-01 22:45:52 +02:00
Settings chore: run rector 2025-07-01 22:45:52 +02:00
SetupCheck chore: run rector 2025-07-01 22:45:52 +02:00
Share refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Share20 refactor(external-share): Port more code to string as type for the id 2025-12-16 10:40:09 +01:00
Snowflake fix(snowflakes): FileSequence generator must always use the same dir 2025-12-15 15:58:15 +01:00
Support chore: Fix CrashReport\Registry tests 2025-07-08 13:32:14 +02:00
SystemTag refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Talk chore: Add SPDX header 2024-05-13 17:41:36 +02:00
TaskProcessing Merge pull request #56063 from nextcloud/tests/taskprocessing 2025-10-31 15:04:49 +01:00
Template refactor(tests): getMockForAbstractClass is deprecated 2025-11-05 15:42:34 +01:00
TextProcessing refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
Traits chore: migrate to PHPUnit 11 2025-11-05 15:42:33 +01:00
Updater chore: run rector 2025-07-01 22:45:52 +02:00
User refactor: Deprecated user config from IConfig correctly 2025-12-11 13:27:47 +01:00
Util chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
AllConfigTest.php refactor: Deprecated user config from IConfig correctly 2025-12-11 13:27:47 +01:00
AppConfigIntegrationTest.php chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
AppConfigTest.php refactor(Memcache\Factory): move prefix generation to the factory class 2025-08-18 13:24:18 +02:00
AppScriptSortTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
AppTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
BinaryFinderTest.php test(BinaryFinder): Make sure the test is portable between systems 2025-09-05 09:47:47 +02:00
CapabilitiesManagerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ConfigTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ContactsManagerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
DateTimeFormatterTest.php chore: run rector 2025-07-01 22:45:52 +02:00
EmojiHelperTest.php chore: run rector 2025-07-01 22:45:52 +02:00
ErrorHandlerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
EventSourceFactoryTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
FilesTest.php refactor: Remove OC_Helper::streamCopy 2025-09-28 12:52:14 +02:00
HelperStorageTest.php fix(reflection): ReflectionMethod::setAccessible is noop since 8.1 2025-12-19 15:57:04 +01:00
HookHelper.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ImageTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
InfoXmlTest.php feat(openmetrics): introduce OpenMetrics exporter 2026-01-07 09:38:13 +01:00
InitialStateServiceTest.php chore: run rector 2025-07-01 22:45:52 +02:00
InstallerTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
LargeFileHelperGetFileSizeTest.php chore: run rector 2025-07-01 22:45:52 +02:00
LargeFileHelperTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
LoggerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
MemoryInfoTest.php chore: setting test metadata in annotations is deprecated (use attributes) 2025-11-05 15:42:40 +01:00
NaturalSortTest.php chore: run rector 2025-07-01 22:45:52 +02:00
NavigationManagerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
RepairTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ServerTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
SetupTest.php chore: run rector 2025-07-01 22:45:52 +02:00
SubAdminTest.php chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
TagsTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
TemplateFunctionsTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
TemplateLayoutTest.php fix: Cleanup and fix tests, and fix related issues in code 2025-09-30 11:53:59 +02:00
TempManagerTest.php chore: run rector on tests 2025-06-12 18:31:58 +02:00
TestCase.php refactor(psalm): Enable psalm for comments unit tests 2026-01-07 13:21:33 +01:00
TestMoveableMountPoint.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
UpdaterTest.php fix: Cleanup OC_App uses in Updater class 2025-08-18 16:13:14 +02:00
UrlGeneratorTest.php fix(tests): Use testing application for testing ajax endpoints, not user_ldap 2025-11-21 14:23:58 +01:00
UtilCheckServerTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
UtilTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00