Author: lluis
Date: 2005-04-27 07:17:57 -0400 (Wed, 27 Apr 2005)
New Revision: 43648

Modified:
   trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog
   trunk/mcs/class/System.Runtime.Remoting/Test/ContextsTest.cs
   trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs
Log:
2005-04-27  Lluis Sanchez Gual  <[EMAIL PROTECTED]>

        * 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.



Modified: trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog
===================================================================
--- trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog      2005-04-27 
10:09:32 UTC (rev 43647)
+++ trunk/mcs/class/System.Runtime.Remoting/Test/ChangeLog      2005-04-27 
11:17:57 UTC (rev 43648)
@@ -1,3 +1,11 @@
+2005-04-27  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
+
+       * 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.
+
 2005-02-16  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
 
        * HttpCalls.cs, TcpCalls.cs: Don't use a hardcoded port number for the

Modified: trunk/mcs/class/System.Runtime.Remoting/Test/ContextsTest.cs
===================================================================
--- trunk/mcs/class/System.Runtime.Remoting/Test/ContextsTest.cs        
2005-04-27 10:09:32 UTC (rev 43647)
+++ trunk/mcs/class/System.Runtime.Remoting/Test/ContextsTest.cs        
2005-04-27 11:17:57 UTC (rev 43648)
@@ -59,8 +59,6 @@
                [Test]
                public void TestNewContext ()
                {
-                       try
-                       {
                        CallSeq.Init("TestNewContext");
                        CallSeq.Add (">> TestNewContext");
                        object[] at = new object[] { new ContextHookAttribute 
("1",true)};
@@ -70,11 +68,6 @@
                        RunTestObject (list);
                        CallSeq.Add ("<< TestNewContext");
                        CallSeq.Check (Checks.seqNewContext,1);
-                       }
-                       catch (Exception eX)
-                       {
-                               Console.WriteLine (eX);
-                       }
                }
 
                [Test]
@@ -299,10 +292,18 @@
                                "011 (d1,c1) 
IContributeServerContextSink(x.d1).GetServerContextSink",
                                "012 (d1,c1) 
IContributeServerContextSink(1.d1).GetServerContextSink",
                                "013 (d1,c1) --> ServerContextSink(1.d1) 
SyncProcessMessage .ctor",
-                               "014 (d1,c1) --> ServerContextSink(x.d1) 
SyncProcessMessage .ctor",
-                               "015 (d1,c1) List created",
+                               "014 (d1,c1) --> ServerContextSink(x.d1) 
SyncProcessMessage .ctor",
+                               
+                               // Changed the order. I think this is a safe 
chenge, since it is
+                               // not defined where the call to GetEnvoySink 
should be made.
+                               "015 (d1,c1) 
IContributeEnvoySink(1.d1).GetEnvoySink",
+                               "016 (d1,c1) 
IContributeEnvoySink(x.d1).GetEnvoySink",
+                               "017 (d1,c1) List created",
+                               
+/*                             "015 (d1,c1) List created",
                                "016 (d1,c1) 
IContributeEnvoySink(1.d1).GetEnvoySink",
                                "017 (d1,c1) 
IContributeEnvoySink(x.d1).GetEnvoySink",
+*/                             
                                "018 (d1,c1) <-- ServerContextSink(x.d1) 
SyncProcessMessage .ctor",
                                "019 (d1,c1) <-- ServerContextSink(1.d1) 
SyncProcessMessage .ctor",
                                "020 (d1,c0) <-> global DynamicSink Finish 
.ctor client:True",

Modified: trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs
===================================================================
--- trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs        
2005-04-27 10:09:32 UTC (rev 43647)
+++ trunk/mcs/class/System.Runtime.Remoting/Test/RemotingServicesTest.cs        
2005-04-27 11:17:57 UTC (rev 43648)
@@ -292,7 +292,7 @@
                        
                        Assert("#A06", 
RemotingServices.GetObjectUri(objMarshal) == null);
                        
-                       ObjRef objRef = RemotingServices.Marshal(objMarshal);
+                       RemotingServices.Marshal(objMarshal);
                        
                        Assert("#A07", 
RemotingServices.GetObjectUri(objMarshal) != null);
                        // TODO: uncomment when RemotingServices.Disconnect is 
implemented

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to