21 references to Hex1bPtySocketHelper
Aspire.Hosting (1)
ApplicationModel\TerminalService.cs (1)
142
var socketPath =
Hex1bPtySocketHelper
.CreateSocketPath();
Aspire.Hosting.Tests (20)
Terminals\Hex1bPtySocketTests.cs (20)
34
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, value);
36
Assert.Null(
Hex1bPtySocketHelper
.CreateSocketPath());
38
Assert.Equal(value, Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
71
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, originalOverride);
79
EnvironmentVariables = { [
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable] = Path.Combine(root.FullName, "child") }
82
Assert.Equal(originalOverride, Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
95
Assert.Equal(originalOverride, Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
121
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, value);
131
Assert.Equal(value, Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
162
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, directory.FullName);
189
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, null);
190
var socketPath =
Hex1bPtySocketHelper
.CreateSocketPath();
196
Assert.Null(Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
211
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, directory);
222
Assert.Equal(directory, Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
254
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, directory);
262
EnvironmentVariables = { [
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable] = Path.Combine(root.FullName, "child") },
273
Assert.Equal(directory, Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));
276
Environment.SetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable, laterDirectory);
305
Assert.Equal(Path.Combine(root.FullName, "later"), Environment.GetEnvironmentVariable(
Hex1bPtySocketHelper
.SocketDirectoryEnvironmentVariable));