+2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ChannelDispatcherTest.cs : refine AcceptChannel invocation check
+ and make it not to fail on .NET.
+
2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : add singleton instance context test
try {
h.Open (TimeSpan.FromSeconds (10));
- Assert.IsTrue (listener.AcceptChannelTried, "#1"); // while it throws NIE ...
+ Assert.IsTrue (listener.BeginAcceptChannelTried, "#1"); // while it throws NIE ...
Assert.IsFalse (listener.WaitForChannelTried, "#2");
Assert.IsNotNull (ed.DispatchRuntime, "#3");
Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#4");
}
public bool AcceptChannelTried { get; set; }
+ public bool BeginAcceptChannelTried { get; set; }
public TChannel AcceptChannel ()
{
public IAsyncResult BeginAcceptChannel (AsyncCallback callback, object state)
{
- AcceptChannelTried = true;
+ BeginAcceptChannelTried = true;
throw new NotImplementedException ();
}
public IAsyncResult BeginAcceptChannel (TimeSpan timeout, AsyncCallback callback, object state)
{
- AcceptChannelTried = true;
+ BeginAcceptChannelTried = true;
throw new NotImplementedException ();
}