44 references to CreateTelemetryRepositoryAsync
Aspire.Dashboard.Tests (44)
Model\DashboardDataSourceTests.cs (1)
1627
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)
1720
using (var writer = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
1740
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
1821
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
1901
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
1905
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
1958
using (var reopened = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath))
1978
using var readOnly = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(context.Database.DatabasePath, readOnly: true);
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (3)
481
using (var repositoryContext = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options))
489
using var reopenedContext = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(databasePath, dashboardOptions: options);
1049
var context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(
TelemetryRepositoryTests\TelemetryRepositoryTestBase.cs (1)
46
context = await SqliteRepositoryTestHelpers.
CreateTelemetryRepositoryAsync
(