You've already forked linux-packaging-mono
Imported Upstream version 5.8.0.88
Former-commit-id: 4b7216ffda08448e562271ce733688e761120fc5
This commit is contained in:
parent
7d05485754
commit
6123a772ed
@@ -57,10 +57,15 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidOperationException))]
|
||||
public void RejectTwoParametersWhenNotWrapped ()
|
||||
{
|
||||
new WebChannelFactory<IBogusService1> (new WebHttpBinding (), new Uri ("http://localhost:37564")).CreateChannel ();
|
||||
var factory = new WebChannelFactory<IBogusService1> (new WebHttpBinding (), new Uri ("http://localhost:37564"));
|
||||
|
||||
#if MOBILE
|
||||
factory.Endpoint.Behaviors.Add (new WebHttpBehavior ());
|
||||
#endif
|
||||
|
||||
Assert.Throws<InvalidOperationException> (() => factory.CreateChannel ());
|
||||
}
|
||||
|
||||
[ServiceContract]
|
||||
|
Reference in New Issue
Block a user