Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved the test coverage of XmlWriter. #107680

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

koenigst
Copy link
Contributor

  • Replicated the test cases from TCWriteNode_XmlReader.cs for XPathNavigator.
  • Removed the test cases that did not make sense due to the simplified XPath model.
  • Enabled testing async methods of XmlWriter.

Fixes #20428

This improves line coverage in XmlWriter from 36% to 77%.

* Replicated the test cases from TCWriteNode_XmlReader.cs for XPathNavigator.
* Removed the test cases that did not make sense due to the simplified XPath model.
* Enabled testing async methods of XmlWriter.

Fixes dotnet#20428
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Sep 11, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-xml
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Xml community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve code coverage for System.Xml namespace types
1 participant