Skip to content

Refactor SharpAssemblyResolver.Builder to use Dictionary - #4

Merged
trippwill merged 1 commit into
mainfrom
release/v0.2
Nov 3, 2024
Merged

Refactor SharpAssemblyResolver.Builder to use Dictionary#4
trippwill merged 1 commit into
mainfrom
release/v0.2

Conversation

@trippwill

Copy link
Copy Markdown
Owner

Modified SharpAssemblyResolver.Builder to use a Dictionary for assembly paths, enabling mapping of assembly names to full paths. Updated ToAssemblyResolver method to pass dictionary values to the constructor. Enhanced AddReferenceFile method to log warnings when overwriting existing assembly paths. Added unit tests to verify logging behavior. Introduced TestLogger class for capturing warning messages in tests.

Modified SharpAssemblyResolver.Builder to use a Dictionary for assembly paths, enabling mapping of assembly names to full paths. Updated ToAssemblyResolver method to pass dictionary values to the constructor. Enhanced AddReferenceFile method to log warnings when overwriting existing assembly paths. Added unit tests to verify logging behavior. Introduced TestLogger class for capturing warning messages in tests.
@codecov

codecov Bot commented Nov 3, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.69%. Comparing base (20de4f1) to head (01ef644).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   81.39%   82.69%   +1.30%     
==========================================
  Files          17       17              
  Lines         473      497      +24     
  Branches       58       60       +2     
==========================================
+ Hits          385      411      +26     
+ Misses         69       67       -2     
  Partials       19       19              
Flag Coverage Δ
LinuxHost 82.69% <100.00%> (+1.30%) ⬆️
Release 82.69% <100.00%> (+1.30%) ⬆️
WindowsHost 82.69% <100.00%> (+1.30%) ⬆️
macOSHost 82.69% <100.00%> (+1.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@trippwill
trippwill merged commit 87e3f32 into main Nov 3, 2024
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.

1 participant