Skip to content

test: add CDiffView test coverage#96

Merged
dlyongemallo merged 1 commit intomainfrom
add_cdiffview_test_coverage
Apr 9, 2026
Merged

test: add CDiffView test coverage#96
dlyongemallo merged 1 commit intomainfrom
add_cdiffview_test_coverage

Conversation

@dlyongemallo
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 9, 2026 00:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds functional test coverage for the diffview.api.CDiffView custom-view API, including regressions around pre-populated file lists and panel loading/render behavior.

Changes:

  • Extend the CDiffView functional spec with coverage for API exports (Rev, RevType) and construction defaults.
  • Add regression tests ensuring is_loading is cleared and initialized is set after :open() when files are pre-populated (incl. file_panel.show = false).
  • Add get_updated_files() coverage for both success and malformed return data from update_files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dlyongemallo dlyongemallo force-pushed the add_cdiffview_test_coverage branch from d9da730 to 48bea13 Compare April 9, 2026 07:51
@dlyongemallo dlyongemallo merged commit ec1571a into main Apr 9, 2026
2 checks passed
@dlyongemallo dlyongemallo deleted the add_cdiffview_test_coverage branch April 9, 2026 07:52
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.

2 participants