Skip to content

Commit

Permalink
2003/02/26 Nick Drochak <ndrochak@gol.com>
Browse files Browse the repository at this point in the history
	* ActivatorTest.cs: Unregister the channel like it should.
	* MarshalByRefTest.cs: Take out my hack.
	  Both from Jean-Marc Andr [jean-marc.andre@polymtl.ca].

svn path=/trunk/mcs/; revision=11995
  • Loading branch information
Nick Drochak committed Feb 26, 2003
1 parent 31f33f2 commit 43d6c84
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mcs/class/corlib/Test/System/ActivatorTest.cs
Expand Up @@ -110,6 +110,8 @@ public void GetObject()
Assertion.Assert("#A07",objRem != null);
COMTest remCOMTest = (COMTest) objRem;
Assertion.AssertEquals("#A08", 8, remCOMTest.Id);

ChannelServices.UnregisterChannel(chnServer);
// Todo: Implemente the test methods for
// all the overriden function using activationAttribute
}
Expand Down
6 changes: 6 additions & 0 deletions mcs/class/corlib/Test/System/ChangeLog
@@ -1,3 +1,9 @@
2003/02/26 Nick Drochak <ndrochak@gol.com>

* ActivatorTest.cs: Unregister the channel like it should.
* MarshalByRefTest.cs: Take out my hack.
Both from Jean-Marc Andr [jean-marc.andre@polymtl.ca].

2003-02-25 Nick Drochak <ndrochak@gol.com>

* TimeSpanTest.cs: Isolate test for Negate bug. Same as previous
Expand Down
4 changes: 2 additions & 2 deletions mcs/class/corlib/Test/System/MarshalByRefObjectTest.cs
Expand Up @@ -120,7 +120,7 @@ public void GetObject()
RemotingServices.SetObjectUriForMarshal(objMarshal, "MarshalByRefObjectTest.objMarshal3");
RemotingServices.Marshal(objMarshal);

TcpChannel chn = new TcpChannel(1235);
TcpChannel chn = new TcpChannel(1234);
ChannelServices.RegisterChannel(chn);

object objRem = Activator.GetObject(typeof(MarshalObject), "tcp://localhost:1234/MarshalByRefObjectTest.objMarshal3");
Expand All @@ -131,7 +131,7 @@ public void GetObject()

// TODO: When implemented in the mono RemotingServices class
//RemotingServices.Disconnect(objMarshal);
chn.StopListening(null);
// chn.StopListening(null);
ChannelServices.UnregisterChannel(chn);

}
Expand Down

0 comments on commit 43d6c84

Please sign in to comment.