You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,292 +0,0 @@
|
||||
2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* MetadataExchangeBindingsTest.cs : make sure that the target port
|
||||
of the Uri is available (as some other tests do).
|
||||
|
||||
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* MetadataExchangeBindingsTest.cs : make sure that special casing of
|
||||
MessageVersion does not happen at this layer.
|
||||
|
||||
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlExporterTest.cs : fixed and enabled some working tests.
|
||||
|
||||
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* FaultDescriptionTest.cs : add new test.
|
||||
|
||||
2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* MetadataResolverTest.cs : enable working tests.
|
||||
|
||||
2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* MetadataExchangeBindingsTest.cs : new test.
|
||||
|
||||
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlImporterTest.cs : ignore whatever make dist broke.
|
||||
|
||||
Until make dist gets fixed I won't enable any of new external-
|
||||
source-dependent tests.
|
||||
|
||||
2010-02-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlImporterTest.cs : added test for processing ArrayOfXxx types.
|
||||
|
||||
2010-01-28 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceContractGeneratorTest.cs : add test for async method
|
||||
generation option to generate sync methods as well.
|
||||
|
||||
2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceMetadataBehaviorTest.cs : check name constant (MSDN is
|
||||
wrong here).
|
||||
|
||||
2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceAuthorizationBehaviorTest.cs : it's updated and enabled.
|
||||
Added some more tests.
|
||||
|
||||
2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceDebugBehaviorTest.cs : make sure to close hosts.
|
||||
|
||||
2009-10-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceContractGeneratorTest.cs : new test.
|
||||
|
||||
2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceDebugBehaviorTest.cs : it still seems there are some port-
|
||||
blocking tests that blocks here, so change the port and make sure
|
||||
it is available. 8080 is anyways likely to interfere with others.
|
||||
|
||||
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceEndpointTest.cs : new.
|
||||
|
||||
2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : make sure the contract actually
|
||||
contains operations from the base types.
|
||||
|
||||
2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : added test for derived contract type.
|
||||
|
||||
2009-06-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceThrottlingBehaviorTest.cs : new.
|
||||
|
||||
2009-02-24 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlExporterTest.cs:
|
||||
Ignore all failing-under-dotnet tests
|
||||
|
||||
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-05-01 Eyal Alaluf <eyala@mainsoft.com>
|
||||
|
||||
* ContractDescriptionTest.cs: Add test with method operation, parameters
|
||||
and return value names specified by attributes.
|
||||
|
||||
2008-04-21 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* ServiceDebugBehaviorTest.cs: new testfixture.
|
||||
* ServiceMetadataBehaviorTest.cs: new testfixture.
|
||||
|
||||
2008-04-21 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* WsdlExporterTest.cs: added new test.
|
||||
|
||||
2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
|
||||
|
||||
* TypedMessageConverterTest.cs: Enabled and extended the roundtrip tests.
|
||||
Used XML namespaces for the message data types.
|
||||
|
||||
2008-03-30 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlExporterTest.cs, WsdlImporterTest.cs,
|
||||
ContractDescriptionTest.cs : marked coupled of tests as NotWorking.
|
||||
|
||||
2008-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* OperationDescriptionTest.cs: added parts and namespace tests
|
||||
|
||||
2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlImporterTest.cs : fix tests under run-test-ondotnet with 3.5.
|
||||
|
||||
2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlImporterTest.cs : use one tab instead of " ".
|
||||
|
||||
2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlExporterTest.cs : oops, fix errors.
|
||||
|
||||
2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlImporterTest.cs WsdlExporterTest.cs : warning cleanup.
|
||||
|
||||
2007-03-26 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : added conceptual test case that shows
|
||||
MessageBodyAttribute is not inferred.
|
||||
|
||||
2006-10-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : added test to reject async operation
|
||||
whose name does not begin with "Begin".
|
||||
|
||||
2006-10-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : added test to reject duplicate
|
||||
operation names.
|
||||
|
||||
2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : added some async contract tests.
|
||||
|
||||
2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ClientCredentialsTest.cs : split default property value tests into
|
||||
each individual peoperty test, and added some more.
|
||||
|
||||
2006-09-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsTest.cs : new test.
|
||||
|
||||
2006-09-08 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlExporterTest.cs: Add more tests. Remove redundant ones.
|
||||
|
||||
2006-09-07 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlExporterTest.cs (ExportContractInvalid1): Remove "NotWorking".
|
||||
|
||||
2006-09-07 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlExporterTest.cs (ExportContractInvalid1): New.
|
||||
|
||||
2006-09-07 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlExporterTest.cs: New. Incomplete.
|
||||
|
||||
2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : added ignorable test that treats
|
||||
IRequestChannel as a service contract. We don't need that.
|
||||
|
||||
2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ClientCredentialsTest.cs : new file.
|
||||
|
||||
2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TypedMessageConverterTest.cs : Added StandardRoundtrip(), though
|
||||
NotWorking.
|
||||
|
||||
2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TypedMessageConverterTest.cs : added StandardToMessage().
|
||||
|
||||
2006-07-13 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlImporterTest.cs: More June CTP updates.
|
||||
* dump.xml: Regenerated for June CTP.
|
||||
* MetadataResolverTest.cs: New.
|
||||
|
||||
2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs :
|
||||
Added test for async pattern (IMetadataExchange).
|
||||
|
||||
2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs :
|
||||
Added test for methods that takes and returns Message.
|
||||
Added test for invalid async pattern.
|
||||
|
||||
2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs, TypedMessageConverterTest.cs :
|
||||
June CTP fixes.
|
||||
|
||||
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : [MessageBody] -> [MessageBodyMember].
|
||||
|
||||
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WsdlImporterTest.cs,
|
||||
ContractDescriptionTest.cs : reflect June CTP updates.
|
||||
|
||||
2006-07-03 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlImporterTest.cs: Update for June CTP changes.
|
||||
|
||||
2006-07-03 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlImporterTest.cs: Use
|
||||
DataContractSerializerMessageContractImporter instead of
|
||||
DataContractSerializerMessageContractConverter.
|
||||
|
||||
2006-06-12 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* WsdlImporterTest.cs : New.
|
||||
* dump.xml: New. Required for WsdlImporterTest.cs
|
||||
|
||||
2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TypedMessageConverterTest.cs : new test file.
|
||||
|
||||
2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* OperationDescriptionTest.cs : test MessageDescriptions as well.
|
||||
|
||||
2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : test to reject operation-less contract.
|
||||
|
||||
2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractDescriptionTest.cs : moved from Test/S.SM.Dispatcher.
|
||||
* OperationDescriptionTest.cs : new file.
|
||||
|
||||
2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
(resumed changelogging)
|
||||
* ChannelBuildContextTest.cs :
|
||||
Added tests for null ListenUri arguments.
|
||||
|
||||
2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ChannelBuildContextTest.cs : Feb. CTP API changes - chapter 1.
|
||||
|
||||
2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ChannelBuildContextTest.cs : (ConsumeBindingElements)
|
||||
Use BindingElements instead of non-implemented WSHttpBinding.
|
||||
|
||||
2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ChannelBuildContext.cs : new file.
|
||||
|
||||
2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TypeLoaderTest.cs : actually this is rather ContractDescription
|
||||
test, so it is being moved.
|
||||
|
||||
2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TypeLoaderTest.cs : new test.
|
||||
@@ -35,6 +35,8 @@ using System.ServiceModel.Description;
|
||||
using System.ServiceModel.Dispatcher;
|
||||
using System.ServiceModel.Channels;
|
||||
|
||||
using MonoTests.Helpers;
|
||||
|
||||
namespace MonoTests.System.ServiceModel.Description
|
||||
{
|
||||
[TestFixture]
|
||||
@@ -56,7 +58,8 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
|
||||
[Test]
|
||||
public void InitializeRuntime1 () {
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:30158"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:" + port))) {
|
||||
host.AddServiceEndpoint (typeof (IMyContract), new BasicHttpBinding (), "e1");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true });
|
||||
|
||||
@@ -93,10 +96,11 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
|
||||
[Test]
|
||||
public void InitializeRuntime2 () {
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:30158"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:" + port))) {
|
||||
host.AddServiceEndpoint (typeof (IMyContract), new BasicHttpBinding (), "");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:30158/mex_and_help") });
|
||||
host.Description.Behaviors.Find<ServiceDebugBehavior> ().HttpHelpPageUrl = new Uri ("http://localhost:30158/mex_and_help");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:" + port + "/mex_and_help") });
|
||||
host.Description.Behaviors.Find<ServiceDebugBehavior> ().HttpHelpPageUrl = new Uri ("http://localhost:" + port + "/mex_and_help");
|
||||
|
||||
Assert.AreEqual (0, host.ChannelDispatchers.Count, "ChannelDispatchers.Count #1");
|
||||
|
||||
@@ -125,10 +129,11 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
|
||||
[Test]
|
||||
public void InitializeRuntime3 () {
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:30158"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:" + port))) {
|
||||
host.AddServiceEndpoint (typeof (IMyContract), new BasicHttpBinding (), "");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:30158/mex") });
|
||||
host.Description.Behaviors.Find<ServiceDebugBehavior> ().HttpHelpPageUrl = new Uri ("http://localhost:30158/help");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:" + port + "/mex") });
|
||||
host.Description.Behaviors.Find<ServiceDebugBehavior> ().HttpHelpPageUrl = new Uri ("http://localhost:" + port + "/help");
|
||||
|
||||
Assert.AreEqual (0, host.ChannelDispatchers.Count, "ChannelDispatchers.Count #1");
|
||||
|
||||
@@ -176,9 +181,10 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
|
||||
[Test]
|
||||
public void InitializeRuntime4 () {
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:30158"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:" + port))) {
|
||||
host.AddServiceEndpoint (typeof (IMyContract), new BasicHttpBinding (), "");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:30158/mex") });
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:" + port + "/mex") });
|
||||
host.Description.Behaviors.Remove<ServiceDebugBehavior> ();
|
||||
|
||||
Assert.AreEqual (0, host.ChannelDispatchers.Count, "ChannelDispatchers.Count #1");
|
||||
@@ -204,7 +210,7 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
Assert.AreEqual (0, ed.FilterPriority, "FilterPriority");
|
||||
|
||||
EndpointAddress ea = ed.EndpointAddress;
|
||||
Assert.AreEqual (new Uri ("http://localhost:30158/mex"), ea.Uri, "Uri");
|
||||
Assert.AreEqual (new Uri ("http://localhost:" + port + "/mex"), ea.Uri, "Uri");
|
||||
|
||||
DispatchRuntime dr = ed.DispatchRuntime;
|
||||
Assert.AreEqual (1, dr.Operations.Count, "Operations.Count");
|
||||
@@ -221,9 +227,10 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
|
||||
[Test]
|
||||
public void ServiceMetadataExtension1 () {
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:30158"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:" + port))) {
|
||||
host.AddServiceEndpoint (typeof (IMyContract), new BasicHttpBinding (), "");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:30158/mex") });
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:" + port + "/mex") });
|
||||
host.Description.Behaviors.Remove<ServiceDebugBehavior> ();
|
||||
|
||||
host.Open ();
|
||||
@@ -237,9 +244,10 @@ namespace MonoTests.System.ServiceModel.Description
|
||||
|
||||
[Test]
|
||||
public void ServiceMetadataExtension2 () {
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:30158"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost host = new ServiceHost (typeof (MyService), new Uri ("http://localhost:" + port))) {
|
||||
host.AddServiceEndpoint (typeof (IMyContract), new BasicHttpBinding (), "");
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:30158/mex") });
|
||||
host.Description.Behaviors.Add (new ServiceMetadataBehavior () { HttpGetEnabled = true, HttpGetUrl = new Uri ("http://localhost:" + port + "/mex") });
|
||||
host.Description.Behaviors.Remove<ServiceDebugBehavior> ();
|
||||
|
||||
ServiceMetadataExtension extension = new ServiceMetadataExtension ();
|
||||
|
||||
Reference in New Issue
Block a user