2005-10-16 Robert Jordan <robertj@gmx.net>
[mono.git] / mcs / class / System.Runtime.Remoting / Test / TcpCalls.cs
index 1003b5f8d9b6e2b89bf1967aca3b253fd9cd914a..1e28d511f8902e7f28ef7113f4f6dd56db445555 100644 (file)
@@ -1,5 +1,5 @@
 //
-// MonoTests.System.Runtime.Remoting.TcpCalls.cs
+// MonoTests.Remoting.TcpCalls.cs
 //
 // Author: Lluis Sanchez Gual (lluis@ximian.com)
 //
@@ -12,7 +12,7 @@ using System.Runtime.Remoting.Channels;
 using System.Runtime.Remoting.Channels.Tcp;
 using NUnit.Framework;
 
-namespace MonoTests.System.Runtime.Remoting
+namespace MonoTests.Remoting
 {
        [TestFixture]
        public class TcpSyncCallTest : SyncCallTest
@@ -41,6 +41,15 @@ namespace MonoTests.System.Runtime.Remoting
                }
        }
 
+       [TestFixture]
+       public class TcpDelegateCallTest : DelegateCallTest
+       {
+               public override ChannelManager CreateChannelManager ()
+               {
+                       return new TcpChannelManager ();
+               }
+       }
+
        [Serializable]
        public class TcpChannelManager : ChannelManager
        {
@@ -51,7 +60,7 @@ namespace MonoTests.System.Runtime.Remoting
 
                public override IChannelReceiver CreateServerChannel ()
                {
-                       return new TcpChannel (1122);
+                       return new TcpChannel (0);
                }
        }
 }