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