14 references to CreateResource
Aspire.Dashboard.Tests (14)
ResourceOutgoingPeerResolverTests.cs (14)
30["test"] = CreateResource("test", "localhost", 5000)
43["test"] = CreateResource("test", "localhost", 5000)
56["test"] = CreateResource("test", "localhost", 5000)
69["test"] = CreateResource("test", "localhost", 5000)
83["test"] = CreateResource("test", "localhost", 5000)
97["test"] = CreateResource("test", "localhost", 5000)
111["test"] = CreateResource("test", "localhost", 5000)
140[CreateResource("test", serviceAddress: "localhost", servicePort: 8080)],
149await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2", serviceAddress: "localhost", servicePort: 8080, state: KnownResourceState.Starting)));
157await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2", serviceAddress: "localhost", servicePort: 8081, state: KnownResourceState.Starting)));
165await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2", serviceAddress: "localhost", servicePort: 8081, state: KnownResourceState.Running)));
190["test-abc"] = CreateResource("test-abc", "localhost", 5000, displayName: "test")
204["test-abc"] = CreateResource("test-abc", "localhost", 5000, displayName: "test"),
205["test-def"] = CreateResource("test-def", "localhost", 5001, displayName: "test")