Model\DashboardDataSourceTests.cs (60)
35using var runStore = CreateRunStore(options);
50using var runStore = CreateRunStore(options);
99using var runStore = CreateRunStore(CreateOptions(workspace, "My Dashboard", persistenceMode));
115using var runStore = CreateRunStore(CreateOptions(workspace), timeProvider);
127using var firstRunStore = CreateRunStore(options, timeProvider);
129var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(options, timeProvider));
139using var runStore = CreateRunStore(options);
170using (var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)))
184using var nextRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMinutes(1)));
195using var runStore = CreateRunStore(options);
253using (var runStore = CreateRunStore(options))
330using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None));
348using var activeRunStore = CreateRunStore(options);
352using var secondRunStore = CreateRunStore(options);
367using var runStore = CreateRunStore(CreateOptions(workspace, persistenceMode: DashboardPersistenceMode.None));
405using (var firstRunStore = CreateRunStore(options))
431using var firstRunStore = CreateRunStore(options);
433var exception = Assert.Throws<InvalidOperationException>(() => CreateRunStore(options));
447using (var firstRunStore = CreateRunStore(options))
479using (var firstRunStore = CreateRunStore(options))
491Assert.Throws<SqliteException>(() => CreateRunStore(options));
497Assert.Throws<SqliteException>(() => CreateRunStore(options));
540using (var historicalRunStore = CreateRunStore(options))
547using var currentRunStore = CreateRunStore(options);
572using (var otherApplicationRunStore = CreateRunStore(
580using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1))))
585using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(2)));
597using var runStore = CreateRunStore(CreateOptions(workspace));
609using var runStore = CreateRunStore(CreateOptions(workspace));
625using (var historicalRunStore = CreateRunStore(options))
632using var activeRunStore = CreateRunStore(options);
635using var currentRunStore = CreateRunStore(options);
663using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index)));
668using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt));
688using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index)));
695var activeRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(index)));
702using var currentRunStore = CreateRunStore(
735using (var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++))))
741using var pinningRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++)));
754using var runStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex++)));
758using var finalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(runIndex)));
780using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index)));
784using var activeRunStore = CreateRunStore(
789using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt));
806using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt)))
814using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddMilliseconds(1)));
822using var additionalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(index)));
855using (var historicalRunStore = CreateRunStore(options))
862using var currentRunStore = CreateRunStore(options);
905using (var historicalRunStore = CreateRunStore(options))
912using var currentRunStore = CreateRunStore(options);
937using var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(startedAt.AddDays(-index)));
971using (var malformedRunStore = CreateRunStore(options))
983using var currentRunStore = CreateRunStore(options);
1015using var currentRunStore = CreateRunStore(options);
1117using (var historicalRunStore = CreateRunStore(options))
1147using var currentRunStore = CreateRunStore(options);
1225using var currentRunStore = CreateRunStore(options);
1248using (var historicalRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime)))
1253using var currentRunStore = CreateRunStore(options, new FixedTimeProvider(historicalRunTime.AddMilliseconds(1)));