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