20 references to ModelTestHelpers
Aspire.Dashboard.Tests (20)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (5)
22ModelTestHelpers.CreateResource(appName: "App1-r1", state: KnownResourceState.Running, displayName: "App1"), 23ModelTestHelpers.CreateResource(appName: "App1-r2", displayName: "App1"), 26ModelTestHelpers.CreateResource(appName: "App2", state: KnownResourceState.Starting), 29ModelTestHelpers.CreateResource(appName: "App3", state: KnownResourceState.Finished), 32ModelTestHelpers.CreateResource(appName: "App4", state: KnownResourceState.Running)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
25public static readonly ResourceViewModel TestResource1 = ModelTestHelpers.CreateResource(
Model\ResourceEndpointHelpersTests.cs (8)
20var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [])); 28var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [new("Test", new("http://localhost:8080"), isInternal: false)])); 44var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [ 71var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [ 98var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [ 125var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [ 144var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [ 172var endpoints = GetEndpoints(ModelTestHelpers.CreateResource(urls: [
Model\ResourceStateViewModelTests.cs (1)
71var resource = ModelTestHelpers.CreateResource(
Model\ResourceViewModelNameComparerTests.cs (4)
18ModelTestHelpers.CreateResource(appName: "database-dashboard-abc", displayName: "database-dashboard"), 19ModelTestHelpers.CreateResource(appName: "database-dashboard-xyz", displayName: "database-dashboard"), 20ModelTestHelpers.CreateResource(appName: "database-xyz", displayName: "database"), 21ModelTestHelpers.CreateResource(appName: "database-abc", displayName: "database"),
ResourceOutgoingPeerResolverTests.cs (1)
17return ModelTestHelpers.CreateResource(