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