14 references to CreateResource
Aspire.Dashboard.Tests (14)
ResourceOutgoingPeerResolverTests.cs (14)
31["test"] = CreateResource("test", "localhost", 5000)
44["test"] = CreateResource("test", "localhost", 5000)
57["test"] = CreateResource("test", "localhost", 5000)
70["test"] = CreateResource("test", "localhost", 5000)
84["test"] = CreateResource("test", "localhost", 5000)
98["test"] = CreateResource("test", "localhost", 5000)
112["test"] = CreateResource("test", "localhost", 5000)
141[CreateResource("test", serviceAddress: "localhost", servicePort: 8080)],
150await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2", serviceAddress: "localhost", servicePort: 8080, state: KnownResourceState.Starting)));
158await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2", serviceAddress: "localhost", servicePort: 8081, state: KnownResourceState.Starting)));
166await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2", serviceAddress: "localhost", servicePort: 8081, state: KnownResourceState.Running)));
191["test-abc"] = CreateResource("test-abc", "localhost", 5000, displayName: "test")
205["test-abc"] = CreateResource("test-abc", "localhost", 5000, displayName: "test"),
206["test-def"] = CreateResource("test-def", "localhost", 5001, displayName: "test")