Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Doug Bunting 2d8f6770aa Update test projects to latest stable xUnit.net packages and `nuget.exe`
- #11 (4 of 4)
- newer version of `xunit.abstractions` exists (2.0.1) but it
  "is not compatible with 'xunit.extensibility.core 2.1.0 constraint: xunit.abstractions (= 2.0.0)'"
- add xunit.runner.msbuild package to central packages.config
 - need this package to execute tests after upgrade to xUnit.net 2.1.0
 - need recent Beta to pick up PR xunit/xunit#807; MSBuild crashes otherwise
 - for this part, do not make *.csproj changes that NuGet attempts; update our `WebStack.xunit.targets` instead
- use latest `xunit.exe` because Beta xunit.runner.msbuild package needs at least 2.12
 - old 2.7 minimum version, 2.8 that is at https://nuget.org/nuget.exe, and 2.12 are also all old

Update TestCommon to match latest xUnit.net APIs
- continue to expose required xUnit.net classes in `Microsoft.TestCommon` namespace
 - adjust to `sealed` classes, namespace moves, et cetera
- do not use removed `Assert.ThrowsDelegate` and `Assert.ThrowsDelegateWithReturn` types
 - can't use these types with underlying `Assert` using `Action` and `Func<object>`
- remove `StringAssertions` since those assertions are now in xUnit.net

nits
- remove `Console.WriteLine()` from a test
- use new `Assert.Matches()` in tests checking exception messages that contain a Moq proxy type name
2016-08-29 09:41:41 -07:00
Doug Bunting 1a987f82d6 Change source code and repo license info to .NET Foundation
- #2
- a few manual changes in `License.txt`, `Settings.StyleCop`, `CommonAssemblyInfo.*`, and
  `tools\src\Microsoft.Web.FxCop\Properties\AssemblyInfo.cs`
2016-08-08 22:03:40 -07:00
bradwilson d1ad0539bd Clean up xUnit.net usage, standardizing around Microsoft.TestCommon 2012-08-22 15:10:06 -07:00