| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- //
- // MonoTests.Remoting.HttpCalls.cs
- //
- // Author: Lluis Sanchez Gual ([email protected])
- //
- // 2003 (C) Copyright, Ximian, Inc.
- //
- using System;
- using System.Runtime.Remoting;
- using System.Runtime.Remoting.Channels;
- using System.Runtime.Remoting.Channels.Http;
- using NUnit.Framework;
- namespace MonoTests.Remoting
- {
- [TestFixture]
- public class HttpSyncCallTest : SyncCallTest
- {
- public override ChannelManager CreateChannelManager ()
- {
- return new HttpChannelManager ();
- }
- }
- [TestFixture]
- public class HttpAsyncCallTest : AsyncCallTest
- {
- public override ChannelManager CreateChannelManager ()
- {
- return new HttpChannelManager ();
- }
- }
- [TestFixture]
- public class HttpReflectionCallTest : ReflectionCallTest
- {
- public override ChannelManager CreateChannelManager ()
- {
- return new HttpChannelManager ();
- }
- }
- [TestFixture]
- public class HttpDelegateCallTest : DelegateCallTest
- {
- public override ChannelManager CreateChannelManager ()
- {
- return new HttpChannelManager ();
- }
- }
- [Serializable]
- public class HttpChannelManager : ChannelManager
- {
- public override IChannelSender CreateClientChannel ()
- {
- return new HttpChannel ();
- }
- public override IChannelReceiver CreateServerChannel ()
- {
- return new HttpChannel (0);
- }
- }
- }
|