You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance test coverage in SyncServiceTest by adding new cases for device registration, deactivation, and removal, including error propagation for unauthorized access and database exceptions. Update TEST_COVERAGE_ACTION_PLAN.md to reflect these improvements. Extend MetadataUseCaseTest with advanced search and metadata retrieval tests, and enhance PluginsViewModelTest with success and error handling scenarios. Revise StringsTest to ensure all languages have consistent string values for various UI elements.
Copy file name to clipboardExpand all lines: docs/development/TEST_COVERAGE_ACTION_PLAN.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,12 @@ Frontend coverage is a single report for **composeApp** (desktop JVM tests); it
94
94
95
95
---
96
96
97
-
**Recent coverage improvements:****Applied (continuation 2026-02-22):****Backend core (share):****ShareServiceTest** (GetSharesTests) extended with `should propagate when shareRepository findByCreatedBy returns Left for getSharesByUser`, **getSharesSharedWithUser** – `should get shares shared with user`, `should propagate when shareRepository findSharedWithUser returns Left`. —
97
+
**Recent coverage improvements:****Applied (continuation 2026-02-22):****Backend core (sync):****SyncServiceTest** extended with `deactivateDevice should succeed when device found and repository returns Right`, `removeDevice should succeed when device found and repository returns Right`. **Frontend composeApp:****PluginsViewModelTest** extended with `loadPlugins_success_setsPlugins`, `loadPlugins_error_setsError`. —
98
+
**Applied (continuation 2026-02-22):****Backend core (sync):****SyncServiceTest** extended with `resolveConflict should propagate when repository resolveConflict returns Left`. **Frontend i18n (core/resources):****StringsTest** extended with **allLanguages_haveCommonBackAndCommonRetry**. —
99
+
**Applied (continuation 2026-02-22):****Backend core (sync):****SyncServiceTest** extended with `registerDevice should propagate error when updateDevice returns Left on reactivate`, `deactivateDevice should return AuthorizationException when device belongs to another user`, `removeDevice should return AuthorizationException when device belongs to another user`. **Frontend i18n (core/resources):****StringsTest** extended with **allLanguages_haveActionRestoreAndActionNew**. —
100
+
**Applied (continuation 2026-02-22):****Frontend i18n (core/resources):****StringsTest** extended with **allLanguages_haveShareTitle**, **allLanguages_haveNavRecentAndNavStarred**, **allLanguages_haveVersionTitleAndSyncTitle**, **allLanguages_haveActivityNoActivity** (all 7 languages non-empty for share, nav recent/starred, version/sync titles, activity empty state). —
**Applied (continuation 2026-02-22):****Backend core (share):****ShareServiceTest** (GetSharesTests) extended with `should propagate when shareRepository findByCreatedBy returns Left for getSharesByUser`, **getSharesSharedWithUser** – `should get shares shared with user`, `should propagate when shareRepository findSharedWithUser returns Left`. —
98
103
**Applied (continuation 2026-02-22):****Backend core (share):****ShareServiceTest** (AccessShareTests) extended with `should propagate when shareRepository findByToken returns Left`, `should propagate when storageItemRepository findById returns Left for accessShare`. —
99
104
**Applied (continuation 2026-02-22):****Backend core (share):****ShareServiceTest** (CreateShareTests) extended with `should propagate when shareRepository create returns Left`. **Frontend i18n (core/resources):****StringsTest** extended with **allLanguages_haveActionShare**. —
100
105
**Applied (continuation 2026-02-22):****Backend core (share):****ShareServiceTest** (GetShareTests) extended with `should propagate when shareRepository findById returns Left`. **Frontend i18n (core/resources):****StringsTest** extended with **allLanguages_haveActionDownload**. —
0 commit comments