dotnet-installer/test/Microsoft.DotNet.Tools.Tests.ComponentMocks
William Li b0ee5db411
consume bring your own shim(byos) (#9018)
If there are shims packaged by convention in nupkg. Shim Repository will simply copy it to the right location.

The query interface ToolPackageInstance will be in charge of finding the shim folder and filter the right RID. Shim Repository will pick the right file after the folder is located since Shim Repository knows the shim name and it also book keep the files at uninstallation.
During development, due to the wrong adapter level. The mock duplicated too much logic. So, I corrected the abstraction level to lower (only create shim). And replaced the existing mock with a much smaller one without any atomic control and file move, copy logic. At the same time. The chmod, which is a IO action, causes problem during tests. So I added adapter layer to it and put it in Util.
2018-04-10 15:42:50 -07:00
..
Properties Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
AppHostShellShimMakerMock.cs consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
EnvironmentPathInstructionMock.cs tool-path option -- "Session tool" (#8716) 2018-03-06 15:58:05 -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 Change --source to --source-feed and make it additional (#8833) 2018-03-19 22:22:45 -07:00
ProjectRestorerMock.cs Change command order for tools (#8862) 2018-03-21 19:12:32 -07:00
ToolPackageInstallerMock.cs consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
ToolPackageMock.cs consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
ToolPackageStoreMock.cs Ensure tool package store root is a full path. 2018-03-20 16:54:34 -07:00