Skip to content

Test: add unit tests for OfflineFirstConversationsRepository - #6561

Open
rapterjet2004 wants to merge 1 commit into
masterfrom
issue-5165-offline-first-tests
Open

Test: add unit tests for OfflineFirstConversationsRepository#6561
rapterjet2004 wants to merge 1 commit into
masterfrom
issue-5165-offline-first-tests

Conversation

@rapterjet2004

@rapterjet2004 rapterjet2004 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Covers getRooms server sync/deletion guards, background message catch-up gating (capability, battery saver, metered/restricted network) and capping, updateConversation, getLocallyStoredConversation, observeConversation and getRoom — previously only exercised indirectly via Robolectric integration tests.

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Covers getRooms server sync/deletion guards, background message
catch-up gating (capability, battery saver, metered/restricted
network) and capping, updateConversation, getLocallyStoredConversation,
observeConversation and getRoom — previously only exercised indirectly
via Robolectric integration tests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@rapterjet2004 rapterjet2004 self-assigned this Aug 24, 2026
@rapterjet2004 rapterjet2004 added the 3. to review Waiting for reviews label Aug 24, 2026
@rapterjet2004
rapterjet2004 requested a review from mahibi August 24, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Offline First Repositories

1 participant