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
);