Commit Graph
10 Commits
Author SHA1 Message Date
Stephen Toub 0568649dc9 Merge pull request dotnet/corefx#9436 from stephentoub/websocket_testtime
Significantly reduce running time of WebSocket.Client tests

Commit migrated from https://github.com/dotnet/corefx/commit/f65ced2f2e8f77a4f9b9d916767660c7dda11fa5
2016-06-15 18:31:49 -04:00
Karthik Rajasekaran d73f6518c3 Update CoreFX tests to compile against a minimum of netstandard1.3 and add supports clauses for tests
CoreFX tests will now compile against netstandard1.3 as references and will now deploy for the platforms listed in their respective supports clause, provided the appropriate TestTFM is passed in.  The supports are fully listed inside runtime.json in the new TestSuite metapackage in buildtools. The tests will default to netcoreapp1.0 as their TestTFM.

CoreFx test projects now utilise a test csproj to pkgproj reference which determine the appropriate compile time and runtime assets needed.

Dependent on https://github.com/dotnet/buildtools/pull/770


Commit migrated from https://github.com/dotnet/corefx/commit/b4841454de7ddcd75e92e2bb24ebb238a82df43f
2016-06-15 11:23:11 -07:00
Stephen Toub 87c2b75a22 Move classes to their own files
No logic was changed.  Simply separated out each class into its own file.


Commit migrated from https://github.com/dotnet/corefx/commit/f1caf0ab01184951093e5ee4d701ea1d4159358d
2016-06-15 09:33:28 -04:00
David Shulman 6489f6d1c9 Add configurable test settings for Http and WebSocket tests (dotnet/corefx#8480)
Building on the current use of environment variables for passing in test settings, added a common test helper class to allow the http and websocket tests to access alternate test servers. This will help with load balancing and network latency issues which are causing occasional timeouts in CI tests. This will also allow developers to run their own version of the Azure test endpoints. Consolidated the current environment variables used and standardized on a naming format.

Fixes dotnet/corefx#2383.

Commit migrated from https://github.com/dotnet/corefx/commit/3603ed2578220f0ecb2f101324e04acb80fa3196
2016-05-12 14:57:03 -07:00
Matt Ellis e631e1c680 Remove UnsupportedPlatforms metadata
Commit migrated from https://github.com/dotnet/corefx/commit/f5252c0c0d19622132e0edcf0b64783b798e3bbf
2016-04-05 14:38:52 -07:00
Jose Perez Rodriguez 0df7c31e39 Use .Net Core MSBuild for OS X and Linux Builds
Commit migrated from https://github.com/dotnet/corefx/commit/4367ec4c791928c6b2f994e9602dbc75aea7934d
2016-01-28 08:46:24 -08:00
Wes Haggard f27c7dc024 Update project files adding default configurations
This add a default configuration before the Import of dirs.props
for any projects that don't have Debug as the default configuration.

Removed Configuration and Platform properties set after dirs.props
as they would have no affect and just cause confusion.

Removed OutputType=Library property as it isn't necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/9e1da13cf6d5ff4b37b1867beb3411a2fe61da6a
2016-01-02 23:50:21 -08:00
dotnet-bot df96df8a5d Port more System.Net.WebSockets.Client tests
Add subprotocol tests
Add unknown/incorrect websocket endpoint tests


Commit migrated from https://github.com/dotnet/corefx/commit/ad216f04b61694c2cdabfe53e93846469104fc96
2015-11-19 10:31:10 -08:00
dotnet-bot 36901c39a9 Add System.Net.WebSockets.Client tests
* Port some of the ToF ClientWebSocket tests that talk to a real websocket server
* Cleanup naming of existing tests to conform to System.Net test method naming
* Skip tests if not supported on platform. Specifically, these tests were failing
on Win7 since Win7 does not support WinHttp WebSockets. We haven't really noticed this
failing since the CI doesn't yet run Win7 tests (issue dotnet/corefx#4468)

I plan to port the remainder of the ToF websocket related tests in a subsequent PR.


Commit migrated from https://github.com/dotnet/corefx/commit/5006756101cab2edb9bb40590542d7a3df15f0cc
2015-11-12 15:17:48 -08:00
dotnet-bot d47f4c3abf Initial commit of System.Net.WebSockets.Client.
Commit migrated from https://github.com/dotnet/corefx/commit/2f2fae24846c40bc588625b47ec12f43ac323612
2015-07-27 14:41:34 -07:00