dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities
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
..
Assertions Make --no-build imply --no-restore for pack command. 2017-11-27 23:53:22 -08:00
Commands Replacing the short form version of implicit msbuild parameters with longform ones. 2018-04-02 22:54:51 -07:00
Extensions Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Mock consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
NetworkUtils Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Properties Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
TempFileSystem Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
BufferedReporter.cs Add verbosity option to install tool command. 2018-01-31 15:19:34 -08:00
DotnetLegacyRuntimeIdentifiers.cs Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
DotnetUnderTest.cs Made dotnet-(vs)test.Tests pass on localized setup 2017-06-12 18:32:31 -07:00
EnvironmentInfo.cs Enable Alpine 3.6 CLI build 2017-12-13 12:10:44 +01:00
LinuxOnlyFactAttribute.cs merge master 2017-03-19 17:09:05 -07:00
MacOsOnlyFactAttribute.cs merge master 2017-03-19 17:09:05 -07:00
Microsoft.DotNet.Tools.Tests.Utilities.csproj Move some projects to netstandard2.0 (#8692) 2018-02-27 13:59:59 -08:00
NonWindowsOnlyFactAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
NonWindowsOnlyTheoryAttribute.cs add EOLs in the end of files 2017-02-16 14:22:02 -08:00
NuGetConfig.cs Global tools package obtain (#8035) 2017-11-21 20:10:06 -08:00
NuGetFrameworks.cs Update tool tests to target netcoreapp2.1 2017-08-18 18:07:14 -07:00
PeReaderUtils.cs typo 2017-08-14 21:26:49 -07:00
ProjectUtils.cs Address PR Feedback 2016-02-12 16:57:32 -08:00
RepoDirectoriesProvider.cs Apphost shim (#8893) 2018-04-02 12:37:25 -07:00
RequiresSpecificFrameworkFactAttribute.cs Fix tests on netcoreapp1.1 only platforms 2017-02-22 21:34:21 -06:00
RequiresSpecificFrameworkTheoryAttribute.cs Apply code review feedback 2017-04-27 09:30:40 -07:00
TestBase.cs Use a shorter path for test working directories, get rid of Stage 0 project.json based CLI 2017-08-29 17:59:34 -07:00
UnixOnlyFactAttribute.cs Log Windows product type and installation type, and Linux libc version (#8688) 2018-02-27 18:55:35 -08:00
WindowsOnlyFactAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
WindowsOnlyTheoryAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00