12 references to CreateResource
Aspire.Dashboard.Tests (12)
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\ResourceSourceViewModelTests.cs (1)
29var resource = ModelTestHelpers.CreateResource(
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"),