10 instantiations of ShellShimRepository
dotnet (1)
ShellShim\ShellShimRepositoryFactory.cs (1)
15
return new
ShellShimRepository
(nonGlobalLocation ?? GetShimLocation(), appHostSourceDirectory);
dotnet.Tests (9)
CommandTests\Tool\Install\ToolInstallGlobalOrToolPathCommandTests.cs (2)
64
(_, nonGlobalLocation) => new
ShellShimRepository
(
653
createShellShimRepository: (_, nonGlobalLocation) => new
ShellShimRepository
(
CommandTests\Tool\Uninstall\ToolUninstallGlobalOrToolPathCommandTests.cs (3)
142
(_, _) => new
ShellShimRepository
(
247
(_, _) => new
ShellShimRepository
(
273
(_, _) => new
ShellShimRepository
(
CommandTests\Tool\Update\ToolUpdateGlobalOrToolPathCommandTests.cs (1)
476
return new
ShellShimRepository
(
ShellShimTests\ShellShimRepositoryTests.cs (3)
70
return new
ShellShimRepository
(new DirectoryPath(pathToShim), stage2AppHostTemplateDirectory);
102
var shellShimRepository = new
ShellShimRepository
(new DirectoryPath(Path.Combine(testFolder, extraNonExistDirectory)), GetAppHostTemplateFromStage2());
522
return new
ShellShimRepository
(
10 references to ShellShimRepository
dotnet.Tests (10)
CommandTests\Tool\Update\ToolUpdateGlobalOrToolPathCommandTests.cs (1)
474
private
ShellShimRepository
GetMockedShellShimRepository()
ShellShimTests\ShellShimRepositoryTests.cs (9)
32
ShellShimRepository
shellShimRepository = ConfigBasicTestDependencyShellShimRepository(pathToShim);
55
ShellShimRepository
shellShimRepository = ConfigBasicTestDependencyShellShimRepository(relativePathToShim);
66
private static
ShellShimRepository
ConfigBasicTestDependencyShellShimRepository(string pathToShim)
78
var
shellShimRepository = ConfigBasicTestDependencyShellShimRepository(pathToShim);
102
var
shellShimRepository = new ShellShimRepository(new DirectoryPath(Path.Combine(testFolder, extraNonExistDirectory)), GetAppHostTemplateFromStage2());
119
var
shellShimRepository = ConfigBasicTestDependencyShellShimRepository(pathToShim);
374
ShellShimRepository
shellShimRepository = GetShellShimRepositoryWithMockMaker(pathToShim);
402
ShellShimRepository
shellShimRepository = GetShellShimRepositoryWithMockMaker(pathToShim);
520
private
ShellShimRepository
GetShellShimRepositoryWithMockMaker(string pathToShim)