Author: robertj
Date: 2007-06-05 15:42:23 -0400 (Tue, 05 Jun 2007)
New Revision: 78668
Modified:
trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog
trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs
Log:
2007-06-05 Robert Jordan <[EMAIL PROTECTED]>
* RemotingServicesTest.cs: Add test for bug #81811.
Modified: trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog
===================================================================
--- trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog 2007-06-05
19:39:16 UTC (rev 78667)
+++ trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog 2007-06-05
19:42:23 UTC (rev 78668)
@@ -1,3 +1,7 @@
+2007-06-05 Robert Jordan <[EMAIL PROTECTED]>
+
+ * RemotingServicesTest.cs: Add test for bug #81811.
+
2007-05-19 Robert Jordan <[EMAIL PROTECTED]>
* IpcChannelTest.cs: Add test for bug #81653.
Modified: trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs
===================================================================
--- trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs
2007-06-05 19:39:16 UTC (rev 78667)
+++ trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs
2007-06-05 19:42:23 UTC (rev 78668)
@@ -586,6 +586,27 @@
}
}
}
+
+ [Test]
+ public void GetObjectWithChannelDataTest ()
+ {
+ TcpChannel chn = null;
+ try {
+ chn = new TcpChannel(1247);
+ ChannelServices.RegisterChannel(chn);
+
+
RemotingConfiguration.RegisterWellKnownServiceType(typeof(MarshalObject),
"getobjectwithchanneldata.rem", WellKnownObjectMode.Singleton);
+
+ string channelData = "test";
+ AssertNotNull ("#01",
Activator.GetObject(typeof(MarshalObject),
"tcp://localhost:1247/getobjectwithchanneldata.rem", channelData));
+
+ } finally {
+ try {
+ ChannelServices.UnregisterChannel(chn);
+ } catch {
+ }
+ }
+ }
[Test]
public void ConnectProxyCast ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches