11 instantiations of ToolPackageStoreMock
dotnet.Tests (9)
CommandTests\Tool\Install\ToolInstallGlobalOrToolPathCommandTests.cs (1)
72
var store = new
ToolPackageStoreMock
(
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (1)
51
new
(new DirectoryPath(_pathToPlacePackages), _fileSystem);
CommandTests\Tool\Restore\ToolRestoreCommandTests.cs (1)
63
new
(new DirectoryPath(_pathToPlacePackages), _fileSystem);
CommandTests\Tool\Restore\ToolRestoreCommandWithMultipleNugetConfigTests.cs (1)
50
new
(new DirectoryPath(pathToPlacePackages), _fileSystem);
CommandTests\Tool\Uninstall\ToolUninstallGlobalOrToolPathCommandTests.cs (3)
132
var store = new
ToolPackageStoreMock
(
232
var store = new
ToolPackageStoreMock
(new DirectoryPath(_toolsDirectory), _fileSystem);
263
var store = new
ToolPackageStoreMock
(
CommandTests\Tool\Update\ToolUpdateGlobalOrToolPathCommandTests.cs (1)
47
_store = new
ToolPackageStoreMock
(new DirectoryPath(_toolsDirectory), _fileSystem);
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
64
new
(new DirectoryPath(_pathToPlacePackages), _fileSystem);
Microsoft.DotNet.PackageInstall.Tests (2)
ToolPackageInstallerNugetCacheTests.cs (1)
131
store = new
ToolPackageStoreMock
(root, fileSystem);
ToolPackageUninstallerTests.cs (1)
91
var toolPackageStoreMock = new
ToolPackageStoreMock
(root, fileSystem);
11 references to ToolPackageStoreMock
dotnet.Tests (10)
CommandTests\Tool\Install\ToolInstallGlobalOrToolPathCommandTests.cs (1)
72
var
store = new ToolPackageStoreMock(
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (1)
50
ToolPackageStoreMock
toolPackageStoreMock =
CommandTests\Tool\Restore\ToolRestoreCommandTests.cs (1)
62
ToolPackageStoreMock
toolPackageStoreMock =
CommandTests\Tool\Restore\ToolRestoreCommandWithMultipleNugetConfigTests.cs (2)
49
ToolPackageStoreMock
toolPackageStoreMock =
63
private void SetupFileLayoutAndFeed(string temporaryDirectory,
ToolPackageStoreMock
toolPackageStoreMock)
CommandTests\Tool\Uninstall\ToolUninstallGlobalOrToolPathCommandTests.cs (3)
132
var
store = new ToolPackageStoreMock(
232
var
store = new ToolPackageStoreMock(new DirectoryPath(_toolsDirectory), _fileSystem);
263
var
store = new ToolPackageStoreMock(
CommandTests\Tool\Update\ToolUpdateGlobalOrToolPathCommandTests.cs (1)
27
private readonly
ToolPackageStoreMock
_store;
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
63
ToolPackageStoreMock
toolPackageStoreMock =
Microsoft.DotNet.PackageInstall.Tests (1)
ToolPackageUninstallerTests.cs (1)
91
var
toolPackageStoreMock = new ToolPackageStoreMock(root, fileSystem);