Add test for bug #15153
authorMark Mikofski <bwana.marko@yahoo.com>
Tue, 16 Jun 2015 18:44:02 +0000 (11:44 -0700)
committerLudovic Henry <ludovic@xamarin.com>
Wed, 16 Dec 2015 10:40:24 +0000 (10:40 +0000)
mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs

index 633b776aeac48c10c96f3b29d32d12e21dcad79e..cb78fe2be1e8ff98996257b561aefc74a1f6f482 100644 (file)
@@ -213,6 +213,13 @@ namespace MonoTests.System.ServiceModel
                        Assert.IsTrue (Foo.JoinCalled, "#2");
                }
 
+               [Test]
+               public void ReaderQuotasDefault_Bug15153 ()
+               {
+                       NetTcpBinding binding = new NetTcpBinding(SecurityMode.None);
+                       binding.ReaderQuotas.MaxStringContentLength = 8192;
+               }
+
                [ServiceContract]
                public interface IFoo
                {