34 references to CreateRepository
Aspire.Dashboard.Tests (34)
Model\SqliteResourceRepositoryTests.cs (34)
24using var repositoryContext = CreateRepository(workspace.Path); 36using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 44using var repositoryContext = CreateRepository(workspace.Path); 67using var repositoryContext = CreateRepository(workspace.Path); 99using var repositoryContext = CreateRepository(workspace.Path); 113using var restartedRepositoryContext = CreateRepository(workspace.Path); 119using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 138using var repositoryContext = CreateRepository(workspace.Path); 158using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 184using var repositoryContext = CreateRepository(workspace.Path); 194using var restartedRepositoryContext = CreateRepository(workspace.Path); 204using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 229using var repositoryContext = CreateRepository(workspace.Path); 233using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 249using var repositoryContext = CreateRepository(workspace.Path, maxConsoleLogCount: 3); 263using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 293using var repositoryContext = CreateRepository(workspace.Path); 297using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 312using var repositoryContext = CreateRepository(workspace.Path); 334using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 448using var repositoryContext = CreateRepository(workspace.Path); 464using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 522using var repositoryContext = CreateRepository(workspace.Path); 526using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 555using var repositoryContext = CreateRepository(workspace.Path); 559using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 570using var repositoryContext = CreateRepository(workspace.Path); 596using (CreateRepository(workspace.Path)) 652using var repositoryContext = CreateRepository(workspace.Path); 686using (CreateRepository(workspace.Path)) 729using (CreateRepository(workspace.Path)) 801using (CreateRepository(workspace.Path)) 889using (CreateRepository(workspace.Path)) 913using (CreateRepository(workspace.Path))