Rename 29 ImplBacklog test files from .Impltests.cs to .cs to match PortTracker class names

This commit is contained in:
Joseph Doherty
2026-02-28 06:56:52 -05:00
parent 523f86684b
commit f17d6c6bfb
29 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System.Runtime.InteropServices;
using Shouldly;
using ZB.MOM.NatsNet.Server;
using ZB.MOM.NatsNet.Server.Auth.CertificateStore;
using ZB.MOM.NatsNet.Server.Internal;
namespace ZB.MOM.NatsNet.Server.Tests.ImplBacklog;
public sealed class CertificateStoreWindowsTests
{
[Fact] // T:158
public void WindowsTLS12ECDSA_ShouldSucceed()
{
var (matchBy, matchErr) = CertificateStoreService.ParseCertMatchBy("subject");
matchErr.ShouldBeNull();
matchBy.ShouldBe(MatchByType.Subject);
var (store, storeErr) = CertificateStoreService.ParseCertStore("windowscurrentuser");
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
storeErr.ShouldBeNull();
store.ShouldBe(StoreType.WindowsCurrentUser);
}
else
{
storeErr.ShouldBe(CertStoreErrors.ErrOSNotCompatCertStore);
store.ShouldBe(StoreType.Empty);
}
}
}