Skip to content

Catch2 tests coverage for BookmarkModel class#7102

Merged
nirvn merged 2 commits intomasterfrom
tests/bookMarkModel
Mar 4, 2026
Merged

Catch2 tests coverage for BookmarkModel class#7102
nirvn merged 2 commits intomasterfrom
tests/bookMarkModel

Conversation

@kaustuvpokharel
Copy link
Collaborator

Tests cover default state with empty manager, rowCount reflecting bookmarks from a single user manager and from both user and project managers combined, all six data roles (BookmarkId, BookmarkName, BookmarkGroup, BookmarkPoint, BookmarkCrs, BookmarkUser), invalid index returning an invalid QVariant, roleNames completeness, removeBookmark reducing rowCount, updateBookmarkDetails changing name and group, getBookmarkPoint and getBookmarkCrs returning correct values, setMapSettings signal deduplication, and removing a non-existent id being a no-op

@kaustuvpokharel kaustuvpokharel self-assigned this Mar 3, 2026
@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Mar 3, 2026

🍎 MacOS DMG universal builds

Download a MacOS DMG universal build of this PR for testing.
(Built from commit 0dc5014)

📱 Android builds

Download an Android arm64 build of this PR for testing.
(Built from commit 0dc5014)

Other Android architectures

🪟 Windows builds

Download a Windows build of this PR for testing.
(Built from commit 0dc5014)

🐧 Linux AppImage builds

Download a Linux AppImage build of this PR for testing.
(Built from commit 0dc5014)

Copy link
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@nirvn nirvn merged commit e1e0772 into master Mar 4, 2026
26 of 27 checks passed
@nirvn nirvn deleted the tests/bookMarkModel branch March 4, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants