2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Thu, 25 Jun 2009 17:57:37 +0000 (17:57 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Thu, 25 Jun 2009 17:57:37 +0000 (17:57 -0000)
* ChannelDispatcherTest.cs : add some instance provider tests.

svn path=/trunk/mcs/; revision=136861

mcs/class/System.ServiceModel/Test/System.ServiceModel.Dispatcher/ChangeLog
mcs/class/System.ServiceModel/Test/System.ServiceModel.Dispatcher/ChannelDispatcherTest.cs

index 881bdef38cd86e02ebeae67d50cb00b78e3332b0..465a5b40f04d0626ccfbcb3ca405b07614a24da6 100644 (file)
@@ -1,3 +1,7 @@
+2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ChannelDispatcherTest.cs : add some instance provider tests.
+
 2009-06-23  Atsushi Enomoto  <atsushi@ximian.com>
 
        * ChannelDispatcherTest.cs : make sure that the port to be in use is
index 1fc3b9f76d0ba56916acb5818dfceb4127d10070..2a9e680d2b8128ba3abb014a3d704647a0fe92d5 100644 (file)
@@ -123,6 +123,7 @@ namespace MonoTests.System.ServiceModel.Dispatcher
                        Assert.IsNotNull (ed.DispatchRuntime, "#1");
                        Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#2");
                        Assert.IsNull (ed.DispatchRuntime.InstanceContextProvider, "#3");
+                       Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#3.2");
                        Assert.IsNull (ed.DispatchRuntime.SingletonInstanceContext, "#4");
                        d.Endpoints.Add (ed);
                        d.MessageVersion = MessageVersion.Default;
@@ -189,6 +190,7 @@ namespace MonoTests.System.ServiceModel.Dispatcher
                        Assert.IsNotNull (ed.DispatchRuntime, "#3");
                        Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#4");
                        Assert.IsNull (ed.DispatchRuntime.InstanceContextProvider, "#5"); // it is not still set after ChannelDispatcher.Open().
+                       Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#5.2");
                        Assert.IsNull (ed.DispatchRuntime.SingletonInstanceContext, "#6");
 
                        d.Close (); // we don't have to even close it.
@@ -255,6 +257,7 @@ namespace MonoTests.System.ServiceModel.Dispatcher
                                Assert.IsNotNull (ed.DispatchRuntime, "#3");
                                Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#4");
                                Assert.IsNotNull (ed.DispatchRuntime.InstanceContextProvider, "#5"); // it was set after ServiceHost.Open().
+                               Assert.IsNull (ed.DispatchRuntime.InstanceProvider, "#5.2");
                                Assert.IsNull (ed.DispatchRuntime.SingletonInstanceContext, "#6");
                                /*
                                var l = new HttpListener ();