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); 375using (var runStore = CreateRunStore(options)) 453using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None)); 484using var runStore = CreateRunStore( 513using var runStore = CreateRunStore( 520using var nextRunStore = CreateRunStore( 538using var activeRunStore = CreateRunStore(options); 542using var secondRunStore = CreateRunStore(options); 557using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None)); 596using (var firstRunStore = CreateRunStore(options)) 622using var firstRunStore = CreateRunStore(options); 624var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(options)); 640using (var firstRunStore = CreateRunStore(options)) 673using (var firstRunStore = CreateRunStore(options)) 685Assert.Throws<SqliteException>(() => CreateRunStore(options)); 691Assert.Throws<SqliteException>(() => CreateRunStore(options)); 734using (var historicalRunStore = CreateRunStore(options)) 741using var currentRunStore = CreateRunStore(options); 766using (var otherApplicationRunStore = CreateRunStore( 774using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1)))) 779using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(2))); 796using (var incompatibleRunStore = CreateRunStore( 810using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 839using (var futureRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMinutes(-1)))) 856using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 881using (var incompatibleRunStore = CreateRunStore( 897using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 901using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 918using var runStore = CreateRunStore(CreateOptions(workspace)); 930using var runStore = CreateRunStore(CreateOptions(workspace)); 946using (var historicalRunStore = CreateRunStore(options)) 953using var activeRunStore = CreateRunStore(options); 956using var currentRunStore = CreateRunStore(options); 978using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 983using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 1009using var runStore = CreateRunStore(options, new FixedTimeProvider(now)); 1027using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index))); 1034var activeRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index))); 1041using var currentRunStore = CreateRunStore( 1075using (var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++)))) 1081using var pinningRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))); 1094using var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))); 1098using var finalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex))); 1120using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 1124using var activeRunStore = CreateRunStore( 1129using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 1146using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 1154using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1))); 1162using var additionalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(index))); 1197using (var historicalRunStore = CreateRunStore(options)) 1204using var currentRunStore = CreateRunStore(options); 1247using (var historicalRunStore = CreateRunStore(options)) 1254using var currentRunStore = CreateRunStore(options); 1279using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 1314using (var malformedRunStore = CreateRunStore(options)) 1326using var currentRunStore = CreateRunStore(options); 1358using var currentRunStore = CreateRunStore(options); 1460using (var historicalRunStore = CreateRunStore(options)) 1490using var currentRunStore = CreateRunStore(options); 1569using var currentRunStore = CreateRunStore(options); 1589using var currentRunStore = CreateRunStore(options); 1630using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime))) 1635using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime.AddMilliseconds(1)));