dotnet-installer/test
Mikkel Nylander Bundgaard 80b293d4a6 Correct parsing of 'Format Version' header in sln files
Prior to this change the exception on line 138 could not
be thrown, as far as I can tell. The reason for this
is that`HeaderPrefix` contained a trailing space, and we
had verified that `line` (trimmed) started with
`HeaderPrefix`. Hence `line` must contain something more
than `HeaderPrefix` otherwise the tailing space would
have been removed, so the length of `line` could not be
less than or equal to the length of `HeaderPrefix`.

Added and changed tests to ensure that both exceptions
regarding `FormatVersion` are thrown.

Fixes #5978
2017-05-14 20:53:34 +02:00
..
ArgumentForwardingTests remove comment 2017-03-20 10:32:14 -07:00
ArgumentsReflector Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
binding-redirects.Tests Merge branch 'rel/1.0.0' 2017-02-17 02:00:05 -08:00
crossgen.Tests Version As Attribute in Crossgen tests 2017-03-02 19:21:58 -08:00
dotnet-add-package.Tests Moving as many of our test assets to netcoreapp2.0 as possible. I believe the only ones missing at the test packages, because tools always target 1.0. And the other ones are VSTestDotNetCore and VSTestXUnitDotNetCore, because we can't run tests on 2.0 yet. Or, when I tried it failed. I may came back to try this out later. 2017-03-02 17:41:21 -08:00
dotnet-add-reference.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-back-compat.Tests Add metadata to test specifying required shared framework 2017-04-27 13:52:48 -07:00
dotnet-build.Tests Update templates & engine, rename --skip-restore to --no-restore 2017-04-10 20:00:17 -07:00
dotnet-help.Tests Fix wrong ListDefinition 2017-04-10 22:31:40 -07:00
dotnet-list-reference.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-migrate.Tests Remove migrate tests 2017-05-10 12:48:53 -07:00
dotnet-msbuild.Tests Test fixes for tools deps.json generation 2017-04-27 09:29:16 -07:00
dotnet-new.Tests Merge branch 'master' of https://github.com/dotnet/cli into version-25305-19 2017-05-06 12:17:03 -07:00
dotnet-nuget.UnitTests Remove remaining unnecessary P2P's 2017-03-02 20:05:12 -08:00
dotnet-pack.Tests Update templates & engine, rename --skip-restore to --no-restore 2017-04-10 20:00:17 -07:00
dotnet-publish.Tests Update templates & engine, rename --skip-restore to --no-restore 2017-04-10 20:00:17 -07:00
dotnet-remove-package.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-remove-reference.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-restore.Tests Insert Microsoft.TestPlatform.cli for update3 preview1 (#6420) 2017-05-02 21:30:51 -07:00
dotnet-run.Tests Fix dotnet run double dash passing arguments 2017-04-13 16:56:57 -07:00
dotnet-sln-add.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-sln-list.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-sln-remove.Tests Fixes a few inconsistencies in the display for the dotnet restore -help command. 2017-05-10 13:25:59 -07:00
dotnet-store.Tests Fixing the failing test by using a package that is not part of the asp.net runtime. 2017-05-02 12:37:29 -07:00
dotnet-test.Tests Insert Microsoft.TestPlatform.cli for update3 preview1 (#6420) 2017-05-02 21:30:51 -07:00
dotnet-vstest.Tests Insert Microsoft.TestPlatform.cli for update3 preview1 (#6420) 2017-05-02 21:30:51 -07:00
dotnet.Tests Merge branch 'release/2.0.0' into merge_release_200_into_master 2017-05-09 20:51:32 -07:00
EndToEnd Update test tools that need conflict resolution on 2.0 to target 2.0 2017-04-27 09:30:39 -07:00
Installer Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Microsoft.DotNet.Cli.Sln.Internal.Tests Correct parsing of 'Format Version' header in sln files 2017-05-14 20:53:34 +02:00
Microsoft.DotNet.Cli.Utils.Tests Fix tests that require .NET Core 1.1 2017-04-27 15:48:48 -07:00
Microsoft.DotNet.Configurer.UnitTests Fixing failures in tests when the user has a fallbackfolder setup on this machine already. These failures are again due to the fact that --packages are not populated when the packages are found in the fallback folder. 2017-04-03 22:15:40 -07:00
Microsoft.DotNet.MSBuildSdkResolver.Tests Package MSBuild SDK resolver in VS insertion nupkg 2017-04-27 23:07:19 -07:00
Microsoft.DotNet.Tools.Tests.Utilities Apply code review feedback 2017-04-27 09:30:40 -07:00
msbuild.IntegrationTests Remove remaining unnecessary P2P's 2017-03-02 20:05:12 -08:00
Msbuild.Tests.Utilities Address code review 2017-05-02 13:26:46 -07:00
dir.props Update the CLI to netcoreapp2.0. 2017-01-26 07:28:59 -06:00
Microsoft.DotNet.Cli.Tests.sln Merge branch 'release/2.0.0' into merge-release-2.0 2017-05-05 16:21:15 -07:00