2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 21 Apr 2009 11:59:06 +0000 (11:59 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 21 Apr 2009 11:59:06 +0000 (11:59 -0000)
* PeerTransportBindingElementTest.cs : test PeerNode property too.

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

mcs/class/System.ServiceModel/Test/System.ServiceModel.Channels/ChangeLog
mcs/class/System.ServiceModel/Test/System.ServiceModel.Channels/PeerTransportBindingElementTest.cs

index 42ada0d7aa6a44bb20ea9f3006a6734c9a3ad9c1..327c2a737c5317f343d18848807f64cea3e2e9d7 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * PeerTransportBindingElementTest.cs : test PeerNode property too.
+
 2009-04-20  Atsushi Enomoto  <atsushi@ximian.com>
 
        * PeerTransportBindingElementTest.cs : new.
index 3e23efe7008d76e9f74b587a3b114fde23076d62..182083165df636cc0a3475e51869f660e5b577f9 100644 (file)
@@ -72,7 +72,10 @@ namespace MonoTests.System.ServiceModel.Channels
                                new HandlerTransportBindingElement (null));
                        BindingContext ctx = new BindingContext (
                                binding, new BindingParameterCollection ());
-                       be.BuildChannelFactory<IRequestChannel> (ctx);
+
+                       var f = be.BuildChannelFactory<IRequestChannel> (ctx);
+                       Assert.IsNotNull (f.GetProperty<IOnlineStatus> (), "#1");
+                       Assert.IsNotNull (f.GetProperty<PeerNode> (), "#2");
                }
 
                [Test]