Atsushi Eno
976be34045
[xml] XmlTextReader: Value was wrong after ReadAttributeValue() on xml declaration.
2014-10-24 12:20:09 +08:00
Marcos Henrich
007413298d
Test Xml serialization of a property with attribute XmlText.
...
The tested property has a default value that is not null.
Covers 18908.
2014-09-26 10:31:51 +01:00
Marcos Henrich
8790297c85
Test xml serialization of nullable array items. Covers #19012 .
2014-09-15 16:55:31 +01:00
Marcos Henrich
85650c7528
Test serialization wen class has method bool ShouldSerialize<T>().
...
.NET throws an exception but it should have no effect on the serialization.
2014-09-15 13:02:00 +01:00
Marcos Henrich
17ad50a165
Added test for optional {V}Specified and ShouldSerialize{V}.
...
{V}Specified is a property or field and ShouldSerialize{V} is a method that can be set to false if we do not want to serialize an attribute with name {V}.
2014-09-15 13:02:00 +01:00
Marcos Henrich
f008d4afb6
Test XmlSerialization of element that requires implicit conversion.
...
Covers #20403 .
2014-09-10 16:30:03 +01:00
Alexander Köplinger
ddcfc42070
Cleanup namespace names of class lib tests to follow convention
...
A couple of the test suites didn't follow the MonoTests.<namespace of class under test> naming convention for the namespace.
2014-09-04 18:55:58 +02:00
Zoltan Varga
03aee949f1
Merge pull request #1200 from akoeplinger/remove-jvm
...
[Cleanup] Remove TARGET_JVM
2014-08-28 19:17:43 -04:00
Marcos Henrich
d7f5c71baa
Test xls transformation of single child node to an attribute.
2014-08-27 20:20:47 +08:00
Marcos Henrich
5df652e7d2
Test SerializationCodeGenerator.
...
XmlSerializerTests was mostly testing XmlSerializationReaderInterpreter and XmlSerializationWriterInterpreter.
XmlSerializerGeneratorTests forces the usage of SerializationCodeGenerator while running XmlSerializerTests.
2014-08-22 02:56:05 +08:00
Marcos Henrich
dd6aca8621
Tests serialization of XmlNode field with attribute XmlAnyElement.
...
Covers #3211 .
2014-08-22 02:42:19 +08:00
Marcos Henrich
2c5f30d7bd
Added test BaseClassWithoutParameterlessConstructor.
...
Covers #6913
2014-08-18 14:08:02 +01:00
Marcos Henrich
6c5ea03852
Test XmlSerialization of class with XmlSchemaProvider with IsAny.
...
Covers #11916 .
2014-08-18 11:40:58 +01:00
Alexander Köplinger
48e112d652
[Cleanup] Removed TARGET_JVM
...
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Alexander Köplinger
5f4b8c2cf4
[Cleanup] Removed JavaEE csproj and sln files
...
They were once part of a special Java target profile, but this is no longer used today.
2014-08-07 23:01:53 +02:00
Marek Safar
bdd8f8212f
Merge pull request #1198 from chriswebb/master
...
Fixed issue where XmlReflectionImporter unable to handle XmlEnums with colons
2014-08-07 08:18:30 +02:00
Chris Webb
1a3ec8c3b3
Fixed issue related to fully qualified namespaces being used for XmlEnumAttribute values.
2014-08-07 06:15:55 +00:00
Alexander Köplinger
0450000dc4
[Cleanup] Removed a bunch of superfluous .csproj and .sln files
...
Most of these files weren't updated in the last >5 years and serve no purpose today, so they only clutter the repository.
2014-08-06 18:02:30 +02:00
Alexis Christoforides
2d2d90eeb2
Merge pull request #961 from ermshiperete/bug-xamarin-18118
...
[System.XML] XSL bugfixes for #18118 #18114 #18113
2014-04-28 14:16:46 -04:00
Alexis Christoforides
94b523275e
[XML] Added unit test for multiple XMLElement attributes on arrays & ArrayLists
2014-04-08 18:05:46 -04:00
Damien Daspit
bc802fe9ff
[System.XML] Add unit test for XSL value-of bug ( #18113 )
2014-03-17 16:22:34 +01:00
Damien Daspit
bdde4c4147
[System.XML] Add unit test for XSL note-set bug ( #18114 )
2014-03-17 16:04:12 +01:00
Damien Daspit
c1d5e5ca14
[System.XML] Add unit test for #18118
2014-03-17 15:16:04 +01:00
Alistair Bush
eaa5a184ca
Add test to ensure using concrete List as readonly property still serializes
...
This change is released under the MIT license.
2014-03-09 01:12:06 +13:00
Alistair Bush
f3296a1559
When a read only property and the type is an interface we can't serialize the type.
...
This change is released under the MIT license.
2014-03-09 01:05:24 +13:00
Marek Safar
2009c2284e
Merge pull request #922 from ermshiperete/novell-bug-599689
...
Fix Novell bug 599689
2014-02-27 16:41:04 +01:00
Eberhard Beilharz
86164dac13
[Sys.Xml] Add unit test for Novell bug #599689
...
The unit test demonstrates a difference between Mono and .NET
(https://bugzilla.novell.com/show_bug.cgi?id=599689 ).
2014-02-27 16:28:08 +01:00
Eberhard Beilharz
c0ef1fcb02
[Sys.Xml] Add unit test for Novell bug #594490
...
The unit test demonstrates the problem of serializing the
xml:lang attribute.
2014-02-27 15:57:57 +01:00
Miguel de Icaza
2cf74970a1
Merge pull request #835 from HorstKakuschke/master
...
Fixes Xamarin Bug 16742: XmlConvert.ToDateTime(string, XmlDateTimeSeria...
2014-02-12 15:24:11 -05:00
Marek Safar
a6e236b2d6
[system.xml] Support more primitive types in XmlReader::ReadContentAs
2014-02-10 23:10:58 +01:00
Andrés G. Aragoneses
0eb40ad2da
Fix very sticky typo in numerous places
2014-01-19 17:51:24 +01:00
Horst Kakuschke
280fe42c65
Additional tests for Xamarin Bug 16742 + style enhancements
2013-12-17 13:53:25 +01:00
Horst Kakuschke
2ff1bf33aa
Fixes Xamarin Bug 16742: XmlConvert.ToDateTime(string, XmlDateTimeSerializationMode) throws index out of bounds exception
...
Fix for bug + added tests for method
XmlConvert.ToDateTime(string, XmlDateTimeSerializationMode)
2013-12-11 20:14:17 +01:00
Marek Safar
31cab6a76d
Fixes build
2013-11-29 13:51:02 +01:00
Atsushi Eno
2f7631188b
revive XSLT standalone tests (which was broken because of dependency on too old nunit and build profiles).
2013-10-02 23:04:44 +09:00
Alexander Köplinger
3dfeae598a
Fixed inconsistency in XmlSchemaValidatingReader between Mono and MS.NET
2013-09-11 12:38:19 +02:00
Sebastien Pouliot
b46b038f33
Fix test case not to assume it can write in the current directory
2013-08-21 19:54:09 -04:00
Atsushi Eno
b62bb260ec
Fix bug #4344 - xsl:stylesheet always ignored xsl template contents.
2013-08-09 19:47:20 +09:00
Atsushi Eno
2cc36e3331
Fix bug #13716 - use XmlSchemaSettings.XmlResolver to resolve schemas.
2013-08-08 21:38:47 +09:00
Atsushi Eno
874d3b1389
Fix bug #12035 - xsi:nil='true' was ignored in some scenario.
...
"some scenario" I mean:
- There is a sequence with more than one elements in xsd,
- The second element is nillable and its type has content elements, and
- The corresponding XML element specifies xsi:nil='true'
Then it resulted in a validation error as if it were missing the required
content.
2013-08-08 01:00:10 +09:00
Atsushi Eno
72d14cca36
Fix bug #12469 - add more conversion methods to XmlAtomicValue.
...
Since XmlAtomicValue is pretty much hidden in the implementation, there is
almost no way to verify how it should work. So the changes are all based on
assumption. Yet I added a test based on bug #12469 .
There is still problem on processing *invalid* inputs. They have to be
rejected, but they pass.
2013-08-07 18:54:03 +09:00
Sebastien Pouliot
c3b782f4ec
Do not assume the unit tests can write in the application directory (e.g. iOS devices). Use the temporary directory and open files in read-only
2013-03-18 17:38:28 -04:00
Marek Safar
1d8669c5c5
Clean up test encoding
2013-03-01 22:08:56 +01:00
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
19eac76e6e
Fix regression in XmlSchemaValidator (bug #10245 ): collection misoperation due to parameter renaming.
2013-02-13 21:13:27 +09:00
Atsushi Eno
acdf48cf71
fix bug #6653 : change xs component validation logic regarding recursion check.
...
Originally this implementation checked recursion based on RELAX NG-inspired
algorithm explained at http://www.thaiopensource.com/relaxng/simplify.html .
This works only for "simple" syntax, which premises that every <element> is
defined under top-level <define> element. XML Schema doesn't follow this
and could result in infinite loop like reported.
The latest REC-xmlschema-1 denotes the explicit rule on illegal recursion
on 3.8.6 (Model Group Correct) as:
2 Circular groups are disallowed. That is, within the {particles} of a group there must not be at any depth a particle whose {term} is the group itself.
... so, I simply replaced the checker with simple Stack.
(oh, and for old Stack I haven't bothered to replace non-generic collection
everywhere. XSD is as dead as System.Collection.)
2013-02-08 20:19:14 +09:00
Lluis Sanchez
0c2e8c9455
Add some unit tests for bug 9193
2013-01-09 13:43:56 +01:00
Lluis Sanchez
3a6c0cf166
Add tests for bug #8468
...
Conflicts:
mcs/class/System.XML/Test/System.Xml.Serialization/DeserializeTests.cs
2012-11-19 21:21:03 +01:00