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