6 writes to State
aspire (1)
Backchannel\ResourceSnapshotMapper.cs (1)
122
State
= snapshot.State,
Aspire.Cli.Tests (5)
Commands\DescribeCommandTests.cs (5)
194
new ResourceJson { Name = "frontend", DisplayName = "frontend", ResourceType = "Project",
State
= "Running" },
195
new ResourceJson { Name = "postgres", DisplayName = "postgres", ResourceType = "Container",
State
= "Running" },
196
new ResourceJson { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Starting" }
236
new ResourceJson { Name = "frontend", DisplayName = "frontend", ResourceType = "Project",
State
= "Running" },
237
new ResourceJson { Name = "postgres", DisplayName = "postgres", ResourceType = "Container",
State
= "Running" }
5 references to State
Aspire.Cli.Tests (5)
Commands\DescribeCommandTests.cs (3)
225
Assert.Equal("Starting", parsedLines[2]!.
State
);
291
Assert.Equal("Running", first.
State
);
297
Assert.Equal("Stopping", second.
State
);
Commands\PsCommandTests.cs (2)
264
Assert.Equal("Running", apiService.
State
);
271
Assert.Equal("Running", redis.
State
);