Skip to content

Merge | Port SqlDataSourceConverter, widen test coverage - #3309

Merged
benrr101 merged 2 commits into
dotnet:mainfrom
edwardneal:merge/typeconverters
Apr 30, 2025
Merged

benrr101 merged 2 commits into
dotnet:mainfrom
edwardneal:merge/typeconverters

Conversation

@edwardneal

Copy link
Copy Markdown
Contributor

#3243 reminded me that we didn't completely port the TypeConverters for SqlConnectionStringBuilder.

This PR makes sure that the WinForms PropertyGrid behaviour is consistent between .NET Core and .NET Framework for the DataSource and the FailoverPartner properties.

Both this and NetworkLibraryConverter also had very poor code coverage; I've added tests to broaden this.

I'd appreciate a CI & Codecov run.

Also add test coverage for this type converter (and for the netfx-only NetworkLibraryConverter.)
@David-Engel

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@benrr101 benrr101 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Whooooo thank you! 🚀

@edwardneal

Copy link
Copy Markdown
Contributor Author

Thanks. Could CI be re-triggered though please? I've just noticed an issue I'd missed with TestInitialCatalogStandardValues.

@samsharma2700

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@codecov

codecov Bot commented Apr 29, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.25%. Comparing base (85980b5) to head (09ab7b6).
Report is 6 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (85980b5) and HEAD (09ab7b6). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (85980b5) HEAD (09ab7b6)
addons 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3309      +/-   ##
==========================================
- Coverage   72.97%   66.25%   -6.73%     
==========================================
  Files         298      292       -6     
  Lines       57002    56690     -312     
==========================================
- Hits        41600    37558    -4042     
- Misses      15402    19132    +3730     
Flag Coverage Δ
addons ?
netcore 69.01% <100.00%> (-6.30%) ⬇️
netfx 65.29% <100.00%> (-6.16%) ⬇️

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.

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

@benrr101
benrr101 merged commit 08622e7 into dotnet:main Apr 30, 2025
@edwardneal
edwardneal deleted the merge/typeconverters branch April 30, 2025 17: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.

4 participants