test: Add 538 AAA pattern unit tests for GeneralUpdate.Core (closes #423)#424
Merged
Conversation
… FileSystem, Event, Pipeline, Download, Security, IPC, GracefulExit, Compress) - Configuration: 53 tests (Configinfo.Validate, ConfiginfoBuilder Set/Build, ConfigurationMapper, UpdateOption singleton/equals, ProcessInfo constructor validation, Environments AES round-trip) - FileSystem: 45 tests (FileNode Add/Search/SearchParent/Equals/GetHashCode, FileTree DelNode all cases, DefaultBlackListMatcher exact/glob/format/dir matching) - Event: 13 tests (EventManager AddListener/Dispatch/RemoveListener/Clear/fault isolation/singleton) - Pipeline: 15 tests (PipelineContext Add/Get/Remove/ContainsKey edge cases, PipelineBuilder Build/UseMiddlewareIf) - Download: 30 tests (DownloadPlanBuilder 14 branches, DefaultRetryPolicy 9 exception types + exponential backoff) - Security: 11 tests (BearerTokenAuthProvider, ApiKeyAuthProvider, NoOpAuthProvider, HmacAuthProvider, HttpAuthProviderFactory 5 paths) - IPC: 6 tests (IpcEncryption encrypt/decrypt/delete, EncryptedFileProcessInfoProvider Send/Receive round-trip) - GracefulExit: 1 test - HashAlgorithms: stub All 538 tests pass. Closes #423
This was referenced May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds 538 unit tests across 9 modules of GeneralUpdate.Core, all following the AAA (Arrange-Act-Assert) pattern. This implements the initial batch of the comprehensive test coverage plan described in Issue #423.
Test Files (17 files)
Coverage Highlights
Configuration
FileSystem
Other Modules
Test Results
\
Passed: 538 | Failed: 0 | Skipped: 0 | Total: 538
\\
Test Infrastructure
Next Steps
This is the initial batch (~37% of planned 801 test points). Remaining coverage areas per #423:
Closes #423