Skip to content

Handle empty TranslationInfo tag properly when parsing Settings.xml#402

Open
pmachapman wants to merge 1 commit intomasterfrom
translation_info_parsing
Open

Handle empty TranslationInfo tag properly when parsing Settings.xml#402
pmachapman wants to merge 1 commit intomasterfrom
translation_info_parsing

Conversation

@pmachapman
Copy link
Copy Markdown
Collaborator

@pmachapman pmachapman commented Apr 8, 2026

Fixes #401.

I tested by modifying the Settings.xml file manually. If you think this should have its own test, we will need another test project in the file system, as none of the file system calls go through an abstraction layer.


This change is Reviewable

@pmachapman pmachapman requested review from Enkidu93 and ddaspit April 8, 2026 22:51
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.99%. Comparing base (cd06553) to head (e690bc5).

Files with missing lines Patch % Lines
...chine/Corpora/ParatextProjectSettingsParserBase.cs 50.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
- Coverage   73.00%   72.99%   -0.01%     
==========================================
  Files         439      439              
  Lines       36672    36672              
  Branches     5036     5037       +1     
==========================================
- Hits        26772    26770       -2     
  Misses       8785     8785              
- Partials     1115     1117       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

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.

Port 'Handle empty TranslationInfo tag properly when parsing Settings.xml'

2 participants