Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,145 +0,0 @@
2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs : add another line of assertion.
2010-06-18 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : had to disable a test that regressed from
validating duplicate listen URI. Possible remedy is described too.
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddressMessageFilterTest.cs :
Add null arg case. Enable working test.
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs : enabled working tests again.
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* DispatchOperationTest.cs : added not-working FaultContractInfo test.
2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
* XPathMessageContextTest.cs : new.
2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : format message correctly.
2009-12-02 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs :
I have to disable a lot of connective tests that somehow blocks
test runs. No idea why it started to happen though.
2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : add a test to make sure that
EndpointDispatcher.ChannelDispatcher property is filled by Add().
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
(but disabled, for some weird conflict).
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
available before running the tests. Check attach state.
* DispatchRuntimeTest.cs : make sure that it runs through all the
behavior tests.
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs : add reasonable timeout and close client
appropriately. Objects are disposed in different ways than .NET.
Do not expect things automatically disposed as just time goes by.
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : make sure to close service host,
within rational TimeSpan.
2009-06-09 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : add ServiceThrottle test, and comments.
2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : make sure ctor args are nullable.
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : added a couple of EndpointDispatcher
state tests.
2009-02-24 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs:
Ignore all failing-under-dotnet tests
2009-01-21 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs : disable failing test.
2008-05-22 Roei Erez <roeie@mainsoft.com>
* fix ContractDescription.GetContract implementation
* Refactor Request processing
* Add support for message inspectors
* Add support for InstanceContextProvider & InstanceProvider, including lifecycles events
like: ReleaseServiceInstance, Open, Close...
* Add relevant test cases.
2008-04-08 Roei Erez <roeie@mainsoft.com>
* Add tests ChannelDispatcherTest, EndpointDispatcherTest
2008-04-06 Roei Erez <roeie@mainsoft.com>
* EndpointDiaptcher: Added new tests (MessageFilter, ContractFilter)
2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
* ExceptionHandlerTest.cs : disabled a test that is not in effect.
2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
* PrefixEndpointAddressMessageFilterTest.cs : new test (not working).
2006-10-18 Ankit Jain <jankit@novell.com>
* EndpointAddressMessageFilterTest.cs (Match): Add more tests.
2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddressMessageFilterTest.cs : new test.
* EndpointDispatcherTest.cs : test type of the filter as well.
2006-08-10 Duncan Mak <duncan@novell.com>
* ExceptionHandlerTest.cs: New test.
2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
* InvalidBodyAccessExceptionTest.cs, DispatchOperationTest.cs :
fix tests for beta2. Reduced evil English-only tests.
2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
* ContractDescriptionTest.cs : added test to make sure to return
ContractDescription for the contract interface, not the actual type.
2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
* DispatchOperationTest.cs DispatchRuntimeTest.cs : new tests.

View File

@@ -40,6 +40,8 @@ using System.Collections.ObjectModel;
using SMMessage = System.ServiceModel.Channels.Message;
using System.Threading;
using MonoTests.Helpers;
namespace MonoTests.System.ServiceModel.Dispatcher
{
[TestFixture]
@@ -153,7 +155,8 @@ namespace MonoTests.System.ServiceModel.Dispatcher
void TestInstanceBehavior (MessageInspectBehavior b, string expected, Result actual, int invocations)
{
ServiceHost h = new ServiceHost (typeof (AllActions), new Uri ("http://localhost:30158"));
var port = NetworkHelpers.FindFreePort ();
ServiceHost h = new ServiceHost (typeof (AllActions), new Uri ("http://localhost:" + port));
try {
h.AddServiceEndpoint (typeof (IAllActions).FullName, new BasicHttpBinding (), "AllActions");
h.Description.Behaviors.Add (b);
@@ -167,7 +170,7 @@ namespace MonoTests.System.ServiceModel.Dispatcher
Assert.AreEqual (typeof (AllActions), ed.DispatchRuntime.Type, "Type property: " + ed.ContractName);
}
}
AllActionsProxy p = new AllActionsProxy (new BasicHttpBinding () { SendTimeout = TimeSpan.FromSeconds (5), ReceiveTimeout = TimeSpan.FromSeconds (5) }, new EndpointAddress ("http://localhost:30158/AllActions"));
AllActionsProxy p = new AllActionsProxy (new BasicHttpBinding () { SendTimeout = TimeSpan.FromSeconds (5), ReceiveTimeout = TimeSpan.FromSeconds (5) }, new EndpointAddress ("http://localhost:" + port + "/AllActions"));
for (int i = 0; i < invocations; ++i)
p.Get (10);