* [System] Fix a few hardcoded socket ports in tests
Those could've shown up as "address already in use" in CI.
* [System.Runtime.Remoting] Fix a few hardcoded socket ports in tests
Those could've shown up as "address already in use" in CI.
Additionally remove a copy of RemotingServicesTest.cs from corlib
which also exists in System.Runtime.Remoting in updated form.
* [System.ServiceModel] Fix a few hardcoded socket ports in tests
Those could've shown up as "address already in use" in CI.
* [System.Net.Http] Fix a few hardcoded socket ports in tests
Those could've shown up as "address already in use" in CI.
The additional "keep-alive" header in Send_Complete_NoContent() and
Send_Transfer_Encoding_Chunked() is because we were using the same
port for all tests before so other tests would clear the header.
This doesn't happen now that we use distinct test ports.
* [System.ServiceModel.Web] Fix a few hardcoded socket ports in tests
Those could've shown up as "address already in use" in CI.
* TcpChannelTest.cs: Changed the namespace to MonoTests.Remoting
like the other Remoting tests and added a client<->server
communication test. Throw in a ftp:// url for the url-parsing test
to make sure the parser returns null on that.
svn path=/trunk/mcs/; revision=113358
Fix for bug #320298
* TcpClientTransportSink.cs: Updated for change to
TcpChannel.ParseTcpURL(). We now need to do our own integer
conversion/validation of the port.
* TcpChannel.cs (ParseTcpURL): We need to match the
protocol ("tcp") case-insensitively. The objectURI is supposed to
include the leading '/' character. Also, we need to ignore invalid
port designators since Microsoft's .NET implementation of
TcpChannel.Parse() doesn't seem to care that they are valid.
svn path=/trunk/mcs/; revision=112912
* RemotingServicesTest.cs: Do not hide exception that occur when
unregistering a channel. Code formatting and removed extra tabs.
* TcpChannelTest.cs: Added simple ctor test that covers bug #355905.
* System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.
svn path=/trunk/mcs/; revision=93956