6 references to CreateProtocol
Aspire.Hosting.Native.Core.Tests (6)
NativeCliProtocolTests.cs (6)
39Assert.Throws<IOException>(() => CreateProtocol(directory.SocketPath)); 46Assert.Throws<IOException>(() => CreateProtocol(directory.SocketPath)); 66Assert.Throws<IOException>(() => CreateProtocol(Path.Combine(link, "cli.sock"))); 76var first = CreateProtocol(directory.SocketPath); 79Assert.Throws<ArgumentException>(() => CreateProtocol(directory.SocketPath)); 89using var replacement = CreateProtocol(directory.SocketPath);