Skip to content

Conversation

@ohassine
Copy link
Member

@ohassine ohassine commented Dec 9, 2025

TaskWPB-21661 [Android] Implement versioning


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

Covering VersionHistoryViewModel with unit test

This PR contains changes from #4469

Needs releases with:

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.

Notes (Optional)

Specify here any other facts that you think are important for this issue.

Attachments (Optional)

Attachments like images, videos, etc. (drag and drop in the text box)


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

# Conflicts:
#	app/src/main/kotlin/com/wire/android/di/accountScoped/CellsModule.kt
#	features/cells/src/main/res/values/strings.xml
#	kalium
…node-versions

# Conflicts:
#	features/cells/src/main/res/values/strings.xml
…node-versions

# Conflicts:
#	features/cells/src/main/java/com/wire/android/feature/cells/ui/CellViewModel.kt
#	features/cells/src/main/res/values/strings.xml
# Conflicts:
#	app/src/main/kotlin/com/wire/android/di/accountScoped/CellsModule.kt
#	core/ui-common/src/main/res/values/strings.xml
#	features/cells/src/main/java/com/wire/android/feature/cells/ui/CellScreenContent.kt
#	features/cells/src/main/java/com/wire/android/feature/cells/ui/CellViewModel.kt
#	features/cells/src/main/res/values/strings.xml
#	kalium
…node-versions

# Conflicts:
#	app/src/main/kotlin/com/wire/android/di/accountScoped/CellsModule.kt
#	features/cells/src/main/java/com/wire/android/feature/cells/ui/CellViewModel.kt
#	features/cells/src/main/res/values/strings.xml
#	features/cells/src/test/kotlin/com/wire/android/feature/cells/ui/publiclink/PublicLinkViewModelTest.kt
#	kalium
@pull-request-size
Copy link

Ups 🫰🟨

This PR is too big. Please try to break it up into smaller PRs.

@ohassine ohassine changed the title feat: cover VersionHistoryViewModel with unit test feat: cover VersionHistoryViewModel with unit test (WPB-21661) Dec 9, 2025
@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.72%. Comparing base (8162b50) to head (0eeeb47).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4473      +/-   ##
===========================================
+ Coverage    48.43%   48.72%   +0.28%     
===========================================
  Files          563      563              
  Lines        19464    19466       +2     
  Branches      3246     3247       +1     
===========================================
+ Hits          9428     9485      +57     
+ Misses        9045     8985      -60     
- Partials       991      996       +5     
Files with missing lines Coverage Δ
...c/main/kotlin/com/wire/android/util/StringUtils.kt 66.66% <100.00%> (+35.08%) ⬆️
...ure/cells/ui/versioning/VersionHistoryViewModel.kt 84.03% <ø> (+38.65%) ⬆️
.../com/wire/android/feature/cells/util/FileHelper.kt 0.00% <ø> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8162b50...0eeeb47. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@yamilmedina yamilmedina left a comment

Choose a reason for hiding this comment

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

💯 🏅

@ohassine ohassine enabled auto-merge December 19, 2025 08:37
@sonarqubecloud
Copy link

@ohassine ohassine added this pull request to the merge queue Dec 19, 2025
Merged via the queue into develop with commit ab6f27c Dec 19, 2025
14 of 15 checks passed
@ohassine ohassine deleted the versionHistoryViewModel-unit-test branch December 19, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants