13 Commits
Author SHA1 Message Date
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
Konstantin Triger 0ad165b0d7 TARGET_JVM: #7461 is fixed
svn path=/trunk/mcs/; revision=76892
2007-05-08 06:53:02 +00:00
Konstantin Triger 28a2fbb8dd TARGET_JVM: #7458 is fixed
svn path=/trunk/mcs/; revision=76890
2007-05-08 06:45:54 +00:00
Konstantin Triger 5147da7b64 TARGET_JVM: Ignore failing tests
svn path=/trunk/mcs/; revision=73607
2007-03-01 16:39:21 +00:00
Atsushi Eno 69a53ae15c 2007-02-07 Atsushi Enomoto <[email protected]>
* SoapReflectionImporter.cs : for primitive types, set predefined
	  namespaces, regardless of the actual specification.

	* SoapReflectionImporterTests.cs : removed some NotWorking.


svn path=/trunk/mcs/; revision=72455
2007-02-07 20:48:48 +00:00
Gert Driesen b5eb88c87f * DeserializeTest.cs: Added several tests.
* XmlSerializerTestClasses.cs: Added test classes for encoded SOAP.
* XmlSerializerTests.cs: Added new tests and fixed existing test.
* XmlReflectionImporterTests.cs: Added test for invalid default
values.
* SoapReflectionImporterTests.cs: Fixed numbering of tests.
* XmlSerializer.cs: Corrected exception message when deserialization
fails.
* SerializationCodeGenerator.cs: Added support for flag enums.
* XmlReflectionImporter.cs: Use InvalidOperationException wrapper for
all exceptions that occur while reflecting member. Validate default
values to match MS.
* SoapReflectionImporter.cs: Revert small part of previous patch as
XmlSerializer expects enum value.

svn path=/trunk/mcs/; revision=66524
2006-10-10 17:53:49 +00:00
Gert Driesen 337a3e41c9 * SoapReflectionImporterTests.cs: Added tests for bug #78206.
* SoapReflectionImporter.cs: To match MS.NET, let exceptions that are
thrown during creation of map member bubble up. Only allow
SoapAttribute on primitive types and enums. Obtain default value for
attribute members.

svn path=/trunk/mcs/; revision=66139
2006-10-01 07:42:11 +00:00
Gert Driesen e9f16365f6 * TypeData.cs: Fixed the following issues when dealing with Array
SchemaType:
- if a type implements IDictionary, throw a NotSupportedException
- if a type implements ICollection, then an Add method must exist
  which takes a single argument of a type to which the listitem type
  is assignable (meaning a base type or an interface that it
  implements). If such a method does not exist, then throw an
  InvalidOperationException.
- if a type implements IEnumerable, then the listitem type is
  determined by the type of the Current property of the (IEnumerator)
  type returned by the GetEnumerator() method or the private
  implementation of IEnumerable.GetEnumerator(). If there's no
  public Current property on the IEnumerator, then System.Object
  is assumed as listitem type. Similar as for types implementing
  ICollection, an Add method must exist which takes a single argument
  of a type to which the listitem type is assignable (meaning a base
  type or an interface that it implements). If such a method does not
  exist, then throw an InvalidOperationException.
* XmlReflectionImporter.cs: Enabled few tests for bug #77531.
* SoapReflectionImporter.cs: Enabled few tests for bug #77531.

svn path=/trunk/mcs/; revision=56956
2006-02-16 18:46:54 +00:00
Gert Driesen 919663d3dd * XmlReflectionImporterTests.cs: Added test for IDictionary import. Set eol
style to CRLF.
* SoapReflectionImporterTests.cs: Added test for IDictionary import.

svn path=/trunk/mcs/; revision=56800
2006-02-11 14:16:27 +00:00
Gert Driesen ed446584f3 * SoapReflectionImporterTests.cs: Marked test NotDotNet.
svn path=/trunk/mcs/; revision=56718
2006-02-09 17:37:18 +00:00
Gert Driesen 514da3a616 * XmlReflectionImporterTests.cs: Marked tests NotWorking until fixes have
landed in svn.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.
* XmlSerializerTestClasses.cs: Added test classes for
XmlSchemaExporter. Fixed line endings (to CRLF).

svn path=/trunk/mcs/; revision=55929
2006-01-23 07:17:04 +00:00
Gert Driesen 91a95ca4e1 * System.Xml_test.dll.sources: Added SoapSchemaExporterTests.cs,
SoapReflectionImporterTests.cs, XmlSchemaImporterTests.cs.
* XmlReflectionImporterTests.cs: Added numerous tests. No longer
derive from Assertion.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.

svn path=/trunk/mcs/; revision=55191
2006-01-07 18:52:24 +00:00