diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-08-14 18:00:29 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-08-14 18:00:29 +0900 |
| commit | a8233adff75a4726015c7c96ce5e864d4506f6b2 (patch) | |
| tree | 8ce06e1bc5d605b9681259260c99a47921e65413 /tests | |
| parent | e07183ee6d3e57da325213e898cdcd6687320f53 (diff) | |
Unify the public product name and repository identifier while preserving stable executable, store, AppContainer, namespace, pipe, and mutex identifiers.
Make Directory.Build.props VersionPrefix the application-version source of truth, use SDK-generated assembly metadata, and compare helper compatibility by parsed major/minor/build release identity.
Rebuild the fixed winagent-sandbox-mcp release staging directory from clean defaults, emit versioned ZIP/checksum assets, verify manifests and fresh extraction, and reject local configuration, user state, and test artifacts.
Document release/deployment separation and upgrade responsibilities, add the initial changelog, update operational script paths, and record the v0.1.0 verification results.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Agent.Windows.Tests/AdministrativeBoundaryTests.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Agent.Windows.Tests/AdministrativeBoundaryTests.cs b/tests/Agent.Windows.Tests/AdministrativeBoundaryTests.cs index b218072..60ff426 100644 --- a/tests/Agent.Windows.Tests/AdministrativeBoundaryTests.cs +++ b/tests/Agent.Windows.Tests/AdministrativeBoundaryTests.cs @@ -2,6 +2,7 @@ using System.Buffers.Binary; using System.Text; using System.Text.Json; using Agent.Admin.Client; +using Agent.Windows.Diagnostics; namespace Agent.Windows.Tests; @@ -74,6 +75,16 @@ public sealed class AdministrativeBoundaryTests Assert.Contains("PipeRejectRemoteClients", client, StringComparison.Ordinal); } + [Theory] + [InlineData("0.1.0.0", true)] + [InlineData("0.1.0", true)] + [InlineData("0.1.1.0", false)] + [InlineData("invalid", false)] + public void Helper_compatibility_compares_parsed_major_minor_build(string helperFileVersion, bool expected) + { + Assert.Equal(expected, WindowsPlatformCheck.HasSameReleaseIdentity(new Version(0, 1, 0, 0), helperFileVersion)); + } + private static string RepositoryRoot() { DirectoryInfo? current = new(AppContext.BaseDirectory); |
