27 references to RunId
Aspire.Dashboard (1)
ServiceClient\DashboardRunStore.cs (1)
332if (string.Equals(run.RunId, RunId, StringComparison.Ordinal))
Aspire.Dashboard.Tests (26)
Model\DashboardDataSourceTests.cs (26)
120Assert.Equal("20260720T123456789Z", runStore.RunId); 121Assert.Equal(runStore.RunId, Path.GetFileName(runStore.CurrentWorkingDirectory)); 134Assert.Equal("20260720T123456789Z", firstRunStore.RunId); 135Assert.Equal("20260720T123456790Z", secondRunStore.RunId); 136Assert.Equal(secondRunStore.RunId, Path.GetFileName(secondRunStore.CurrentWorkingDirectory)); 154Assert.Equal("20260720T123456790Z", runStore.RunId); 242historicalRunId = historicalRunStore.RunId; 362$"Dashboard run discovery completed in directory '{Directory.GetParent(runStore.CurrentWorkingDirectory)!.FullName}'. Run count: 1. Run IDs: {runStore.RunId}.", 736historicalRunId = historicalRunStore.RunId; 749Assert.Equal(currentRunStore.RunId, currentRun.RunId); 800incompatibleRunId = incompatibleRunStore.RunId; 841futureRunId = futureRunStore.RunId; 885incompatibleRunId = incompatibleRunStore.RunId; 948historicalRunId = historicalRunStore.RunId; 961Assert.True(Assert.Single(runs, run => string.Equals(run.RunId, currentRunStore.RunId, StringComparison.Ordinal)).IsCurrent); 963var activeRun = Assert.Single(runs, run => string.Equals(run.RunId, activeRunStore.RunId, StringComparison.Ordinal)); 1077runId = runStore.RunId; 1148historicalRunId = historicalRunStore.RunId; 1199historicalRunId = historicalRunStore.RunId; 1249historicalRunId = historicalRunStore.RunId; 1317malformedRunId = malformedRunStore.RunId; 1462historicalRunId = historicalRunStore.RunId; 1505Assert.Equal($"Switched dashboard run from '{currentRunStore.RunId}' to '{historicalRunId}'.", switchLog.Message); 1579Assert.Equal(currentRunStore.RunId, dataSource.SelectedRun.RunId); 1632historicalRunId = historicalRunStore.RunId; 1649Assert.Equal(currentRunStore.RunId, dataSource.SelectedRun.RunId);