77 references to CreateRunStore
Aspire.Dashboard.Tests (77)
Model\DashboardDataSourceTests.cs (77)
38using var runStore = CreateRunStore(options); 53using var runStore = CreateRunStore(options); 102using var runStore = CreateRunStore(CreateOptions(workspace, "My Dashboard", persistenceMode)); 118using var runStore = CreateRunStore(CreateOptions(workspace), timeProvider); 130using var firstRunStore = CreateRunStore(options, timeProvider); 132using var secondRunStore = CreateRunStore(options, timeProvider); 152using var runStore = CreateRunStore(CreateOptions(workspace), timeProvider); 174var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(CreateOptions(workspace), timeProvider)); 185using var runStore = CreateRunStore(options); 217using var runStore = CreateRunStore(CreateOptions(workspace, applicationName)); 240using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 252using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddSeconds(1))); 291using (var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 305using var nextRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMinutes(1))); 316using var runStore = CreateRunStore(options); 374using (var runStore = CreateRunStore(options)) 451using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None)); 482using var runStore = CreateRunStore( 511using var runStore = CreateRunStore( 518using var nextRunStore = CreateRunStore( 536using var activeRunStore = CreateRunStore(options); 540using var secondRunStore = CreateRunStore(options); 555using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None)); 593using (var firstRunStore = CreateRunStore(options)) 619using var firstRunStore = CreateRunStore(options); 621var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(options)); 637using (var firstRunStore = CreateRunStore(options)) 670using (var firstRunStore = CreateRunStore(options)) 682Assert.Throws<SqliteException>(() => CreateRunStore(options)); 688Assert.Throws<SqliteException>(() => CreateRunStore(options)); 731using (var historicalRunStore = CreateRunStore(options)) 738using var currentRunStore = CreateRunStore(options); 763using (var otherApplicationRunStore = CreateRunStore( 771using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1)))) 776using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(2))); 793using (var incompatibleRunStore = CreateRunStore( 807using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 836using (var futureRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMinutes(-1)))) 853using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 878using (var incompatibleRunStore = CreateRunStore( 894using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 898using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 915using var runStore = CreateRunStore(CreateOptions(workspace)); 927using var runStore = CreateRunStore(CreateOptions(workspace)); 943using (var historicalRunStore = CreateRunStore(options)) 950using var activeRunStore = CreateRunStore(options); 953using var currentRunStore = CreateRunStore(options); 975using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 980using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 1006using var runStore = CreateRunStore(options, new FixedTimeProvider(now)); 1024using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index))); 1031var activeRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index))); 1038using var currentRunStore = CreateRunStore( 1072using (var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++)))) 1078using var pinningRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))); 1091using var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))); 1095using var finalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex))); 1117using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 1121using var activeRunStore = CreateRunStore( 1126using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 1143using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 1151using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1))); 1159using var additionalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(index))); 1192using (var historicalRunStore = CreateRunStore(options)) 1199using var currentRunStore = CreateRunStore(options); 1242using (var historicalRunStore = CreateRunStore(options)) 1249using var currentRunStore = CreateRunStore(options); 1274using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 1308using (var malformedRunStore = CreateRunStore(options)) 1320using var currentRunStore = CreateRunStore(options); 1352using var currentRunStore = CreateRunStore(options); 1454using (var historicalRunStore = CreateRunStore(options)) 1484using var currentRunStore = CreateRunStore(options); 1563using var currentRunStore = CreateRunStore(options); 1583using var currentRunStore = CreateRunStore(options); 1624using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime))) 1629using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime.AddMilliseconds(1)));