34 references to CreateRepository
Aspire.Dashboard.Tests (34)
Model\SqliteResourceRepositoryTests.cs (34)
23using var repositoryContext = CreateRepository(workspace.Path); 35using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 43using var repositoryContext = CreateRepository(workspace.Path); 66using var repositoryContext = CreateRepository(workspace.Path); 98using var repositoryContext = CreateRepository(workspace.Path); 112using var restartedRepositoryContext = CreateRepository(workspace.Path); 118using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 137using var repositoryContext = CreateRepository(workspace.Path); 157using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 183using var repositoryContext = CreateRepository(workspace.Path); 193using var restartedRepositoryContext = CreateRepository(workspace.Path); 203using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 228using var repositoryContext = CreateRepository(workspace.Path); 232using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 248using var repositoryContext = CreateRepository(workspace.Path, maxConsoleLogCount: 3); 262using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 292using var repositoryContext = CreateRepository(workspace.Path); 296using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 311using var repositoryContext = CreateRepository(workspace.Path); 333using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 447using var repositoryContext = CreateRepository(workspace.Path); 463using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 521using var repositoryContext = CreateRepository(workspace.Path); 525using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 554using var repositoryContext = CreateRepository(workspace.Path); 558using var historicalContext = CreateRepository(workspace.Path, readOnly: true); 569using var repositoryContext = CreateRepository(workspace.Path); 595using (CreateRepository(workspace.Path)) 651using var repositoryContext = CreateRepository(workspace.Path); 685using (CreateRepository(workspace.Path)) 728using (CreateRepository(workspace.Path)) 800using (CreateRepository(workspace.Path)) 866using (CreateRepository(workspace.Path)) 890using (CreateRepository(workspace.Path))