dotnet-installer/test/dotnet.Tests
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
..
InstallToolCommandTests Atomic install tool (#8518) 2018-02-06 13:38:06 -08:00
ParserTests Add verbosity option to install tool command. 2018-01-31 15:19:34 -08:00
BundledTargetFramworkTests.cs Global tools package obtain (#8035) 2017-11-21 20:10:06 -08:00
CommandLineApplicationTests.cs Make dotnet.Tests pass on localized setup 2017-06-12 17:31:40 -07:00
dotnet.Tests.csproj Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
FakeRecordEventNameTelemetry.cs Add telemetry data points for .NET Core 2.0 2017-07-27 09:55:40 -07:00
GivenThatDotNetRunsCommands.cs Make dotnet.Tests pass on localized setup 2017-06-12 17:31:40 -07:00
GivenThatICareAboutVBApps.cs Update test code to use netcoreapp2.1 2017-08-18 15:36:01 -07:00
GivenThatIWantToManageMulticoreJIT.cs Remove TAM (#5670) 2017-02-15 15:35:03 -08:00
GivenThatTheUserIsRunningDotNetForTheFirstTime.cs Prevent the ASP.NET certificate generation logic from running on the installers 2018-01-10 21:54:05 -08:00
GivenThatTheUserRequestsHelp.cs Fix tests for cache => store rename. 2017-04-07 15:51:37 -05:00
MSBuild.exe shorten random package name, address pr feedback 2016-12-20 13:53:21 -08:00
MSBuild.exe.config shorten random package name, address pr feedback 2016-12-20 13:53:21 -08:00
PackagedCommandTests.cs Update tool tests to target netcoreapp2.1 2017-08-18 18:07:14 -07:00
TelemetryCommandTest.cs Fix merge 2 2017-10-31 13:37:28 -07:00
TelemetryCommonPropertiesTests.cs Add telemetry data points for .NET Core 2.0 2017-07-27 09:55:40 -07:00
TestCommandExtensions.cs Remove use of Microsoft.Extensions.PlatformAbstractions 2016-06-08 16:28:52 -07:00
VersionTest.cs Update expected SDK version test to work with multiple stages 2017-08-24 15:51:38 -07:00