dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities
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
..
Assertions Make --no-build imply --no-restore for pack command. 2017-11-27 23:53:22 -08:00
Commands Add verbosity option to install tool command. 2018-01-31 15:19:34 -08:00
Extensions Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Mock Atomic install tool (#8518) 2018-02-06 13:38:06 -08: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 More fixes that were missing from the merge. 2017-12-07 13:23:27 -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 Rename output folder from out to bin 2017-09-01 16:43:02 -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
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