* [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.
It is already called in TestFixtureTearDown, and calling it twice results in an exception in UnregisterChannel
the second time because the channel is no longer registered.
nunitlite does not contain Assertion class.
nunitlite does not implement Is.InstanceOfType, replaced usages of:
Assert.That (type, Is.InstanceOfType(typeof(T))) with Assert.IsInstanceOfType.
The TestFixtureSetUp would sometimes fail in CI, but none of the tests in this class are
actually run since they are all either [Category("NotWorking")] or [Ignore].
Moving the one test from Ignore to NotWorking category allows NUnit to recognize there
are no tests to run and skips the unnecessary TestFixtureSetUp completely.
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-05-29 Robert Jordan <[email protected]>
* IpcChannelTest.cs: Add test for bug #609381.
In System.Runtime.Remoting.Channels.Ipc.Win32:
2010-05-29 Robert Jordan <[email protected]>
* IpcChannelHelper.cs (copy): Take into account that the remoting
stack is internally using MemoryStreams all over the place.
Fixes bug #609381 as a side effect.
* IpcChannel.cs (.ctor): Create an IpcClientChannel as well.
svn path=/trunk/mcs/; revision=158161
2010-02-28 Robert Jordan <[email protected]>
* RealProxy.cs (PrivateInvoke): BeginInvoke return messages
do not have out args (by design). The issue has existed for many
years but it was invisible because mono_delegate_begin_invoke ()
has swallowed exceptions, which was fixed by Gonzalo in r141856.
Fixes a couple of disabled remoting tests (#576618).
In System.Runtime.Remoting/Test:
2010-02-28 Robert Jordan <[email protected]>
* BaseCalls.cs: Enable tests again. See bug #576618.
svn path=/trunk/mcs/; revision=152616
* ActivationTests.cs: Disable TestCreateHttpWkoSingleCall and
TestCreateHttpWkoSingleton due to sporadic failures.
Filed as bug #579277.
svn path=/trunk/mcs/; revision=151549
* GenericTest.cs: differentiate between "Test(int)" and
"Test<int>(int)" to prove that the correct method is invoked.
svn path=/trunk/mcs/; revision=134649
* GenericTest.cs (TestCrossAppDomainChannel): disable on MS.NET as
some generic calls do not seem to be supported anymore. It looks
like a bug, though, since the same tests are passing when performed
over the TCP channel.
svn path=/trunk/mcs/; revision=134648
* GenericTest.cs (TestTcpChannel): create a unique channel and
unregister it upon termination. Fixes issues that were uncovered
by the NUnit upgrade (see Atsushi's changelogs below).
svn path=/trunk/mcs/; revision=134646
* RemotingServicesTest.cs : mark failing test as NotWorking, and
Ignore the blocker for other tests.
Remoting tests are finally back!
svn path=/trunk/mcs/; revision=122612
* HttpBugTests.cs : mark some tests as [Ignore] as they are blocker
to other http tests. Make sure to unregister HTTP channel.
svn path=/trunk/mcs/; revision=122609
* GenericTest.cs, HttpServerChannelTests.cs, ActivationTests.cs,
BaseCalls.cs, CrossDomainCalls.cs, HttpBugTests.cs,
ContextsTest.cs : explicitly set applicationBasePath to load
the test assembly itself. It reduces hundreds of test failures
under .NET and upgraded NUnit.
Marked some tests as NotWorking (due to nunit upgrade).
svn path=/trunk/mcs/; revision=122606
* HttpServerChannelTests.cs: Don't check for a chunked response from
the Mono HTTP server; it no longer chunks since that was breaking
other tests.
svn path=/trunk/mcs/; revision=114001
* 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
2007-05-19 Robert Jordan <[email protected]>
* IpcChannelTest.cs: Add test for bug #81653.
In .:
2007-05-19 Robert Jordan <[email protected]>
* System.Runtime.Remoting_test.dll.sources: add IpcChannelTest.cs
* Add System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln
* AssemblyInfo.cs: only TARGET_JVM changes
svn path=/trunk/mcs/; revision=77699
* BaseCalls.cs (PrimitiveParams): Add dummy overload method for
bug #77191.
* ReflectionCalls.cs (PrimitiveParams): Due to the change above
we need to specify the exact signature because PrimitiveParams ()
is overloaded now.
svn path=/trunk/mcs/; revision=76842
* IpcCalls.cs: Made the IPC channel names unique to match the
Tcp/HttpChannel(0) semantics, because the test suite
relies on that.
svn path=/trunk/mcs/; revision=53788
* RemotingServicesTest.cs: Fix warning.
* ContextsTest.cs: Removed unneeded exception catch.
Changed the order in which GetEnvoySink is called. I think
this is a safe chenge, since it is not defined where the
call to GetEnvoySink should be made.
svn path=/trunk/mcs/; revision=43648