41 Commits
Author SHA1 Message Date
Alexander Köplinger f46191114b [bcl] Add nunit exclude categories for monotouch/monodroid profiles (#14695)
We didn't set all the categories that the products used in our profiles.

Now that the products can consume the exclude categories from mono we
need to unify the values.

Removed ValueAdd since it's not used anymore and combined MacNotWorking
into NotOnMac.
2019-05-29 16:58:55 +02:00
Alexander Köplinger 77cf4cc4f8 [tests] Remove MONOMAC ifdef from BCL tests (#13694)
It was set by xamarin-macios when they were still taking the raw .cs source files
but since we switched to prebuilt binaries we need to replace it with
some define we're actually setting in Mono.

Most cases can be replaced by just XAMMAC_4_5 since MOBILE is defined on the xammac profile.
2019-03-27 20:21:48 +01:00
Alexander Köplinger bf6bc36b2e [System.Web.Services] Switch tests to use embedded test resources 2018-09-27 22:47:11 +02:00
Chris Hamons bb0564ff3c Mono BCL test fixes so XM can run them (#4210) 2017-01-10 16:59:08 -06:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alexander Köplinger d4d7374efc [bcl] Remove ONLY_1_1 defines from class libs
This is not used anymore.
2015-01-21 17:18:30 +01:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Sebastien Pouliot 71d027fb55 Open test files in read-only mode (so it will work on devices where permissions won't allow read/write) 2013-03-22 17:20:41 -04:00
Marek Safar a4915d561e Update mobile tests 2013-03-07 16:34:24 +01:00
Martin Baulig e5fd73b545 [#6041][WebServices]: Don't crash if an operation doesn't have <wsdl:output>. 2012-09-20 06:33:34 +02:00
Ankit Jain 736d225d76 [webservices] Extensions can be unknown XmlElements also, fix.
* class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs:
Extensions can be XmlElement or ServiceDescriptionFormatExtension.
* class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:
(AddExtensionNamespaces): Likewise. Also, ignore namespaces from
XmlElement, as we retain and write them out as-is.
(WriteExtension): Emit the XmlElement as-is.
* class/System.Web.Services/Test/System.Web.Services.Description/ServiceDescriptionTest.cs:
Update to write out the wsdl also.
2011-02-04 01:02:09 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Robert Jordan ccf0eeec37 2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=136960
2009-06-26 13:31:32 +00:00
Atsushi Eno a9c2b070ba 2008-12-09 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : reimplemented R2305 that turned out to
	  be wrong on fixing bug #443095 (fixed).

	* 443095.wsdl, WebServicesInteroperabilityTest.cs : added
	  new test for R2305 checker.


svn path=/trunk/mcs/; revision=121095
2008-12-09 13:47:07 +00:00
Atsushi Eno 29a6d49636 2008-07-01 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : it does not really resolve relative URI in
	  <import> element. It caused error, which should be reported, but
	  .net ignores it. It must be LAMESPEC. Anyways added comments.

	* WebServicesInteroperabilityTest.cs : new test. wsdl with <import>
	  should not result in an error.
	* check-import.wsdl, check-import2.wsdl : test helper files.

	* System.Web.Services_test.dll.sources :
	  added WebServicesInteroperabilityTest.cs.
	* Makefile: updated EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=107006
2008-07-01 20:17:46 +00:00
Atsushi Eno 186f4869c4 2008-07-01 Atsushi Enomoto <[email protected]>
* ServiceDescription.cs : fill RetrievalUrl by string.Empty
	  by default.

	* ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
	  Sadly it does not provide the actual URL...


svn path=/trunk/mcs/; revision=107004
2008-07-01 20:09:33 +00:00
Atsushi Eno 1d6a9d0dae 2008-07-01 Atsushi Enomoto <[email protected]>
* test3.wsdl: added missing file (though the test is ignored).


svn path=/trunk/mcs/; revision=107003
2008-07-01 20:07:23 +00:00
Vladimir Krasnov b14ed31044 ServiceDescriptionReflectorTest.cs: added tests for bug fixes: #345448, #345449, #360241
svn path=/trunk/mcs/; revision=105412
2008-06-10 11:52:25 +00:00
Lluis Sanchez 71ad99bb15 * Test/System.Web.Services.Description/ServiceDescriptionReflectorTest.cs:
Added another test for bug #345448.

svn path=/trunk/mcs/; revision=99044
2008-03-26 17:30:07 +00:00
Atsushi Eno c721ee4746 2008-02-22 Atsushi Enomoto <[email protected]>
* ProtocolReflector.cs : reverted previous change, which caused
	  several regressions.

	* TypeStubManager.cs : reverted 2007-12-11 change as it caused
	  several regressions.

	* ServiceDescriptionReflectorTest.cs : mark Bug345448() NotWorking.


svn path=/trunk/mcs/; revision=96408
2008-02-22 03:54:18 +00:00
Atsushi Eno a0f97b9372 2008-01-08 Arina Itkes <[email protected]>
* Methods.cs: Fix for compatibility with .NET:
	  In .NET if SOAPAction is set to empty string it is regarded like
	  clearly specified with empty string.

2008-01-08  Atsushi Enomoto  <[email protected]>

	* ServiceDescriptionReflectorTest.cs : added test for empty SOAP
	  action.


svn path=/trunk/mcs/; revision=92427
2008-01-08 05:41:02 +00:00
Atsushi Eno 1e9a50dbb8 2007-10-10 Atsushi Enomoto <[email protected]>
* Methods.cs : (SoapMethodStubInfo) reverted r74747 which caused
	  bug #332150.

	* ServiceDescriptionReflectorTest.cs : added test for bug #332150.


svn path=/trunk/mcs/; revision=87245
2007-10-10 08:24:53 +00:00
Atsushi Eno 6a9479d40f 2007-05-11 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs, ServiceDescriptionImporter.cs : when there
	  is no binding item for a supported protocol in a WSDL, skip such
	  protocol and try next protocol, so that it can match HTTPGET-only
	  WSDLs. Part of fix for #81457.

	* ServiceDescriptionImporterTest.cs : added ignored test for #81457.


svn path=/trunk/mcs/; revision=77240
2007-05-11 13:15:28 +00:00
Atsushi Eno 66c11ebef3 2007-05-11 Atsushi Enomoto <[email protected]>
* ServiceDescriptionReflectorTest.cs : added test for 78953 (not
	  working, hard to fix) and 79807 (already fixed).


svn path=/trunk/mcs/; revision=77195
2007-05-11 05:59:02 +00:00
Raja R Harinath 151ce93e27 Fix compile error
* ServiceDescriptionReflectorTest.cs (NullableContainer): Hide in 1.1 profile.

svn path=/trunk/mcs/; revision=73293
2007-02-22 07:43:41 +00:00
Atsushi Eno e2c6026e56 2007-02-19 Atsushi Enomoto <[email protected]>
* ServiceDescriptionReflectorTest.cs : added test for methods with
	  nullable return type.


svn path=/trunk/mcs/; revision=73121
2007-02-19 15:59:21 +00:00
Atsushi Eno 767960c157 2007-01-19 Atsushi Enomoto <[email protected]>
* ServiceDescriptionImporter.cs : initialize CodeGenerator with C#.
	* SoapProtocolImporter.cs : use XmlMemberMapping.GenerateTypeName()
	  instead of TypeFullName for 2.0 nullable support. Fixed bug #80551.

	* ServiceDescriptionImporterTest.cs : new test.
	* test2.wsdl : new test support file.

	* System.Web.Services_test.dll.sources:
	  Added ServiceDescriptionImporterTest.cs.
	* Makefile : added test2.wsdl to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=71319
2007-01-19 07:12:11 +00:00
Atsushi Eno c04c8efdf2 2006-12-15 Atsushi Enomoto <[email protected]>
* ServiceDescriptionFormatExtensionCollectionTest.cs :
	  new test.

	* System.Web.Services_test.dll.sources :
	  added ServiceDescriptionFormatExtensionCollectionTest.cs.


svn path=/branches/atsushi/mcs/; revision=69529
2006-12-15 08:21:00 +00:00
Atsushi Eno ba9c7395e0 2006-11-15 Atsushi Enomoto <[email protected]>
* WebReference.cs : added missing .ctor().

	* WebReferenceTest.cs : added new test (so minor).

	* System.Web.Services_test.dll.sources : added WebReferenceTest.cs.


svn path=/trunk/mcs/; revision=67905
2006-11-15 12:40:39 +00:00
Atsushi Eno ab2f11f5d9 2006-11-14 Atsushi Enomoto <[email protected]>
* WebReferenceOptions.cs : actually Read() raises invalid operation
	  when it raises an error.

	* WebReferenceOptionsTest.cs :
	  Read() actually causes invalid operation.


svn path=/trunk/mcs/; revision=67863
2006-11-14 17:51:15 +00:00
Atsushi Eno b6ec9e0276 2006-11-14 Atsushi Enomoto <[email protected]>
* web-reference.xsd : fixed namespace URI.
	* web-reference.genxs : genxs file.
	* WebReferenceOptionsSerializer.cs : new file, generated by genxs.
	* WebReferenceOptions.cs : implemented Read().

	* WebReferenceOptionsTest.cs :
	  added test for Read(). Fixed namespace URI.

	* System.Web.Services.dll.sources :
	  added WebReferenceOptionsSerializer.cs.


svn path=/trunk/mcs/; revision=67861
2006-11-14 17:43:32 +00:00
Atsushi Eno a375178906 2006-11-14 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources : added WebReferenceOptions.cs.
	* System.Web.Services_test.dll.sources :
	  added WebReferenceOptionsTest.cs.
	* Makefile: added web-reference.xsd to resources and dist files.

	* ServiceDescriptionImportStyle.cs : added XmlEnum attributes in
	  2.0 profile.
	* WebReferenceOptions.cs : new 2.0 class.
	* web-reference.xsd : new resource for WebReferenceOptions.Schema.

	* WebReferenceOptionsTest.cs : new test.


svn path=/trunk/mcs/; revision=67849
2006-11-14 15:10:23 +00:00
Atsushi Eno 327dbbefde 2006-11-14 Atsushi Enomoto <[email protected]>
* wsdl-1.1.xsd : imported from the spec site (schemas.xmlsoap.org)
	  to be used for ServiceDescription.Schema.
	* ServiceDescription.cs : added Schema property and validating Read() 
	  overloads.

	* ServiceDescriptionTest.cs : added test for invalid Read() inputs.

	* Makefile : added *.wsdl to the build.
	  Added wsdl and genxs to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=67815
2006-11-14 07:33:56 +00:00
Ankit Jain 907ce066d1 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Ctor): New.

In class/System.Web.Services/System.Web.Services.Description:

	* ServiceDescriptionTest.cs (Ctor): New.


svn path=/trunk/mcs/; revision=65040
2006-09-07 08:52:33 +00:00
Ankit Jain 9df1ff50f2 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Namespaces): New.

In class/System.Web.Services/System.Web.Services.Description:

	* wsdl.genxs: Remove readerhooks for "unknownAttribute" and
	"attributes".
	* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute):
	(ServiceDescription.SetExtensibleAttributes): Remove.
	* ServiceDescriptionSerializerBase.cs: Regenerated with genxs (for
	!NET_2_0 profile)
	* ServiceDescriptionSerializerBase2.cs: Generated with genxs2 (for
	NET_2_0 profile)

In class/System.Web.Services:

	* System.Web.Services.dll.sources: Add
	ServiceDescriptionSerializerBase2.cs


svn path=/trunk/mcs/; revision=64937
2006-09-05 13:41:57 +00:00
Ankit Jain 9a50adef15 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Extensions) New test.
	(CheckExtensions):
	(CheckXmlElement): New. Helper methods.
	* test.wsdl: Test wsdl.

In class/System.Web.Services/System.Web.Services.Description:

	* wsdl.genxs: Call ReadExtension for all unknown elements.
	* ServiceDescription.cs (ServiceDescription.ReadExtension): Add
	XmlDocument param. For NET_2_0, add any elements with no corresponding
	extensions to the DocumentableItem.Extensions property.
	(ServiceDescriptionSerializer.Serialize): Use
	WriteRoot_ServiceDescription instead of WriteTree.
	(ServiceDescriptionSerializer.Deserialize): Use
	ReadRoot_ServiceDescription instead of ReadTree.
	* ServiceDescriptionSerializerBase.cs: Regenerate.

svn path=/trunk/mcs/; revision=60216
2006-05-03 11:04:36 +00:00
Ankit Jain 8e24a975c8 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (ExtensibleAttributes): New test.

In class/System.Web.Services/System.Web.Services.Description:

	* DocumentableItem.cs (ExtensibleAttributes):
	(Extensions): Add missing NET_2_0 properties.
	* Port.cs:
	* OperationBinding.cs:
	* MessagePart.cs
	* Binding.cs:
	* Types.cs:
	* Service.cs:
	* OperationMessage.cs:
	* Message.cs: 
	* Import.cs: 
	* Operation.cs:
	* PortType.cs: Override and implement Extensions property. Add
	XmlFormatExtensionPoint attribute.

	* MessageBinding.cs: Abstract Extensions property is not present in
	NET_2_0.

	* wsdl.genxs: Update to process unknown attributes as ExtensibleAttributes in NET_2_0.
	* ServiceDescriptionSerializerBase.cs: Regenerated from wsdl.genxs

	* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute): New. Add attribute to
	attributes collection.
	(ServiceDescription.SetExtensibleAttributes): Set DocumentableItem.ExtensibleAttributes
	property.

	* ServiceDescriptionFormatExtensionCollection.cs
	(ServiceDescriptionFormatExtensionCollection.SetParent): Set only if
	value is a ServiceDescriptionFormatExtension type object.


svn path=/trunk/mcs/; revision=59981
2006-04-27 14:26:06 +00:00
Gert Driesen 1acd96adbe * ServiceDescriptionReflectorTest.cs: Use only one include as otherwise the
order of element on MS.NET is not consistent.

svn path=/trunk/mcs/; revision=56562
2006-02-04 09:26:40 +00:00
Gert Driesen 00d83f1d82 * ServiceDescriptionReflectorTest.cs: New test, currently marked NotWorking.
* System.Web.Services_test.dll.sources: Added ServiceDescriptionReflectorTest.cs

svn path=/trunk/mcs/; revision=56561
2006-02-04 08:17:35 +00:00
Atsushi Eno d1e3ef0cf8 2005-10-05 Atsushi Enomoto <[email protected]>
* wsdl.genxs, ServiceDescriptionSerializerBase.cs : dependent fix on
	  XmlSchema.Read(). Fixed bug #76311.
	* ServiceDescription.cs : name is null by default otherwise it fails
	  to be written.

	* ServiceDescriptionTest.cs : new file (for part of bug #76311).

	* System.Web.Services_test.dll.sources : added ServiceDescriptionTest.cs


svn path=/trunk/mcs/; revision=51260
2005-10-05 11:49:57 +00:00
Lluis Sanchez 4a37f59ce1 BindingCollectionTest.cs ChangeLog DocumentableItemTest.cs
OperationCollectionTest.cs OperationMessageCollectionTest.cs
	  OperationMessageTest.cs PortTypeCollectionTest.cs PortTypeTest.cs
	  ServiceCollectionTest.cs ServiceDescriptionCollectionTest.cs
	  SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
	  New test files by Erik LeBel.

svn path=/trunk/mcs/; revision=18080
2003-09-14 12:44:10 +00:00