Commit Graph
17 Commits
Author SHA1 Message Date
Rodrigo Kumpera abe9dc6206 Revert "Fix object::GetType when remoting is enabled."
This reverts commit 93e2d1dc48.
2013-03-01 10:54:09 -05:00
Rodrigo Kumpera 93e2d1dc48 Fix object::GetType when remoting is enabled. 2013-03-01 10:52:03 -05:00
Marek Safar dd4cc7ca66 Tests update for mobile profile 2013-03-01 15:31:25 +01:00
Atsushi Eno 25ad683a61 2007-10-30 Atsushi Enomoto <[email protected]>
* XmlSchemaExporterTests.cs : without Infoset(), those tests randomly
	  fail on .NET. This fix is incomplete. Someone please continue this
	  boring work. I don't want to do that.


svn path=/trunk/mcs/; revision=88453
2007-10-30 13:07:14 +00:00
Atsushi Eno 6959e0c1d3 2007-09-25 Atsushi Enomoto <[email protected]>
* XmlSerializerTests.cs : added deserialization test for
	  XmlSchemaProviderAttribute use.
	* XmlReflectionImporterTests.cs : added test for conclict resolution
	  between defaultNamespace and XmlSchemaProvider() namespace.
	* XmlSchemaExporterTests.cs : use Infoset() comparison.

	* XmlTypeMapping.cs : Namespace and XmlTypeNamespace could be
	  different when an explicit namespace is specified (e.g. at
	  XmlReflectionImporter.ctor).
	* SerializationCodeGenerator.cs,
	  XmlSerializationWriterInterpreter.cs :
	  revert XmlTypeMapping.XmlTypeNamsepace usage. Now with the fix
	  above, original code should work fine.


svn path=/trunk/mcs/; revision=86346
2007-09-25 17:35:18 +00:00
Konstantin Triger cc884fc062 add partial support for XmlSchemaProviderAttribute
svn path=/trunk/mcs/; revision=80864
2007-06-27 12:50:39 +00:00
Atsushi Eno 1552791781 2007-02-07 Atsushi Enomoto <[email protected]>
* XmlSerializationWriter.cs : WriteTypedPrimitive() infers the type
	  when the name is null (almost no need to do this, but it is easier
	  to remove NotWorking from extraneous tests and let them hush than
	  removing them).

	* XmlSerializationWriterTests.cs : removed some NotWorking.


svn path=/trunk/mcs/; revision=72436
2007-02-07 17:11:43 +00:00
Gert Driesen 0cee60a6a0 * XmlSchemaExporterTests.cs: Added tests for (part of) bug #78214.
* XmlSchemaExporter.cs: Emit xml name of enum-based default values.
Set XmlSchemaAttribute.Use to Required if no default value is defined,
and member is not an optional value type. Element should have minOccurs
1 if value type member has default value. Output flag enum type as
xsd list with restriction.
* XmlReflectionImporter.cs: Removed special casing of enums. Instead
of passing namespace of XmlAttribute to ImportTypeMapping, use the
default namespace for importing the member type.

svn path=/trunk/mcs/; revision=68887
2006-12-03 13:51:16 +00:00
Atsushi Eno 96a0854809 2006-11-10 Atsushi Enomoto <[email protected]>
Fixed bug #77117.
	* XmlReflectionImporter.cs : Compute nullable correctly. Elements are
	  nillable when its type is a reference type.
	* XmlSchemaExporter.cs :
	  Set XmlTypeMapElementInfo.IsNullable from XmlTypeMapping.
	  Set XmlSchemaElement.IsNillable from XmlTypeMapElementInfo.

	* XmlSchemaExporterTests.cs :
	  fixed almost all test cases which expected totally wrong schemas.
	  Schema elements are all nillable unless it is of value type.


svn path=/trunk/mcs/; revision=67662
2006-11-10 10:01:59 +00:00
Gert Driesen 62d8571061 * XmlSchemaExporter.cs: Introduce XmlSchemaObjectContainer class to
allow XML Schema items to be added to its parent in the same order
as MS.NET (schema elements before complex types, ...).
* XmlSchemaExporterTests.cs: Enabled tests which failed due to bug
#78145.

svn path=/trunk/mcs/; revision=59804
2006-04-24 10:27:55 +00:00
Gert Driesen 96bb8cbfee * XmlSchemaExporterTests.cs: Enabled tests for bug #77111.
* XmlSchemaExporter.cs: Import namespace of schema generated for
non-xsd primitive. Do not set zero-length TargetNamespace to avoid
emitting empty targetNamespace attribute in generated schema.
* XmlReflectionImporter.cs: Use WSDL types namespace for non-xsd
primitives.

svn path=/trunk/mcs/; revision=58132
2006-03-18 06:30:13 +00:00
Gert Driesen a8b7a205f6 * XmlSchemaExporterTests.cs: Reworked tests that fail on Mono due to bug
#77117 to pass on Mono (until that bug is fixed) and mark these tests 
NotDotNet.

svn path=/trunk/mcs/; revision=56563
2006-02-04 10:24:02 +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
Gert Driesen 1178126915 * XmlSchemaExporterTests.cs: Added tests for exporting structs, and
arrays. Added tests for bug #77117. Refactored some existing tests.

svn path=/trunk/mcs/; revision=54915
2005-12-29 18:50:09 +00:00
Gert Driesen 94c0b8b885 * XmlSchemaExporterTests.cs: Correct mistake.
svn path=/trunk/mcs/; revision=54900
2005-12-28 14:56:22 +00:00
Gert Driesen 8d6889edd0 * XmlSerializerTests.cs: Added serialization test for XmlSchema.
* XmlSchemaExporterTests.cs: Added tests for class, IXmlSerializable
and primitives.
* System.Xml_test.dll.sources: Added XmlSchemaExporterTests.cs.

svn path=/trunk/mcs/; revision=54898
2005-12-28 14:33:50 +00:00