75 references to CreateRunStore
Aspire.Dashboard.Tests (75)
Model\DashboardDataSourceTests.cs (75)
37using var runStore = CreateRunStore(options); 52using var runStore = CreateRunStore(options); 101using var runStore = CreateRunStore(CreateOptions(workspace, "My Dashboard", persistenceMode)); 117using var runStore = CreateRunStore(CreateOptions(workspace), timeProvider); 129using var firstRunStore = CreateRunStore(options, timeProvider); 131var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(options, timeProvider)); 141using var runStore = CreateRunStore(options); 173using var runStore = CreateRunStore(CreateOptions(workspace, applicationName)); 196using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 208using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddSeconds(1))); 247using (var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 261using var nextRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMinutes(1))); 272using var runStore = CreateRunStore(options); 330using (var runStore = CreateRunStore(options)) 407using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None)); 438using var runStore = CreateRunStore( 467using var runStore = CreateRunStore( 474using var nextRunStore = CreateRunStore( 492using var activeRunStore = CreateRunStore(options); 496using var secondRunStore = CreateRunStore(options); 511using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None)); 549using (var firstRunStore = CreateRunStore(options)) 575using var firstRunStore = CreateRunStore(options); 577var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(options)); 591using (var firstRunStore = CreateRunStore(options)) 623using (var firstRunStore = CreateRunStore(options)) 635Assert.Throws<SqliteException>(() => CreateRunStore(options)); 641Assert.Throws<SqliteException>(() => CreateRunStore(options)); 684using (var historicalRunStore = CreateRunStore(options)) 691using var currentRunStore = CreateRunStore(options); 716using (var otherApplicationRunStore = CreateRunStore( 724using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1)))) 729using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(2))); 746using (var incompatibleRunStore = CreateRunStore( 760using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 789using (var futureRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMinutes(-1)))) 806using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 831using (var incompatibleRunStore = CreateRunStore( 847using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 851using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 868using var runStore = CreateRunStore(CreateOptions(workspace)); 880using var runStore = CreateRunStore(CreateOptions(workspace)); 896using (var historicalRunStore = CreateRunStore(options)) 903using var activeRunStore = CreateRunStore(options); 906using var currentRunStore = CreateRunStore(options); 928using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 933using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 959using var runStore = CreateRunStore(options, new FixedTimeProvider(now)); 977using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index))); 984var activeRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index))); 991using var currentRunStore = CreateRunStore( 1025using (var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++)))) 1031using var pinningRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))); 1044using var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))); 1048using var finalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex))); 1070using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 1074using var activeRunStore = CreateRunStore( 1079using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)); 1096using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt))) 1104using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1))); 1112using var additionalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(index))); 1145using (var historicalRunStore = CreateRunStore(options)) 1152using var currentRunStore = CreateRunStore(options); 1195using (var historicalRunStore = CreateRunStore(options)) 1202using var currentRunStore = CreateRunStore(options); 1227using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index))); 1261using (var malformedRunStore = CreateRunStore(options)) 1273using var currentRunStore = CreateRunStore(options); 1305using var currentRunStore = CreateRunStore(options); 1407using (var historicalRunStore = CreateRunStore(options)) 1437using var currentRunStore = CreateRunStore(options); 1515using var currentRunStore = CreateRunStore(options); 1535using var currentRunStore = CreateRunStore(options); 1576using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime))) 1581using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime.AddMilliseconds(1)));