Commit Graph
485 Commits
Author SHA1 Message Date
Daniel Harvey 252cdc5e95 Bulk updates of tests for AssertExtensions (dotnet/corefx#18491)
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.

Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
Stephen Toub 6a3b7f54a0 Merge pull request dotnet/corefx#17653 from steveharter/FixWebSocketDispose
Avoid NullReferenceException in WinHttpWebSocketState.Dispose

Commit migrated from https://github.com/dotnet/corefx/commit/cac3d484fa3c39479f27bea02105457fa72acf8c
2017-03-29 14:04:34 -04:00
Steve Harter 56fc34652d Avoid NullReferenceException in WinHttpWebSocketState.Dispose
Commit migrated from https://github.com/dotnet/corefx/commit/d7a4b2fe6f7c0609c540392e13a0eb44ba31cebb
2017-03-29 10:34:18 -05:00
Caesar Chen ad22b46094 Change the behavior of ReceiveAsync cancellation to throw OperationCanceledException (dotnet/corefx#17444)
* fix the behavior of ReceiveAsync cancellation throws WebSocketException


Commit migrated from https://github.com/dotnet/corefx/commit/d6b11250b5113664dd3701c25bdf9addfacae9cc
2017-03-25 10:54:45 -04:00
David Shulman 5f80e91b11 Skip more NetEventSource logging tests on .NET Framework
Similar to PR dotnet/corefx#17348.

The 'NetEventSource' logging only works on .NET Core libraries. So, we
need to skip these tests when running on full .NET Framework.


Commit migrated from https://github.com/dotnet/corefx/commit/f3ef848efda44caa99b2586591e6bd90856b5a57
2017-03-21 14:00:19 -07:00
Stephen Toub 711dba3491 Delete AsyncEventArgsNetworkStream from System.Net.WebSockets.Client
The managed websockets handler was using this custom NetworkStream-derived stream as an optimization to use SocketAsyncEventArgs for async reads/writes.  Now that this optimization is built directly into NetworkStream, the custom type is no longer needed.


Commit migrated from https://github.com/dotnet/corefx/commit/430d7bdde46e7915a39d7a93383f1abc3466a809
2017-03-14 09:49:28 -04:00
Stephen Toub 0ae9a42676 Use vectors in managed ClientWebSocket for mask application
The web socket protocol uses a 4-byte mask sent from client to server and xor'd with the payload data.  In the managed web socket implementation, that mask is currently applied byte-by-byte.  This commit changes it to be done using SIMD.

Micro-benchmarks on the ApplyMask function itself show a regression for payload lengths under 4 bytes, but above that it's a clear win:
```
1: 0.44x
3: 0.64x
4: 1.15x
7: 1.16x
31: 1.73x
32: 6.06x
63: 3.37x
64: 10.40x
1024: 20.36x
```
This doesn't have a measurable affect on small payloads in the overall context of sending/receiving data, but the larger the payload, the more it applies.  Locally I measured upwards of a 10% improvement for payloads several-K in size.


Commit migrated from https://github.com/dotnet/corefx/commit/c73b5ebc1eb92ae5b674fbfc3e871bfc61d2b4aa
2017-03-13 12:41:44 -04:00
Dan Moseley 9d47195e42 Enable Pinvoke checker and baseline violations (dotnet/corefx#16704)
* Fix UWP Pinvoke checker condition

* analyzer baselines

* Remove redundant local define

* Remove redundant CA lines

* Special case Registry

* Fix BlockReflectionAttribute

* Replace NETNATIVE with uap define

* baselines

* Disable Pinvoke scan on specific projects

* Disable BlockReflectionAttribute on ilproj

* Revive 2 baselines

* Disable UWP validation on SQlClient

* Convert some defines to `uwp`

* Fix S.N.Primitives baseline

* Remove dead baselines

* Clean up NET_NATIVE defines

* Remove FEATURE_CORECLR except from shared sources

* Change Threading.Thread defines to just uapaot

* Fix comment

* Fix comment 2

* Change serialization uap defines to uapaot

* Rename EnableWinRT to UWPCompatible

* Fix UAP build for Console

* Fix uap condition in XML csproj

* Fix condition in XmlSerializer project

* Replace netcore50

* Remove dead #if

* Redundant console condition

* Redundant console condition2

* Trim baseline

* Revert Console baseline to pre UAP

* Fix MemoryMappedFiles uap build

* Fix S.Linq.Expressions build for UAP by temporarily disabling it

* Fix S.N.Sockets build for uap

* No plans to put SQLClient in UWP

* Fix RuntimeInformation build

* Fix MemoryMappedFiles build for Unix

* Add UWPCompatible to all netstandard versions

* Add EnablePinvokeAnalyzer to disable Pinvoke checking entirely for some reason

* Remove dead System.Xml.XmlSerializer.Tests.settings.targets

* Fix interop services build

* Remove last uap/uapaot define in Xml tests

* PInvoke check doc

* Fix PInvoke casing

* PInvoke file is case sensitive

* Remove unnecessary references to uapaot from projects that don't have uapaot configs

* Remove unnecessary uapaot from S.R.I.RI

* Replace UWPCompatible for TargetGroup in csproj conditions

* Reverse FileSystem edit as not ready to build for UWP


Commit migrated from https://github.com/dotnet/corefx/commit/b1865ea0847a7a86baefe8378b772ecf0b785681
2017-03-09 21:08:39 -08:00
Stephen Toub 3db64b066d Fix TODO in ClientWebSocketOptions
Commit migrated from https://github.com/dotnet/corefx/commit/8cfc02d4bb8912b7b1f03dceed258b9bf8005714
2017-03-05 14:39:42 -05:00
Steve Harter e9e26828f9 Improve CI: disable WebSocket test ReceiveAsync_Cancel_Success (dotnet/corefx#16625)
Commit migrated from https://github.com/dotnet/corefx/commit/de91c68c58c6575a6f4d64d3b5901545e757a98d
2017-03-02 17:01:43 -06:00
Lakshmi Priya Sekar 781a006568 Merge pull request dotnet/corefx#16549 from Priya91/nettest
Update test issues to match current issue database.

Commit migrated from https://github.com/dotnet/corefx/commit/107efe7f5c980572617bf4012b52877c82831681
2017-03-01 17:08:28 -08:00
Jan Kotas 7829b42fd6 Convert some uses of Marshal.SizeOf to sizeof (dotnet/corefx#16556)
sizeof has many times better performance characteristics

Commit migrated from https://github.com/dotnet/corefx/commit/52bab6669b5cdf90161fc5d1b71c3d9a0f3854eb
2017-03-01 13:03:22 -08:00
Lakshmi Priya Sekar acf1e5d259 Update test issues to match current issue database.
Commit migrated from https://github.com/dotnet/corefx/commit/8071a99c5a38ed5f0e3aca6ba41a86688e9141b7
2017-02-28 16:09:49 -08:00
Wes Haggard bef5635826 Set EnableWinRT property in configuration system. (dotnet/corefx#16423)
EnableWinRT is set based on netcore50/uap target frameworks.

Removed mscorlib.WinRt-Facade project which is no longer needed.

Commit migrated from https://github.com/dotnet/corefx/commit/db6e8c950c3c7c35034cf8fd6346cdf0c198f238
2017-02-23 16:37:58 -08:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Justin Van Patten 90e7825333 Avoid unnecessary branches when fixing non-null/empty arrays (dotnet/corefx#15597)
* Avoid unnecessary branches when fixing non-null/empty arrays

* Address PR Feedback


Commit migrated from https://github.com/dotnet/corefx/commit/bfac45af5dddcbd70b6935fcf92b4b8755f3cd1c
2017-02-04 16:29:55 -05:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Tarek Mahmoud Sayed 7395af32ad Enable compiling the test projects against the configuration (dotnet/corefx#15743)
* Enable compiling the test projects against the configuration

The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.

* Fix openssl test project on Linux distros

* Update the project configurations

* Update VS solution files

* update solution files


Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
2017-02-02 17:54:40 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Eric St. John c61e84f6ec Clean up desktop Configurations
Remove all cruft from projects related to building desktop configs which
now build in standard repo.


Commit migrated from https://github.com/dotnet/corefx/commit/93b36cc273391a40552613800b6fdaa8685179ae
2017-01-31 19:25:30 -08:00
Eric St. John a39501e3ae Remove desktop config when in NETStandard.Library
Exceptions for types missing from netstandard facade:
- System.Data.Common - DbColumn, DbDataReaderExtensions, IDbColumnSchemaGenerator
- System.Diagnostics.StackTrace - StackFrameExtensions
- System.Numerics.Vectors - Vector, Vector<T>
- System.Runtime.Serialization.Primitives - ISerializationSurrogateProvider
- System.Runtime.Serialization.Xml - DataContractSerializerExtensions
- System.Security.Cryptography.Cng - AesCng, TripleDESCng <link>
- System.Threading.Overlapped - PreAllocatedOverlapped, ThreadPoolBoundHandle
- System.Xml.XPath.XDocument - XDocumentExtensions


Commit migrated from https://github.com/dotnet/corefx/commit/83b3046e1f63c752ee0d69e8b847d633724d90b1
2017-01-31 18:32:00 -08:00
Eric St. John 95a7c07d4b Fix configurations for UAP
These changes enable TargetGroup=UAP to build completely.


Commit migrated from https://github.com/dotnet/corefx/commit/17fdb439c50f4aa66a99f9b5549e9db923331e40
2017-01-31 06:27:49 -08:00
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
dstuckims fa7f8ad0ec ClientWebSocket(Managed): Allow user code to control the HTTP Host header (dotnet/corefx#15480)
* ClientWebSocket(Managed): Allow user code to control the HTTP Host header by calling clientWebSocket.Options.SetRequestHeader("Host", "www.example.com:443");

* Code Review Updates:

- Use " instead of &quot; in XML doc comments.
- Use ternary operator.

* Fixing a copy/paste typo in last commit.

* More Code Review feedback updates and add a Unit Test.

* Update the unit test to use physical address like 'corefx-net.cloudapp.net' and logical address like 'subdomain.corefx-net.cloudapp.net' so that SSL Certificate validation works in WinHttp.

* Undo the change which updated WebSocketHandle.Managed to use the host header value for SSL certificate validation to make it consistent with the WinHttp WebSocket behavior.


Commit migrated from https://github.com/dotnet/corefx/commit/17473cbb1a33c1851bbfdd5083ae0d25bd7e553f
2017-01-27 00:23:20 -05:00
Jose Perez Rodriguez f9d4e6795d Removing netstandard configurations for things that are bellow netstandard (dotnet/corefx#15373)
Removing netstandard configurations for things that are bellow netstandard

Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -08:00
Lakshmi Priya Sekar fc1efe31a0 Merge pull request dotnet/corefx#15102 from Priya91/websocket
Provide websocket implementation for Managed httplistener.

Commit migrated from https://github.com/dotnet/corefx/commit/411bbe8762361df7c77c7828b12e4b92cd87118c
2017-01-20 11:49:16 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Eric StJohn 279d64fb9e Merge pull request dotnet/corefx#15312 from ericstj/packageCleanup3
Remove packages from NETStandard2.0

Commit migrated from https://github.com/dotnet/corefx/commit/06ddbb809ef1a1383245d63d6c667e43aadd786e
2017-01-19 13:53:14 -08:00
Eric St. John 2f1fa69d81 Add assemblies to NETCore.App if in netstandard
For every assembly that is forwarded to by netstandard.dll, ensure it is
a reference as part of NETCore.App


Commit migrated from https://github.com/dotnet/corefx/commit/f8e8cda1322b3252e519b323fa5cadc8e470ee5a
2017-01-18 21:10:21 -08:00
Eric St. John 774105be10 Remove packages from NETStandard2.0
Related to https://github.com/dotnet/corefx/commit/dotnet/corefx@0797813bfe3a9e6d04d4bfaa865b477bb26f8ce2

This removes packages where the types have been moved into
netstandard.dll in netstandard2.0.

These types are supported as follows:
1. In a netstandard2.0+ project via NETStandard.Library package's
    netstandard.dll
2. In a netstandard1.x project via contract assembly packages which
    ship from servicing branches.
3. In a framework specific project via the framework's targeting pack
    or framework package.


Commit migrated from https://github.com/dotnet/corefx/commit/99009fb3bc737af9d455ea0920b22347f69a78ff
2017-01-18 21:01:34 -08:00
Lakshmi Priya Sekar aa9b6b929a Move ThrowIfInvalidState method to WebSocketValidate.
Commit migrated from https://github.com/dotnet/corefx/commit/423758f46e8622132933e022416c3871e3f3a454
2017-01-17 15:33:03 -08:00
Lakshmi Priya Sekar c3d5a225dc Duplicate internal member to avoid build break.
Commit migrated from https://github.com/dotnet/corefx/commit/ad65f71f99fcd981aa77cf034d36f7007bd1f136
2017-01-17 15:33:03 -08:00
Lakshmi Priya Sekar c6098f194a Add test for websocket.
Commit migrated from https://github.com/dotnet/corefx/commit/11f61575101d1f76a709bd43b50474575604c425
2017-01-17 15:33:03 -08:00
Lakshmi Priya Sekar 0d7f4fa0da Move ManagedWebSocket to Common.
Commit migrated from https://github.com/dotnet/corefx/commit/2a2a85cda20300df8bfd31d442d6f3b37028d310
2017-01-17 15:33:03 -08:00
Lakshmi Priya Sekar 7eed6cc2e5 Add websocket connections on Unix HttpListener.
Commit migrated from https://github.com/dotnet/corefx/commit/56d01b0e047f06d2f2a785f931fa9556b4a73a09
2017-01-17 15:33:03 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Jose Perez Rodriguez 24a5aef91d Merge master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/a9dd06b73bdd71038217bb263decf2b7285fb8db
2017-01-12 10:09:09 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Alex Perovich c3087a2ed5 Manual changes for ns2.0 rename
Commit migrated from https://github.com/dotnet/corefx/commit/7bba15c1d2518d3f0bb85c40ed87322edfdf87eb
2017-01-10 16:20:29 -08:00
Jose Perez Rodriguez c65aa91391 [dev/eng] Sorting and trimming Reference items in csprojs (dotnet/corefx#15035)
Sorting and trimming Reference items in csprojs


Commit migrated from https://github.com/dotnet/corefx/commit/d1a6358e7a6b1bc04223885c860701209d52a7e8
2017-01-10 13:24:35 -08:00
Jose Perez Rodriguez f2afbc3fa7 Build working on non-Windows after merging master
Commit migrated from https://github.com/dotnet/corefx/commit/609eedb2925a2401d8f80b637e12b1490ab973ef
2017-01-09 09:40:22 -08:00
Justin Van Patten 82a73c575a Append directly to the request headers StringBuilder
Avoid intermediate allocations associated with string.Format and
string.Join when building up the request headers buffer by appending
directly to the StringBuilder in WinHttpWebSocket.


Commit migrated from https://github.com/dotnet/corefx/commit/c1ee50f7f03833e782e0d7f30f8d89ffe4e709fa
2017-01-06 13:15:29 -08:00
Jose Perez Rodriguez 846d8ab24b Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/44b68e694948065c1b61457cec125d3d64c1fa22
2017-01-05 14:03:56 -08:00
Eric Mellino dd3d24027d Add Configurations.props files for test projects, include tests in build.proj (dotnet/corefx#14663)
* [WIP]Created src\tests.proj which is mostly building all tests

* Convert test project .builds to Configuration.props

* Fix test paths in targetingpack.props, move test-runtime.

* Move test-runtime under external.
* Rename RuntimeDir->RuntimePath in targetingpacks.props and
  Xunit.Runtime.depproj.
* Remove test-runtime project.json from the SupplementalTestData list in
  dir.targets.

* Remove XUnit.Runtime.depproj from tests.proj

* Convert test .builds files to Configuration.props.

* Revert "Convert test project .builds to Configuration.props"

This reverts commit dotnet/corefx@1efc4d9a02.

* Fix compilation error in System.Collections.Concurrent.Tests

* Fix condition in System.Collections ref project

* Fix two more Collections test project issues

* Add Configuration.props for System.Collections ref

* Fix TargetGroup conditions in System.Collections.Tests.csproj.

* Fix compilation problems with NameResoltion.Pal.Tests.

* Fix compilation errors in SqlClient Stress tests

* Fix IO.Compression.Performance tests compilation

* Fix compilation and configurations of System.Net.Http.Unit.Tests.csproj.

* Fix compilation issues in System.Private.Xml.Linq tests

* Disable XsltScenarios.Tests project, like it was before.

* Fix missing DefineConstants for System.Linq ref project.

* Fix compilation of System.Net.Primitives.Pal.Tests.csproj

* Fix compilation of System.Net.Primitives.UnitTests.Tests.csproj

* Fix compilation of System.Security.Cryptography.Cng.Tests.csproj.

* Fix compilation of System.Net.Primitives reference project

* Fix compilation of System.Net.Security ref project

* Fix compilation of SYstem.Net.Security.Tests.csproj

* Fix configuration of X509Certificates ref project

* Fix compilation errors in System.Net.Http.Unit.Tests.csproj

* Fix Common.Tests.csproj

* Fix System.Diagnostics.Debug.Tests.csproj

* Fix Microsoft.Win32.Registry.Tests.csproj

* Add runtime.native.System.Data.SqlClient.sni to external project

* Fix System.Diagnostics.TraceSource.Tests.csproj

* Fix System.IO.Compression.Performance.Tests.csproj

* Move supplemental test data into test-runtime/project.json

* Fix System.IO.FileSystem.Watcher.Tests.csproj

* Fix System.IO.FileSystem.Tests.csproj

* Fix System.IO.Pipes.AccessControl.Tests.csproj

* Fix System.IO.MemoryMappedFiles.Tests.csproj

* Fix System.IO.Pipes.Tests.csproj

* Fix System.Json.Tests.csproj

* Add missing supplemental test data for net security tests

* Fix resource names in System.Xml.XPath.XDocument.Tests.csproj

* Fix Assembly.Location test case

* Fix assembly loading paths in DefaultLoadContextTest.cs

* Fix issues in System.Runtime.Loader.Tests.csproj

* Fix RootNamespace in ResourceManager tests

* Mark OpenSSL tests as unsupported on Windows

* Fix RootNamespace in System.Xml.XPath.Tests.csproj

* Fix RootNamespace in System.Xml.XPath.XmlDocument.Tests.csproj

* Fix System.IO.Compression.Tests.csproj

* Add missing Configurations.props files for System.Net projects

* Fix compilation issues in WinHttpHandler tests

* Add fixes and a workaround for Linq.Expressions tests

* Add workaround for System.Runtime.Tests

* Use extension methods explicitly in Ref.Emit tests

* Hook up test projects into build

* Fix build configuration of Crypto.Primitives for netcoreapp

* Enable VB tests outside Windows

* Enable Mail tests outside windows

* Don't run Unsafe tests outside windows

* Don't build Unsafe tests outside Windows

* Don't build WebServer project outside of Windows.

* Fix corerun path for Unix tests.

* Fix casing of 'Native' directory in NETCoreApp private pkgproj

* Remove runtime-specific stuff from Xunit.Runtime.depproj

* Move tests into a separate project ('tests.msbuild') which isn't built in build.proj

* Remove duplicate types from NameResolution.Pal tests

* Skip tests in a project if there is no compatible configuration.

* Include internal socket types only on Windows in NameResolution tests

* Manually fix S.R.InteropServices configurations

* Rename tests.msbuild -> tests.builds

* Manually fix System.Text.Encoding.Tests.csproj configuration

* Manually fix System.Threading.Tests configuration

* Manually clean up System.Runtime.Tests.csproj

* Fix System.IO.FileSystem.Tests configurations

* Manually fix System.Globalization.Tests configurations

* Manually fix System.IO.Pipes.Tests configurations

* Manually fix System.IO.Compression.Tests configurations

* Manually fix System.Runtime.Extensions.Tests configurations

* Manually fix System.IO.MemoryMappedFiles.Tests configurations

* Manually fix S.Diagnostics.Process.Tests configurations

* Manually fix System.ComponentModel.TypeConverter.Tests configurations

* Misc PR feedback.

* Use HostRunnerName instead of HostRunner in Process tests

* Fix configurations for S.ServiceProcess.ServiceController.Tests

* Revert to using ConfigurationErrorMsg to check if tests should be skipped.

Configuration still defaults to 'Debug' even if there is no valid configuration.


Commit migrated from https://github.com/dotnet/corefx/commit/2c0352ec38f9f6f602ae819f0cafb02c1908f137
2017-01-03 13:27:19 -08:00