5 writes to StatusForPlan
Aspire.Hosting.Native.Core.Tests (5)
DeclarativeApplicationTests.cs (3)
236
StatusForPlan
= plan => new(WorkloadPhase.Exited, plan.Arguments.SequenceEqual(["initialize"]) ? 1 : 0)
301
StatusForPlan
= plan => new(plan is ContainerWorkload ? WorkloadPhase.Running : WorkloadPhase.Exited, 1),
353
StatusForPlan
= plan => new(plan is ContainerWorkload ? WorkloadPhase.Running : WorkloadPhase.Exited, 0)
NativeProviderLifecycleTests.cs (2)
566
StatusForPlan
= plan =>
636
StatusForPlan
= plan => new(plan is ContainerWorkload ? WorkloadPhase.Running : WorkloadPhase.Exited, 0)
1 reference to StatusForPlan
Aspire.Hosting.Native.Core.Tests (1)
TestServices\WorkloadTestExecutor.cs (1)
78
return executor.
StatusForPlan
?.Invoke(plan) ?? new WorkloadStatus(executor.Phase, executor.ExitCode);