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