Add this for backwards compatibility
[mono.git] / mcs / class / System.Runtime.Remoting / Test / HttpCalls.cs
index 97caaa4745af420a57531eea45e966b3cf92a47e..4e3cf32b7c5c374407b91e44533d732a90cd5ce6 100644 (file)
@@ -1,5 +1,5 @@
 //
-// MonoTests.System.Runtime.Remoting.HttpCalls.cs
+// MonoTests.Remoting.HttpCalls.cs
 //
 // Author: Lluis Sanchez Gual (lluis@ximian.com)
 //
@@ -12,7 +12,7 @@ using System.Runtime.Remoting.Channels;
 using System.Runtime.Remoting.Channels.Http;
 using NUnit.Framework;
 
-namespace MonoTests.System.Runtime.Remoting
+namespace MonoTests.Remoting
 {
        [TestFixture]
        public class HttpSyncCallTest : SyncCallTest
@@ -41,6 +41,15 @@ namespace MonoTests.System.Runtime.Remoting
                }
        }
 
+       [TestFixture]
+       public class HttpDelegateCallTest : DelegateCallTest
+       {
+               public override ChannelManager CreateChannelManager ()
+               {
+                       return new HttpChannelManager ();
+               }
+       }
+
        [Serializable]
        public class HttpChannelManager : ChannelManager
        {
@@ -51,7 +60,7 @@ namespace MonoTests.System.Runtime.Remoting
 
                public override IChannelReceiver CreateServerChannel ()
                {
-                       return new HttpChannel (1133);
+                       return new HttpChannel (0);
                }
        }
 }