1 write to _temporaryDirectory
dotnet.Tests (1)
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (1)
48
_temporaryDirectory
= _fileSystem.Directory.CreateTemporaryDirectory().DirectoryPath;
19 references to _temporaryDirectory
dotnet.Tests (19)
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (19)
49
_pathToPlacePackages = Path.Combine(
_temporaryDirectory
, "pathToPlacePackage");
78
new DirectoryPath(Path.Combine(
_temporaryDirectory
, "cache")),
81
_manifestFilePath = Path.Combine(
_temporaryDirectory
, "dotnet-tools.json");
82
_fileSystem.File.WriteAllText(Path.Combine(
_temporaryDirectory
, _manifestFilePath), _jsonContent);
83
_toolManifestFinder = new ToolManifestFinder(new DirectoryPath(
_temporaryDirectory
), _fileSystem, new FakeDangerousFileDetector());
91
new DirectoryPath(Path.Combine(
_temporaryDirectory
, "cache")),
105
_fileSystem.File.WriteAllText(Path.Combine(
_temporaryDirectory
, "nuget.config"), _nugetConfigWithInvalidSources);
117
_fileSystem.File.Delete(Path.Combine(
_temporaryDirectory
, "nuget.config"));
177
var explicitManifestFilePath = Path.Combine(
_temporaryDirectory
, "subdirectory", "dotnet-tools.json");
179
_fileSystem.Directory.CreateDirectory(Path.Combine(
_temporaryDirectory
, "subdirectory"));
323
var configDirectory = Path.Combine(
_temporaryDirectory
, ".config");
431
_fileSystem.Directory.CreateDirectory(Path.Combine(
_temporaryDirectory
, ".git"));
433
var currentFolder = Path.Combine(
_temporaryDirectory
, "subdirectory1", "subdirectory2");
450
_fileSystem.File.Exists(Path.Combine(
_temporaryDirectory
, "dotnet-tools.json")).Should().BeTrue();
472
_fileSystem.File.Exists(Path.Combine(
_temporaryDirectory
, "dotnet-tools.json")).Should().BeTrue();
478
_fileSystem.Directory.CreateDirectory(Path.Combine(
_temporaryDirectory
, "test1.sln"));
480
var currentFolder = Path.Combine(
_temporaryDirectory
, "subdirectory1", "subdirectory2");
497
_fileSystem.File.Exists(Path.Combine(
_temporaryDirectory
, "dotnet-tools.json")).Should().BeTrue();
519
_fileSystem.File.Exists(Path.Combine(
_temporaryDirectory
, "dotnet-tools.json")).Should().BeTrue();