13 references to GetTrayPath
aspire (1)
Commands\TrayLifecycleService.cs (1)
73var trayPath = layout.GetTrayPath();
Aspire.Cli.Tests (12)
BundleServiceIntegrationTests.cs (1)
378Assert.Equal(expectedTrayPath, layoutLease.Layout.GetTrayPath());
Commands\TrayCommandTests.cs (8)
33var directory = Path.GetDirectoryName(bundle.Layout.GetTrayPath()!)!; 39Assert.Equal(bundle.Layout.GetTrayPath(), factory.LastFileName); 54LinuxTrayTestPayload.Create(Path.GetDirectoryName(bundle.Layout.GetTrayPath()!)!, 78LinuxTrayTestPayload.Create(Path.GetDirectoryName(bundle.Layout.GetTrayPath()!)!, 219Assert.Equal(layout.GetTrayPath(), factory.LastFileName); 362File.Delete(bundle.Layout.GetTrayPath()!); 604var trayPath = layout.GetTrayPath()!; 718File.Copy(typeof(TrayCommandTests).Assembly.Location, bundle.Layout.GetTrayPath()!, overwrite: true);
Layout\TrayLayoutTests.cs (3)
55Assert.Equal(hasTray ? trayPath : null, layout.GetTrayPath()); 56Assert.Equal(layout.GetTrayPath(), discovery.GetComponentPath(LayoutComponent.Tray)); 65Assert.Null(layout.GetTrayPath());