dotnet-installer/test/Microsoft.DotNet.ToolPackage.Tests
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
..
SampleGlobalTool Add xml setting version warning (#8860) 2018-03-26 12:50:09 -07:00
SampleGlobalToolWithShim consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
DotnetToolSettingsGolden.xml Add xml setting version warning (#8860) 2018-03-26 12:50:09 -07:00
DotnetToolSettingsMajorHigherVersion.xml Add xml setting version warning (#8860) 2018-03-26 12:50:09 -07:00
DotnetToolSettingsMalformed.xml Add install tool command (#8132) 2017-12-04 14:13:24 -08:00
DotnetToolSettingsMissing.xml Add install tool command (#8132) 2017-12-04 14:13:24 -08:00
DotnetToolSettingsMissingVersion.xml Add xml setting version warning (#8860) 2018-03-26 12:50:09 -07:00
LockFileMatcherTests.cs consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
Microsoft.DotNet.ToolPackage.Tests.csproj consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
ToolConfigurationDeserializerTests.cs Add xml setting version warning (#8860) 2018-03-26 12:50:09 -07:00
ToolPackageInstallerTests.cs Change command order for tools (#8862) 2018-03-21 19:12:32 -07:00
ToolPackageInstanceTests.cs consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00