1 write to _manifestFilePath
dotnet.Tests (1)
CommandTests\Tool\Uninstall\ToolUninstallLocalCommandTests.cs (1)
39_manifestFilePath = Path.Combine(_temporaryDirectory, "dotnet-tools.json");
10 references to _manifestFilePath
dotnet.Tests (10)
CommandTests\Tool\Uninstall\ToolUninstallLocalCommandTests.cs (10)
40_fileSystem.File.WriteAllText(Path.Combine(_temporaryDirectory, _manifestFilePath), _jsonContent); 57_fileSystem.File.ReadAllText(_manifestFilePath).Should().Be(_entryRemovedJsonContent); 63_fileSystem.File.Delete(_manifestFilePath); 78_fileSystem.File.Delete(_manifestFilePath); 79_fileSystem.File.WriteAllText(_manifestFilePath, _jsonContentContainNoPackageId); 92_fileSystem.File.Delete(_manifestFilePath); 124_fileSystem.File.ReadAllText(_manifestFilePath).Should().Be(_entryRemovedJsonContent); 136_manifestFilePath).Green()); 147_fileSystem.File.ReadAllText(_manifestFilePath).Should().Be(_entryRemovedJsonContent, "Change the closest one"); 174_reporter.Lines[0].Should().NotContain(_manifestFilePath);