27 references to RunId
Aspire.Dashboard (1)
ServiceClient\DashboardRunStore.cs (1)
331if (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; 361$"Dashboard run discovery completed in directory '{Directory.GetParent(runStore.CurrentWorkingDirectory)!.FullName}'. Run count: 1. Run IDs: {runStore.RunId}.", 733historicalRunId = historicalRunStore.RunId; 746Assert.Equal(currentRunStore.RunId, currentRun.RunId); 797incompatibleRunId = incompatibleRunStore.RunId; 838futureRunId = futureRunStore.RunId; 882incompatibleRunId = incompatibleRunStore.RunId; 945historicalRunId = historicalRunStore.RunId; 958Assert.True(Assert.Single(runs, run => string.Equals(run.RunId, currentRunStore.RunId, StringComparison.Ordinal)).IsCurrent); 960var activeRun = Assert.Single(runs, run => string.Equals(run.RunId, activeRunStore.RunId, StringComparison.Ordinal)); 1074runId = runStore.RunId; 1145historicalRunId = historicalRunStore.RunId; 1194historicalRunId = historicalRunStore.RunId; 1244historicalRunId = historicalRunStore.RunId; 1311malformedRunId = malformedRunStore.RunId; 1456historicalRunId = historicalRunStore.RunId; 1499Assert.Equal($"Switched dashboard run from '{currentRunStore.RunId}' to '{historicalRunId}'.", switchLog.Message); 1573Assert.Equal(currentRunStore.RunId, dataSource.SelectedRun.RunId); 1626historicalRunId = historicalRunStore.RunId; 1643Assert.Equal(currentRunStore.RunId, dataSource.SelectedRun.RunId);