dotnet-installer/test/Microsoft.DotNet.Tools.Tests.ComponentMocks
William Lee 5fa558a2ed
Atomic install tool (#8518)
* Make dotnet install tool atomic

Apply TransactionScope to tool install. It can handle the correct timing
of roll back and commit.

Convert existing ToolPackageObtainer and ShellShimMaker by passing logic
via lambda to an object that has IEnlistmentNotification interface. It
turns out the very clean.

Use .stage as staging place to verify of package content, and shim. It
should roll back when something is wrong. When there is ctrl-c, there
will be garbage in .stage folder but not the root of the package folder.
2018-02-06 13:38:06 -08:00
..
Properties Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
EnvironmentPathInstructionMock.cs Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
Microsoft.DotNet.Tools.Tests.ComponentMocks.csproj Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
MockFeed.cs Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
MockFeedPackage.cs Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
MockFeedType.cs Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
ShellShimMakerMock.cs Atomic install tool (#8518) 2018-02-06 13:38:06 -08:00
ToolPackageObtainerMock.cs Atomic install tool (#8518) 2018-02-06 13:38:06 -08:00