Commit Graph
34 Commits
Author SHA1 Message Date
Martin Baulig c1b505c0ca [WCF]: Implement and improve missing WsdlExporter pieces.
* We now export simple <wsp:Policy>, currently supporting only
  those elements that WsdlImporter can import.

  WsdlImporter:
  https://github.com/mono/mono/commit/cdc98dba1b83341c25a1daab4ae7c217d4961ad1

* Implement `MetadataExporter.Errors' and use it for error
  reporting.

* Fixed WsdlExporter's caching to correclty deal with duplicate
  ExportContract() and ExportEndpoint() calls.

* Emit <soap12:operation> depending on the binding's MessageVersion.
  (FIXME: I didn't implement soap faults yet).

* MetadataTests: Check whether the policy elements are correct.

* MetadataTests: Add test containing simple [OperationContract] method
  for http and net.tcp; checks the <soap:operation> / <soap12:operation>
  elements.

* New test to check WsdlExporter's behavior regarding duplicate
  contracts and endpoints.

* ConnectionOrientedTransportBindingElement.cs, CustomBindingTests.cs,
  HttpTransportBindingElementTest.cs: Added test for custom message
  encodings.
2012-12-05 23:58:12 +01:00
Martin Baulig 7335a66b27 [WCF]: Add and improve MetadataImport tests.
We now run the same tests from ImportTests.cs three times
using the following profiles:

* We load the metadata from an XML file.

* We create the metadata programmatically.

* We create the metadata programmatically, export it into
  XML, then import it back (round-trip).
2012-11-28 14:59:23 +01:00
Martin Baulig 831ce5fccc [WCF]: New WsdlImporter nunit tests and sample wsdl docs.
This adds a bunch of new nunit tests and sample wsdl docs to
test the import of endpoints and bindings using WsdlImporter.
2012-11-27 00:56:37 +01:00
Atsushi Eno 951a6e6276 part of fix bug #41. MessageParameterAttribute is considered for return value. 2011-08-02 07:41:49 -07:00
Atsushi Eno be4b6644f3 Add new MetadataSetTest and fix couple of minor issues. 2011-05-10 19:33:52 +09:00
Sebastien Pouliot c5549b4868 Add (disabled) unit tests for sync use of CommunicationObject
* System.ServiceModel_test.dll.sources: Add new files to the tests
* Test/NUnitMoonHelper.cs: Helper to re-use Moonlight unit tests on NUnit
* Test/System.ServiceModel.Channels/CommunicationObjectSyncTest.cs: New.
2011-05-09 13:48:54 -04:00
Atsushi Eno 6b59934d78 Add ServiceKnownTypeAttributeTest. 2011-04-14 15:22:04 +09:00
Atsushi Eno 1d62f3e9e5 xsi:type parsing is wrong in default namespace resolution.
Fixed case #3 in bug #652331.
2011-02-16 18:02:28 +09:00
Atsushi Eno 58a7b75bd8 Support ServiceKnownTypes. Fixed another case on bug #652331. 2011-02-09 15:42:40 +09:00
Carlos Alberto Cortez a55d4cde7d Add our new System.ServiceModel.Channel test files to the build.
* System.ServiceModel_test.dll.sources: Add
	MsmqTransportSecurityTest.cs,
	CustomPolicyConversionContext.cs,
	ConnectionOrientedTransportBindingElementTest.cs,
	and MsmqBindingElementBaseTest.cs to our test build.
2010-11-04 21:20:55 +01:00
Atsushi Eno 5628b49a01 implemented large parts of WCF standard endpoints and configuration support. 2010-09-13 22:36:37 +09:00
Atsushi Eno d51ce00eba 2010-04-02 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : fill FaultDescription action,
	  name and namespace as expected.

	* FaultDescriptionTest.cs : add new test.

	* FaultContractAttributeTest.cs : new test.

	* System.ServiceModel_test.dll.sources : add some new fault tests.


svn path=/trunk/mcs/; revision=154698
2010-04-02 09:39:45 +00:00
Atsushi Eno 34305f8dba 2010-03-24 Atsushi Enomoto <[email protected]>
* TransportSecurityBindingElementTest.cs : new test.

	* System.ServiceModel.dll.sources : move back all the Features tests
	  that were once disabled (now we can handle mannerless tests).


svn path=/trunk/mcs/; revision=154113
2010-03-24 06:44:49 +00:00
Atsushi Eno 9248aceeaf 2010-03-18 Atsushi Enomoto <[email protected]>
* XPathMessageContext.cs : implement.
	* XPathMessageFilterTable.cs : add some missing overloads.

	* Constants.cs : add more.

	* System.ServiceModel_test.dll.sources :
	  Add Constants.cs and XPathMessageContextTest.cs.

	* XPathMessageContextTest.cs : new.

	* Constants.cs : copied from the lib itself.


svn path=/trunk/mcs/; revision=153833
2010-03-18 13:02:16 +00:00
Atsushi Eno 22b6b52b03 2010-03-17 Atsushi Enomoto <[email protected]>
* MetadataExchangeBindings.cs : use WSHttpBinding (it works if other
	  parts gets fixed).

	* MetadataExchangeBindingsTest.cs : new test.

	* System.ServiceModel_test.dll.sources :
	  add MetadataExchangeBindingsTest.cs.


svn path=/trunk/mcs/; revision=153762
2010-03-17 13:26:23 +00:00
Atsushi Eno 8555feeefd 2010-01-20 Atsushi Enomoto <[email protected]>
* NetTcpBindingTest.cs : disable connection tests, with analyzed
	  reason why it's blocking, for each.

	* System.ServiceModel_test.dll.sources: move back some FeatureBased
	  tests.


svn path=/trunk/mcs/; revision=149878
2010-01-20 05:53:30 +00:00
Atsushi Eno e76f02d41f 2010-01-07 Astushi Enomoto <[email protected]>
* System.ServiceModel_test.dll.sources : ended up to remove
	  *all* mannerless serialization tests.


svn path=/trunk/mcs/; revision=149156
2010-01-07 04:50:48 +00:00
Atsushi Eno 3687e4c6cb 2010-01-06 Astushi Enomoto <[email protected]>
* System.ServiceModel_test.dll.sources : ended up to remove
	  mannerless tests that block other tests.


svn path=/trunk/mcs/; revision=149100
2010-01-06 03:30:08 +00:00
Atsushi Eno d9be950d9c 2009-12-03 Astushi Enomoto <[email protected]>
* System.ServiceModel_test.dll.sources:
	  added HttpsTransportBindingElementTest.cs.

	* HttpsTransportBindingElement.cs, HttpChannelListener.cs :
	  added URI scheme check.

	* HttpsTransportBindingElementTest.cs : new test.


svn path=/trunk/mcs/; revision=147538
2009-12-03 09:40:30 +00:00
Atsushi Eno fcb24db9e4 2009-10-01 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : fixed sync client generator that
	  incorrectly exited in the middle of proxy generator.

	* ServiceContractGeneratorTest.cs : new test.

	* System.ServiceModel_test.dll.sources:
	  add ServiceContractGeneratorTest.cs.


svn path=/trunk/mcs/; revision=143160
2009-10-01 14:52:08 +00:00
Atsushi Eno 3f987a1b6f 2009-09-14 Atsushi Enomoto <[email protected]>
* MessagePropertiesTest.cs : new test.

	* MessageProperties.cs : fix CopyProperties() behavior to not
	  clear existing items. Make all properties call this[name].

	* System.ServiceModel_test.dll.sources: add MessagePropertiesTest.cs.


svn path=/trunk/mcs/; revision=141898
2009-09-14 17:03:34 +00:00
Atsushi Eno f3bae627cb 2009-09-02 Atsushi Enomoto <[email protected]>
* HttpRequestMessageProperty.cs : fix default values.

	* HttpRequestMessagePropertyTest.cs : new test.

	* System.ServiceModel_test.dll.sources:
	  add HttpRequestMessagePropertyTest.cs


svn path=/trunk/mcs/; revision=141110
2009-09-02 10:16:21 +00:00
Atsushi Eno 0cc0ab6f33 2009-08-20 Atsushi Enomoto <[email protected]>
* OperationContext.cs, OperationContextScope.cs :
	  implement IsUserContext.

	* OperationContextTest.cs : new.

	* System.ServiceModel_test.dll.sources: add OperationContextTest.cs.


svn path=/trunk/mcs/; revision=140319
2009-08-20 09:48:40 +00:00
Atsushi Eno da98a889f4 2009-07-31 Atsushi Enomoto <[email protected]>
* ServiceEndpoint.cs : ListenUri defaults to Address.Uri.

	* ServiceEndpointTest.cs : new.

	* System.ServiceModel_test.dll.sources: add ServiceEndpointTest.cs.


svn path=/trunk/mcs/; revision=139146
2009-07-31 05:09:24 +00:00
Atsushi Eno a69bc349e4 2009-07-14 Atsushi Enomoto <[email protected]>
* CallbackBehaviorAttributeTest.cs : new test.

	* System.ServiceModel_test.dll.sources:
	  add CallbackBehaviorAttributeTest.cs.


svn path=/trunk/mcs/; revision=137850
2009-07-14 11:33:17 +00:00
Atsushi Eno e2c8005ff7 2009-07-07 Atsushi Enomoto <[email protected]>
* PeerNodeAddressTest.cs : new test.

	* System.ServiceModel_test.dll.sources:
	  add PeerNodeAddressTest.cs.


svn path=/trunk/mcs/; revision=137492
2009-07-07 12:48:38 +00:00
Atsushi Eno 29364a9eb9 Prepare ServiceThorottle implementation.
svn path=/trunk/mcs/; revision=135727
2009-06-09 07:46:31 +00:00
Atsushi Eno d1f95e4190 2009-05-25 Atsushi Enomoto <[email protected]>
* PeerResolverSerializationTest.cs : new test for general
	  serialization tests.

	* System.ServiceModel.dll_test.sources:
	  added PeerResolverSerializationTest.cs.


svn path=/trunk/mcs/; revision=134672
2009-05-25 08:17:11 +00:00
Atsushi Eno a22727c329 2009-05-15 Atsushi Enomoto <[email protected]>
* MessageFault.cs : Reason is mandatory. raise XmlException, and
	  CommunicationException in each CreateFault().

	* soap-fault-incomplete.xml : new test file.
	* MessageFaultTest.cs : new test.

	* System.ServiceModel.dll_test.sources: added MessageFaultTest.cs.


svn path=/trunk/mcs/; revision=134197
2009-05-15 11:27:39 +00:00
Atsushi Eno 9260e9a39f 2009-04-28 Atsushi Enomoto <[email protected]>
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
	  in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
	  comments for magic numbers based on [MC-NMF].

	* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
	  new test files.

	* System.ServiceModel.dll_test.sources: added
	  BinaryMessageEncodingBindingElementTest.cs.


svn path=/trunk/mcs/; revision=132882
2009-04-28 18:55:59 +00:00
Atsushi Eno 1f9a2160f1 ongoing PeerTransportBindingElement implementation.
svn path=/trunk/mcs/; revision=132146
2009-04-20 12:16:39 +00:00
Atsushi Eno e596ffbe11 2009-04-07 Atsushi Enomoto <[email protected]>
* TcpTransportBindingElement.cs : check build-ability before
	  actually building channels.
	* ConnectionOrientedTransportBindingElement.cs : fixed build-ability
	  conditions according to MSDN.

	* TcpTransportBindingElementTest.cs : more can-build tests.

	* NetTcpBindingTest.cs : new test.

	* System.ServiceModel_test.dll.sources: added NetTcpBindingTest.cs.


svn path=/trunk/mcs/; revision=131222
2009-04-07 12:11:53 +00:00
Atsushi Eno 84747843e6 2009-01-14 Atsushi Enomoto <[email protected]>
* ClientBase.cs, ClientRuntimeChannel.cs : added support for
	  interactive channel initializers.

	* ClientBase_InteractiveChannelInitializerTest.cs : new test, for
	  IInteractiveChannelInitializers support in ClientBase<T>.

	* System.ServiceModel_test.dll.sources :
	  added ClientBase_InteractiveChannelInitializerTest.cs.


svn path=/trunk/mcs/; revision=123316
2009-01-14 06:11:09 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00