9 references to LinuxTrayRuntime
Aspire.Tray.Tests (9)
LinuxTrayTests.cs (9)
704
using (var first =
LinuxTrayRuntime
.TryAcquire(directory))
707
Assert.Null(
LinuxTrayRuntime
.TryAcquire(directory));
712
using (var next =
LinuxTrayRuntime
.TryAcquire(directory))
719
Assert.Throws<Win32Exception>(() =>
LinuxTrayRuntime
.TryAcquire(directory));
730
Assert.Equal(expected,
LinuxTrayRuntime
.GetPrivateFileFlags(architecture, append));
757
using (var owner =
LinuxTrayRuntime
.TryAcquire(runtime))
760
Assert.Null(
LinuxTrayRuntime
.TryAcquire(Path.Combine(home, ".aspire", "tray", "runtime")));
766
Assert.Throws<IOException>(() =>
LinuxTrayRuntime
.TryAcquire(linkedRuntime));
777
var start =
LinuxTrayRuntime
.CreateStartInfo(options);