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,26 +0,0 @@
|
||||
2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TestFixtureBase.cs : try to fix this mannerless set of tests that
|
||||
leaves comm objects open.
|
||||
|
||||
2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TestFixtureBase.cs : until I sort out what's causing failure on
|
||||
channels shutdown, disable concurrent channels here. They block
|
||||
unit testing themselves.
|
||||
|
||||
2008-04-16 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TestFixtureBase.cs : Fix build.
|
||||
|
||||
(ChangeLog was missing in the previous build)
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added
|
||||
FeatureBased/Features.Serialization/KnownTypeTest.cs
|
||||
FeatureBased/Features.Client/KnownTypeTesterProxy.cs
|
||||
FeatureBased/Features.Contracts/KnownTypeTester.cs
|
||||
|
||||
2006-04-03 Roei Erez <roeie@ximian.com>
|
||||
* TextFixtureBase.cs
|
@@ -1,18 +0,0 @@
|
||||
2008-04-07 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added: MessageContractTesterProxy.cs
|
||||
AsyncCallTesterProxy.cs
|
||||
FaultsTesterProxy.cs
|
||||
* fixed: UntypedMessageTesterProxy.cs
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* Added: UntypedMessageTesterProxy.cs
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* Added: KnownTypeTesterProxy.cs
|
||||
|
||||
2006-04-03 Roei Erez <roeie@ximian.com>
|
||||
* DataContractTesterProxy.cs
|
||||
PrimitiveTesterProxy.cs
|
@@ -1,19 +0,0 @@
|
||||
2008-04-07 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added: AsyncCallTester.cs
|
||||
FaultsTester.cs
|
||||
* fixed: MessageContractTester.cs
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added UntypedMessageTester.cs
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added: KnownTypeTester.cs
|
||||
* removed 3.5 dependencies
|
||||
|
||||
2006-04-03 Roei Erez <roeie@ximian.com>
|
||||
* DataContractTester.cs
|
||||
MessageContractTester.cs
|
||||
PrimitiveTester
|
@@ -1,45 +0,0 @@
|
||||
2010-05-19 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* DataContractSerializerTest.cs: Add test for deserializing objects
|
||||
with different namespaces (bug #599667)
|
||||
|
||||
2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* AsyncCallTest.cs : disable it again, it somehow does not work with
|
||||
the latest code from trunk (ThreadPool?).
|
||||
|
||||
2010-04-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* AsyncPatternTester.cs, MessageContractTest.cs, AsyncCallTest.cs:
|
||||
enable working tests.
|
||||
|
||||
2009-02-24 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* MessageContractTest.cs:
|
||||
Ignore all failing-under-dotnet tests
|
||||
|
||||
2009-01-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* PrimitiveTesterTest.cs : disable failing test.
|
||||
|
||||
2008-05-01 Eyal Alaluf <eyala@mainsoft.com>
|
||||
|
||||
* PrimitiveTesterTest.cs: Fixed TestLong and TestByRef
|
||||
|
||||
2008-04-07 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added: FaultsTest.cs
|
||||
MessageContractTest.cs
|
||||
AsyncCallTest.cs
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added: UntypedMessageTest.cs
|
||||
|
||||
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* added: KnownTypeTest.cs
|
||||
|
||||
2006-04-03 Roei Erez <roeie@ximian.com>
|
||||
* DataContractSerializerTest.cs
|
||||
PrimitiveTesterTest.cs
|
@@ -1,7 +0,0 @@
|
||||
2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* test2.pfx : new file.
|
||||
|
||||
2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* test.pfx : new file for serializer test for now.
|
File diff suppressed because it is too large
Load Diff
@@ -1,57 +0,0 @@
|
||||
2009-02-24 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* BindingsSectionTest.cs, ServiceModelSectionGroupTest.cs:
|
||||
Ignore all failing-under-dotnet tests
|
||||
|
||||
2008-04-03 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* StandardBindingElementCollectionTest.cs: fixed test
|
||||
|
||||
2008-04-01 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* ServiceElementTest.cs: new test
|
||||
|
||||
2008-03-26 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* ServiceModelSectionGroupTest.cs: add #if NET_3_5
|
||||
* CustomBindingElementTest.cs: new test
|
||||
|
||||
2008-03-26 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* MetadataElementTest.cs: new test
|
||||
|
||||
2008-03-04 Eyal Alaluf <eyala@mainsoft.com>
|
||||
|
||||
* ServiceModelConfigurationElementCollectionTest.cs: Created file.
|
||||
* ChannelEndpointElementTest.cs: Created file.
|
||||
|
||||
2008-02-19 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* MexBindingElementTest.cs: new test
|
||||
|
||||
2008-02-19 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* StandardBindingCollectionElementTest.cs: add test
|
||||
|
||||
2008-02-17 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* BasicHttpBindingElementTest.cs:
|
||||
* NetNamedPipeBindingElementTest.cs:
|
||||
* NetPeerTcpBindingElementTest.cs:
|
||||
* NetTcpBindingElementTest.cs:
|
||||
* ServiceModelSectionGroupTest.cs:
|
||||
* StandardBindingCollectionElementTest.cs:
|
||||
new tests.
|
||||
|
||||
2008-02-17 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* StandardBindingElementCollectionTest.cs new test.
|
||||
|
||||
2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceModelSectionGroupTest.cs : commented out Endpoints().
|
||||
It does not work fine on .NET too.
|
||||
|
||||
2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceModelSectionGroupTest.cs : new test.
|
@@ -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 ();
|
||||
|
@@ -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.
|
||||
|
@@ -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);
|
||||
|
@@ -1,32 +0,0 @@
|
||||
2010-05-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* PeerResolverSerializationTest.cs :
|
||||
verify deserialized address count too.
|
||||
|
||||
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CustomPeerResolverServiceTest.cs : enabled all disabled tests.
|
||||
|
||||
2009-12-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CustomPeerResolverServiceTest.cs :
|
||||
I have to disable a lot of connective tests that somehow blocks
|
||||
test runs. No idea why it started to happen though.
|
||||
(It internally uses HTTP binding, which is the indirect source of
|
||||
the problem here.)
|
||||
|
||||
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* PeerResolverSerializationTest.cs : fix test name/namespace.
|
||||
add HasBody() test.
|
||||
|
||||
2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* PeerResolverSerializationTest.cs : new test for general
|
||||
serialization tests.
|
||||
|
||||
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
(bah, bad manner; no ChangeLog previously.)
|
||||
|
||||
* CustomPeerResolverServiceTest.cs : added contract check.
|
@@ -1,168 +0,0 @@
|
||||
2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : disable this failing niche too.
|
||||
|
||||
2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenParametersTest.cs :
|
||||
added test for CreateRequestParameters().
|
||||
|
||||
2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SslSecurityTokenParametersTest.cs : test both anonymous and mutual
|
||||
sslnego provider creation (error) for recipient.
|
||||
|
||||
2007-03-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SspiSecurityTokenParametersTest.cs : Added test for security
|
||||
token provider as a communication object.
|
||||
Added test for authenticator.
|
||||
|
||||
2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SslSecurityTokenParametersTest.cs : test for creating key clause
|
||||
for SCT.
|
||||
* SecurityContextSecurityTokenTest.cs : new test, for SCT.
|
||||
|
||||
2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SslSecurityTokenParametersTest.cs : for requirement initialization,
|
||||
test IssuedSecurityTokenParametersProperty existence.
|
||||
|
||||
2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SslSecurityTokenParametersTest.cs : warning fixes. Test for
|
||||
creating recipient provider (looks like unsupported).
|
||||
|
||||
2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WrappedKeySecurityTokenTest.cs : test GetWrappedKey() value
|
||||
(identical to the raw key only when decrypted).
|
||||
|
||||
2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WrappedKeySecurityTokenTest.cs : added test for
|
||||
CreateKeyIdentifierClause() (don't return input identifiers).
|
||||
|
||||
2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WrappedKeySecurityTokenTest.cs : added tests for keywrap algorithm
|
||||
[in]consistency.
|
||||
|
||||
2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WrappedKeySecurityTokenTest.cs : new test.
|
||||
|
||||
2006-12-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecureConversationSecurityTokenParametersTest.cs :
|
||||
test ChannelProtectionRequirements properties.
|
||||
|
||||
2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* X509SecurityTokenParametersTest.cs :
|
||||
Added case for InclusionMode.Never.
|
||||
|
||||
2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* X509ListedCertificateValidator.cs : new file to support some
|
||||
x509 channel validation tests.
|
||||
|
||||
2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* UserNameSecurityTokenParametersTest.cs : added tests for
|
||||
CreateSecurityKeyIdentifierClause().
|
||||
|
||||
2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenParametersTest.cs,
|
||||
* SslSecurityTokenParametersTest.cs : more property value tests.
|
||||
|
||||
2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SslSecurityTokenParametersTest.cs : tiny namespace fix.
|
||||
|
||||
2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* X509SecurityTokenParametersTest.cs :
|
||||
added test for CreateKeyIdentifierClause().
|
||||
|
||||
2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* UserNameSecurityTokenParametersTest.cs,
|
||||
X509SecurityTokenParametersTest.cs : new tests.
|
||||
|
||||
2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SslSecurityTokenParametersTest.cs : new test.
|
||||
|
||||
2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecureConversationSecurityTokenParametersTest.cs :
|
||||
test for InitializeSecurityTokenRequirement(), but not working now.
|
||||
|
||||
2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecureConversationSecurityTokenParametersTest.cs : new test.
|
||||
|
||||
2006-08-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : split input verification test
|
||||
to two parts, and (will) generate reply source only in the second
|
||||
one. Added todo for entropy test.
|
||||
|
||||
2006-08-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : I found out how to avoid
|
||||
DerivedKeyToken. The input verification will go well.
|
||||
|
||||
2006-08-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceModelSecurityTokenTypesTest.cs : new test (for constants).
|
||||
|
||||
2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : added some attempt to
|
||||
decrypt the secure message, but no luck yet. It already spent
|
||||
my two days :-(
|
||||
|
||||
2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : added some comments.
|
||||
|
||||
2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : added GetTokenUnsignedReply ().
|
||||
In VerifyInput() use MessageBuffer.
|
||||
|
||||
2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : changes caused by
|
||||
HandlerTransportBindingElement changes.
|
||||
|
||||
2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : removed some NotWorking.
|
||||
|
||||
2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : some minor refactoring.
|
||||
|
||||
2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : more GetToken() tests for
|
||||
several condition.
|
||||
|
||||
2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : added some GetToken() tests to
|
||||
check premises.
|
||||
|
||||
2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenProviderTest.cs : new test.
|
||||
|
||||
2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IssuedSecurityTokenParametersTest.cs,
|
||||
SecurityTokenParametersTest.cs : new files.
|
@@ -1,264 +0,0 @@
|
||||
2010-07-28 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs : another WS-SC test.
|
||||
|
||||
2010-07-28 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs :
|
||||
enable some WS-SC tests.
|
||||
|
||||
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TransportSecurityBindingElementTest.cs : new test.
|
||||
|
||||
2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : disable non-working test that
|
||||
needs several fixes or updates.
|
||||
|
||||
2008-02-28 Eyal Alaluf <eyala@mainsoft.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs: Fixed test run on Windows (failed also
|
||||
on .Net).
|
||||
|
||||
2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs
|
||||
ServiceCredentialsSecurityTokenManagerTest.cs
|
||||
ScopedMessagePartSpecificationTest.cs : warning cleanup.
|
||||
|
||||
2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs : test that ssl
|
||||
authenticator implements IIssuanceSecurityTokenAuthenticator.
|
||||
|
||||
2007-03-30 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : removed SCT reader test which
|
||||
was DPAPI dependent, and added new DPAPI independent one.
|
||||
|
||||
2007-03-20 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : so, RequestedProofToken content
|
||||
is unlikely readable here.
|
||||
|
||||
2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs : test DedaultValues().
|
||||
* WSSecurityTokenSerializerTest.cs : added tests for SCT read/write.
|
||||
|
||||
2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs :
|
||||
test for InitializeSecurityTokenRequirement() for several token
|
||||
parameters (like existing tests in client credentials manager).
|
||||
|
||||
2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs : more tests for
|
||||
AnonymousSslnego token authenticator.
|
||||
|
||||
2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : fixed DerivedKeyToken reader
|
||||
tests, and added more.
|
||||
|
||||
2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : more WrappedKeySecurityToken.
|
||||
|
||||
2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added WrappedKeySecurityToken
|
||||
reader test.
|
||||
|
||||
2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for reading
|
||||
empty (invalid) UsernameToken.
|
||||
|
||||
2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for reading
|
||||
EncryptedKeySHA1 embedded key.
|
||||
|
||||
2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added more tests for
|
||||
EncryptedKey clause and BinarySecret clause writers.
|
||||
|
||||
2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added correct reader test for
|
||||
SecurityTokenReference with KeyIdentifier. Existing test was broken.
|
||||
|
||||
2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs: some tests for writing derived-
|
||||
key-involved key identifier clauses.
|
||||
|
||||
2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added some tests for
|
||||
EmitBspRequiredAttributes.
|
||||
|
||||
2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added somewhat wrong test for
|
||||
serialization for LocalIdKeyIdentifierClause with OwnerType.
|
||||
|
||||
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : some tests for
|
||||
SecurityContextSecurityToken.
|
||||
* SecurityTokenSpeficicationTest.cs : new test.
|
||||
|
||||
2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added a few x509 tests for
|
||||
SecurityVersion.WSSecurity10.
|
||||
|
||||
2006-12-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : finished incomplete
|
||||
WriteWrappedKeySecurityToken() test.
|
||||
|
||||
2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecurityMessagePropertyTest.cs : test SenderIdPrefix as well.
|
||||
* WSSecurityTokenSerializerTest.cs : added test for writing
|
||||
LocalIdKeyIdentifierClause.
|
||||
|
||||
2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceSecurityContextTest.cs : new test.
|
||||
* SecurityMessagePropertyTest.cs : after making several effort to
|
||||
make GetOrCreateSecureMessage() pass (with new
|
||||
InterceptorBindingElement), it turned out that GetOrCreate() does
|
||||
not populate security information by itself...
|
||||
|
||||
2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* MessagePartSpecificationTest.cs : new test.
|
||||
* ScopedMessagePartSpecificationTest.cs : added AddParts() tests.
|
||||
|
||||
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for reading
|
||||
EncryptedKeyIdentifierClause. Added test for writing
|
||||
EncryptedKeyIdentifierClause which includes KeyIdentifier.
|
||||
|
||||
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs :
|
||||
enabled X509IssuerSerialKeyIdentifierClause writer test.
|
||||
|
||||
2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for
|
||||
X509ThumbprintKeyIdentifierClause writer. Removed some NotWorking.
|
||||
|
||||
2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for writing
|
||||
EncryptedKeyIdentifierClause. It is not the thing I needed for
|
||||
non-included key serialization thus it's not implemented yet.
|
||||
|
||||
2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecurityMessagePropertyTest.cs : new file.
|
||||
|
||||
2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs :
|
||||
a few more lines in Ssl create authenticator test.
|
||||
|
||||
2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs :
|
||||
WriteToken() test for SecurityContextSecurityToken.
|
||||
Incomplete/NotWorking ReadToken() test for DerivedKeyToken.
|
||||
|
||||
2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecurityAlgorithmSuiteTest.cs : fixed AsymmetricSignatureAlgorithm.
|
||||
Use SecurityAlgorithms constants.
|
||||
|
||||
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for LocalId
|
||||
ReadKeyIdentifierClause().
|
||||
|
||||
2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs :
|
||||
removed some NotWorking.
|
||||
|
||||
2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs :
|
||||
some are notworking yet.
|
||||
|
||||
2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ServiceCredentialsSecurityTokenManagerTest.cs : new test.
|
||||
|
||||
2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : test that RsaSecurityToken is
|
||||
not supported.
|
||||
|
||||
2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : cleaning up NotWorking.
|
||||
|
||||
2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ScopedMessagePartSpecificationTest.cs : new test.
|
||||
|
||||
2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ChannelProtectionRequirementsTest.cs : new test.
|
||||
|
||||
2006-08-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added GetTokenTypeUri test.
|
||||
|
||||
2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs :
|
||||
Added incomplete test for WriteWrappedKeySecurityToken(), but
|
||||
I couldn't find any usable key identifier yet.
|
||||
|
||||
2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs :
|
||||
Added test for GenericXmlSecurityToken serialization. Hmm, seems
|
||||
like it is also useless for ws-trust.
|
||||
|
||||
2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs :
|
||||
added test for WriteToken[Core] for BinarySecurityToken.
|
||||
|
||||
2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : added test for
|
||||
WriteKeyIdentifierClause[Core] though not working.
|
||||
|
||||
2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : test some WriteToken[Core].
|
||||
|
||||
2006-07-31 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : test DefaultInstance as well.
|
||||
|
||||
2006-07-31 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* WSSecurityTokenSerializerTest.cs : new test.
|
||||
|
||||
2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SecurityAlgorithmSuiteTest.cs,
|
||||
SupportingTokenParametersTest.cs : new tests.
|
File diff suppressed because it is too large
Load Diff
@@ -480,15 +480,16 @@ namespace MonoTests.System.ServiceModel
|
||||
[Test]
|
||||
public void OneWayOperationWithRequestReplyChannel ()
|
||||
{
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
var host = new ServiceHost (typeof (OneWayService));
|
||||
host.AddServiceEndpoint (typeof (IOneWayService),
|
||||
new BasicHttpBinding (),
|
||||
new Uri ("http://localhost:30158"));
|
||||
new Uri ("http://localhost:" + port));
|
||||
host.Open ();
|
||||
try {
|
||||
var cf = new ChannelFactory<IOneWayService> (
|
||||
new BasicHttpBinding (),
|
||||
new EndpointAddress ("http://localhost:30158"));
|
||||
new EndpointAddress ("http://localhost:" + port));
|
||||
var ch = cf.CreateChannel ();
|
||||
ch.GiveMessage ("test");
|
||||
|
||||
|
@@ -203,7 +203,7 @@ namespace MonoTests.System.ServiceModel
|
||||
public void TestSessionInstancesNetTcp ()
|
||||
{
|
||||
Binding binding = new NetTcpBinding (SecurityMode.None, false);
|
||||
Uri address = new Uri (binding.Scheme + "://localhost:9999/test");
|
||||
Uri address = new Uri (binding.Scheme + "://localhost:" + NetworkHelpers.FindFreePort () + "/test");
|
||||
TestSessionbehaviour (binding, address);
|
||||
}
|
||||
|
||||
@@ -212,7 +212,7 @@ namespace MonoTests.System.ServiceModel
|
||||
public void TestSessionInstancesWsHttp ()
|
||||
{
|
||||
Binding binding = new WSHttpBinding (SecurityMode.None, true);
|
||||
Uri address = new Uri (binding.Scheme + "://localhost:9999/test");
|
||||
Uri address = new Uri (binding.Scheme + "://localhost:" + NetworkHelpers.FindFreePort () + "/test");
|
||||
TestSessionbehaviour(binding, address);
|
||||
}
|
||||
}
|
||||
|
@@ -131,7 +131,8 @@ namespace MonoTests.System.ServiceModel
|
||||
public void InitializeRuntime () {
|
||||
Poker host = new Poker ();
|
||||
host.CallInitializeDescription ();
|
||||
EndpointAddress address = new EndpointAddress ("http://localhost:8090/");
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
EndpointAddress address = new EndpointAddress ("http://localhost:" + port + "/");
|
||||
ContractDescription contract = ContractDescription.GetContract (typeof (IMyContract));
|
||||
ServiceEndpoint endpoint = new ServiceEndpoint (contract, new BasicHttpBinding (), address);
|
||||
endpoint.ListenUri = address.Uri;
|
||||
@@ -377,7 +378,8 @@ namespace MonoTests.System.ServiceModel
|
||||
public void AddServiceEndpoint_Directly ()
|
||||
{
|
||||
var host = new ServiceHost (typeof (DummyService));
|
||||
var address = new EndpointAddress ("http://localhost:30158");
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
var address = new EndpointAddress ("http://localhost:" + port);
|
||||
var binding = new BasicHttpBinding ();
|
||||
var contract = ContractDescription.GetContract (typeof (IDummyService));
|
||||
host.AddServiceEndpoint (new ServiceEndpoint (contract, binding, address));
|
||||
@@ -398,7 +400,8 @@ namespace MonoTests.System.ServiceModel
|
||||
public void AddServiceEndpoint_Directly_NullBinding ()
|
||||
{
|
||||
var host = new ServiceHost (typeof (DummyService));
|
||||
var address = new EndpointAddress ("http://localhost:30158");
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
var address = new EndpointAddress ("http://localhost:" + port);
|
||||
var contract = ContractDescription.GetContract (typeof (IDummyService));
|
||||
host.AddServiceEndpoint (new ServiceEndpoint (contract, null, address));
|
||||
}
|
||||
@@ -416,7 +419,8 @@ namespace MonoTests.System.ServiceModel
|
||||
public void AddServiceEndpoint_Directly_ContractMismatch ()
|
||||
{
|
||||
var host = new ServiceHost (typeof (DummyService));
|
||||
var address = new EndpointAddress ("http://localhost:30158");
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
var address = new EndpointAddress ("http://localhost:" + port);
|
||||
var binding = new BasicHttpBinding ();
|
||||
var contract = ContractDescription.GetContract (typeof (INotImplementedService));
|
||||
host.AddServiceEndpoint (new ServiceEndpoint (contract, binding, address));
|
||||
|
@@ -270,7 +270,8 @@ namespace MonoTests.System.ServiceModel
|
||||
[ExpectedException (typeof (InvalidOperationException))]
|
||||
public void AddServiceEndpointMexWithNoImpl ()
|
||||
{
|
||||
using (ServiceHost h = new ServiceHost (typeof (Foo), new Uri ("http://localhost:8080"))) {
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
using (ServiceHost h = new ServiceHost (typeof (Foo), new Uri ("http://localhost:" + port))) {
|
||||
// it expects ServiceMetadataBehavior
|
||||
h.AddServiceEndpoint (ServiceMetadataBehavior.MexContractName, MetadataExchangeBindings.CreateMexHttpBinding (), "mex");
|
||||
}
|
||||
@@ -279,21 +280,23 @@ namespace MonoTests.System.ServiceModel
|
||||
[Test]
|
||||
public void AddServiceEndpointMetadataExchange ()
|
||||
{
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
// MyMetadataExchange implements IMetadataExchange
|
||||
ServiceHost host = new ServiceHost (typeof (MyMetadataExchange));
|
||||
host.AddServiceEndpoint ("IMetadataExchange",
|
||||
new BasicHttpBinding (),
|
||||
"http://localhost:8080/");
|
||||
"http://localhost:" + port + "/");
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidOperationException))]
|
||||
public void AddServiceEndpointMetadataExchangeFullNameFails ()
|
||||
{
|
||||
var port = NetworkHelpers.FindFreePort ();
|
||||
ServiceHost host = new ServiceHost (typeof (MyMetadataExchange));
|
||||
host.AddServiceEndpoint ("System.ServiceModel.Description.IMetadataExchange",
|
||||
new BasicHttpBinding (),
|
||||
"http://localhost:8080");
|
||||
"http://localhost:" + port);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@@ -1,33 +0,0 @@
|
||||
2008-04-02 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* basicHttpBinding.config: added biding config for testing
|
||||
|
||||
2008-04-01 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* service.config: more configuration.
|
||||
|
||||
2008-03-27 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* customBinding.config: change value of messageSecurityVersion attribute
|
||||
due to some API still not implemented.
|
||||
|
||||
2008-03-27 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* customBinding.config: more configuration.
|
||||
|
||||
2008-03-26 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* client.metadata:
|
||||
* client.metadata.config:
|
||||
* empty:
|
||||
* empty.config:
|
||||
add config files for tests.
|
||||
|
||||
2008-03-24 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* userBinding.config:
|
||||
consider test's assembly name System.ServiceModel_test_net_3_0.
|
||||
|
||||
2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* test1.config : config file for test.
|
Reference in New Issue
Block a user