Skip to content

Standardize test namespaces and syntax#213

Merged
stesee merged 1 commit into
releasefrom
main
Jul 3, 2026
Merged

Standardize test namespaces and syntax#213
stesee merged 1 commit into
releasefrom
main

Conversation

@stesee

@stesee stesee commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Renames test namespaces from Codeuctivity.Tests to OpenXmlPowerTools.Tests (including the Wml-to-HTML subnamespace) to match the current project naming. Also modernizes test/example code with newer C# constructs (target-typed new, collection expressions, pattern updates), replaces Assert.True(false, ...) with Assert.Fail(...), and passes cancellation tokens where supported (OpenXmlValidator.Validate and File.ReadAllBytesAsync) for cleaner, more consistent test code.

Renames test namespaces from `Codeuctivity.Tests` to `OpenXmlPowerTools.Tests` (including the Wml-to-HTML subnamespace) to match the current project naming. Also modernizes test/example code with newer C# constructs (target-typed `new`, collection expressions, pattern updates), replaces `Assert.True(false, ...)` with `Assert.Fail(...)`, and passes cancellation tokens where supported (`OpenXmlValidator.Validate` and `File.ReadAllBytesAsync`) for cleaner, more consistent test code.
Copilot AI review requested due to automatic review settings July 3, 2026 14:33
@stesee stesee merged commit c4f7075 into release Jul 3, 2026
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant