17 writes to Label
Aspire.Cli.Tests (17)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
170
Label
= "myresource-0",
Commands\TerminalCommandTests.cs (9)
183
Label
= "myresource-0",
190
Label
= "myresource-1",
268
Label
= "myresource-0",
275
Label
= "myresource-1",
381
Label
= "myresource-0",
486
Label
= "frontend-0",
500
Label
= "frontend-1",
529
Label
= "backend-0",
716
Label
= "frontend-0",
Commands\TerminalTapePlayCommandTests.cs (7)
137
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = true },
138
new() { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "unused", IsAlive = true }
174
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = true },
178
Label
= "shell-1",
230
Replicas = [new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = false }]
280
Label
= "shell-0",
515
Replicas = [new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = socketPath ?? "unused", IsAlive = true }]
3 references to Label
aspire (2)
Commands\TerminalResourceResolver.cs (2)
77
? string.Format(CultureInfo.CurrentCulture, TerminalCommandStrings.ReplicaRunning, r.
Label
)
79
r.
Label
, r.ExitCode?.ToString(CultureInfo.InvariantCulture) ?? "unknown"),
Aspire.Cli.Tests (1)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
132
Assert.Equal("myresource-0", replica.
Label
);