31 writes to Label
Aspire.Cli.Tests (31)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
280
Label
= "myresource-0",
Commands\TerminalCommandTests.cs (9)
207
new() { ReplicaIndex = 0,
Label
= "myresource-0", ConsumerUdsPath = "unused", IsAlive = true },
208
new() { ReplicaIndex = 1,
Label
= "myresource-1", ConsumerUdsPath = "unused", IsAlive = true }
293
Label
= "myresource-0",
300
Label
= "myresource-1",
408
Label
= "myresource-0",
513
Label
= "frontend-0",
527
Label
= "frontend-1",
556
Label
= "backend-0",
743
Label
= "frontend-0",
Commands\TerminalResourceResolverTests.cs (14)
56
var endpoint = new TerminalReplicaInfo { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "singleton.sock", IsAlive = true };
77
var first = new TerminalReplicaInfo { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true };
78
var selected = new TerminalReplicaInfo { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "selected.sock", IsAlive = false };
103
var selected = new TerminalReplicaInfo { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "selected.sock", IsAlive = true };
138
var first = new TerminalReplicaInfo { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true };
139
var second = new TerminalReplicaInfo { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "second.sock", IsAlive = true };
185
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = true },
186
new() { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "unused", IsAlive = true }
221
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true },
222
new() { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "second.sock", IsAlive = true }
258
Replicas = [new() { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "unused", IsAlive = true }]
285
Replicas = [new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = true }]
313
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true },
314
new() { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "second.sock", IsAlive = true }
Commands\TerminalTapePlayCommandTests.cs (7)
143
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = true },
144
new() { ReplicaIndex = 1,
Label
= "shell-1", ConsumerUdsPath = "unused", IsAlive = true }
229
new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = true },
233
Label
= "shell-1",
285
Replicas = [new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = "unused", IsAlive = false }]
335
Label
= "shell-0",
572
Replicas = [new() { ReplicaIndex = 0,
Label
= "shell-0", ConsumerUdsPath = socketPath ?? "unused", IsAlive = true }]
1 reference to Label
Aspire.Cli.Tests (1)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
242
Assert.Equal("myresource-0", replica.
Label
);