3 writes to Name
Aspire.Dashboard.Tests (3)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (1)
39var noSelectionViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = selectAResourceText };
Model\ApplicationsSelectHelpersTests.cs (2)
114new SelectViewModel<ResourceTypeDetails>() { Name = "test", Id = ResourceTypeDetails.CreateSingleton("test-abc", "test") }, 115new SelectViewModel<ResourceTypeDetails>() { Name = "test", Id = ResourceTypeDetails.CreateSingleton("test-def", "test") }
21 references to Name
Aspire.Dashboard.Components.Tests (1)
Pages\MetricsTests.cs (1)
194cut.WaitForAssertion(() => Assert.Equal("TestApp2", viewModel.SelectedApplication.Name), TestConstants.WaitTimeout);
Aspire.Dashboard.Tests (20)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (6)
57Assert.Equal("App1", entry.Name); 66Assert.Equal("App1-r1", entry.Name); 75Assert.Equal($"App1-r2 ({unknownStateText})", entry.Name); 83Assert.Equal("App2 (Starting)", entry.Name); 91Assert.Equal("App3 (Finished)", entry.Name); 99Assert.Equal("App4", entry.Name);
Model\ApplicationsSelectHelpersTests.cs (14)
33Assert.Equal("app", app.Name); 39Assert.Equal("app-app", app.Name); 45Assert.Equal("app-app-abc", app.Name); 51Assert.Equal("singleton", app.Name); 77Assert.Equal("app", app.Name); 83Assert.Equal("APP-app", app.Name); 89Assert.Equal("APP-app-abc", app.Name); 143Assert.Equal("app", app.Name); 149Assert.Equal("app-123", app.Name); 155Assert.Equal("app-456", app.Name); 180Assert.Equal("app", app.Name); 186Assert.Equal("app-123", app.Name); 192Assert.Equal("app-456", app.Name); 201Assert.Equal("app", app.Name);