44 references to CreateTelemetryRepositoryAsync
Aspire.Dashboard.Tests (44)
Model\DashboardDataSourceTests.cs (1)
1671
var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(
Model\TelemetryExportServiceTests.cs (1)
1348
var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(
TelemetryRepositoryTests\HistogramTests.cs (31)
46
using (var writer = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
61
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
106
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
113
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
118
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
255
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
265
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
273
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
340
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
348
using var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath);
419
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
432
using var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
656
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options))
665
using var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options);
710
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options))
727
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options))
741
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
782
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
800
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
813
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
1037
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1044
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1052
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
1237
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1248
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1275
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1288
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
1396
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1405
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, readOnly: true);
1524
using (var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath))
1532
using var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath);
TelemetryRepositoryTests\MetricsTests.cs (7)
2114
using (var writer = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
2134
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
2215
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
2295
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
2299
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
2352
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
2372
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (3)
510
using (var repositoryContext = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options))
518
using var reopenedContext = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options);
1078
var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(
TelemetryRepositoryTests\TelemetryRepositoryTestBase.cs (1)
46
context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(