Commit Graph
15 Commits
Author SHA1 Message Date
Atsushi Eno 680bfdbdee 2008-04-17 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : check attribute identity only if the
	  source node is in the document tree. Fixed bug #380720.

	* XmlElementTests.cs : added test for bug #380720.
	* XmlAttributeTests.cs : numbered some assertions.


svn path=/trunk/mcs/; revision=101019
2008-04-17 16:02:53 +00:00
Gert Driesen 55132b42dd * XmlAttributeTests.cs: Use Assert instead of deprecated Assertion
class. Improved a few tests. Added link to MS bug report for regression
in .NET 2.0. Numbered tests.

svn path=/trunk/mcs/; revision=99456
2008-03-31 18:46:09 +00:00
Atsushi Eno a6e2f53a1d 2006-09-19 Atsushi Enomoto <[email protected]>
* XmlElement.cs : for non-atomized names, alter null prefix with "".
	  Fixed bug #79420.

	* XmlElementTests.cs : added test for #79420.
	* XmlAttributeTests.cs : added similar test.
	* XmlDocumentTests.cs : fix warnings.


svn path=/trunk/mcs/; revision=65621
2006-09-19 05:13:39 +00:00
Atsushi Eno 95f31f664c 2006-05-09 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : (WriteTo) when the namespace URI is empty,
	  always use empty string for prefix.

	* XmlAttributeTests.cs : added NonEmptyPrefixWithEmptyNS().


svn path=/trunk/mcs/; revision=60438
2006-05-09 11:55:53 +00:00
Atsushi Eno 36b7985e54 2005-12-14 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : (CreateNodeNodeTypeName) the previous fix was 
	  wrong; ArgumentException is the expected exception (it anyways won't
	  work under MS.NET 2.0).
	* XmlNodeTests.cs : added labels to assertions. another NotDotNet case.
	* XmlAttributeTests.cs : ditto.


svn path=/trunk/mcs/; revision=54351
2005-12-14 08:25:40 +00:00
Atsushi Eno f50bd018f8 2005-10-01 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlDocument.cs : check id table updates when
	  XmlAttribute.set_Value() was invoked. Fixed bug #76311.

	* XmlAttributeTests.cs : test for bug #76311.


svn path=/trunk/mcs/; revision=51080
2005-10-01 18:34:38 +00:00
Atsushi Eno 657284b696 2005-08-04 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : When there was only one child in attribute
	  and it was an entity reference, set_Value() tried to set text value
	  and thus failed.

	* XmlAttributeTests.cs : Test if set_Value() works in such cases that
	  there was only one child in attribute and it was an entity reference.


svn path=/trunk/mcs/; revision=47993
2005-08-04 09:34:09 +00:00
Atsushi Eno 71fa56f043 2005-02-25 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : MS does not reject non-NCName prefix. Patch by
	  Konstantin Triger.

	* XmlAttributeTests.cs : added nonNCName Prefix case.


svn path=/trunk/mcs/; revision=41181
2005-02-25 06:50:09 +00:00
Atsushi Eno 1395cd6eac 2003-11-28 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : Added WriteNodeFullDocument() with
	  encoding specification. Added WriteNodeNonEmptyElement().
	* XmlUrlResolverTests.cs : Added GetEntityWithNonStreamReturnType()
	  and GetEntityWithRelativeFileUri().
	* XmlTextWriterTests.cs : Added some namespace related tests.
	* XmlTextReaderTests.cs : Added char-entity and ReadBase64() tests.
	* XmlNodeTests.cs : GetPrefixOfNamespace() test also for disconnected
	  nodes.
	* XmlElementTests.cs : Added ConstructionAndDefaultAttributes().
	* XmlDeclarationTests.cs : Added InvalidInnerText().
	* XmlAttributeTests.cs : Added CheckPrefixWithNamespace().

svn path=/trunk/mcs/; revision=20590
2003-11-28 16:30:45 +00:00
Atsushi Eno 08158153ce 2003-08-24 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : Added DefaultAttributeRemoval() and
	  EmptyStringHasTextNode().
	* XmlElementTests.cs : Added RemoveDoesNotRemoveDefaultAttributes().
	* XmlReaderCommonTests.cs : Added overroaded AssertNodeValues() and
	  ReadAttributeValue().
	* XmlTextReaderTests.cs :
	  Added NotAllowedCharRef() and ExpandParameterEntity().
	  Also added but ignored tests: UndeclaredEntityInIntSubsetOnlyXml()
	  and UndeclaredEntityInStandaloneXml().
	* XmlValidatingReaderTests.cs : TestAttributeDefaultContribution()
	  refactory.
	* Added XsdParticleValidationTests.cs and XsdValidatingReaderTests.cs.

svn path=/trunk/mcs/; revision=17558
2003-08-24 19:04:01 +00:00
Atsushi Eno 85b67a618e 2003-07-26 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added IdentityConstraints().
	* XmlDocumentTests.cs : added DocumentTypeNodes().
	* XmlNodeTests.cs : added InnerText().
	* XmlReaderCommonTests.cs : added XmlValidatingReader as one of the
	  testing reader. Added IndexerAndAttributes().
	* XmlValidatingReader.cs : modified TestAttributes() to have
	  ReadAttributeValue() tests. Added TestIdentityConstraints()

svn path=/trunk/mcs/; revision=16718
2003-07-26 19:46:11 +00:00
Atsushi Eno 1d6b0bbb13 2003-05-18 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : added FlushDoesnTCloseTag() and
	  WriteWhitespaceCloseTag() (patch by Jonathan Hogg).
	  added more tests to AttributeWriteAttributeString().
	* XmlAttributeTests.cs : SetInnerTextAndXml() rewrite.

svn path=/trunk/mcs/; revision=14657
2003-05-18 07:36:51 +00:00
Atsushi Eno df14a8aaf0 2003-05-16 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added NamespaceAttributes() and WriteTo().
	* XmlDocumentTests.cs : fixed invalid xml of DocumentWithDoctypeDecl()
	  and not well-formed xml of OuterXmlWithDefaultXmlns().
	* XmlElementTests.cs : added IsEmpty(). fixed not well-formed xml of
	  WriteToWithDefaultNamespace().
	* XmlNodeReaderTests.cs : fixed incorrect result expectation of
	  ReadInnerXmlWrongInit().
	* XmlNodeTets.cs : applied USE_VERSION_1_1 for InsertBefore()/-After().
	* XmlReaderCommonTests.cs,
	  XmlTextReaderTests.cs : moved EntityReference() and EntityReference-
	  InsideText() to XmlTextReaderTests.cs, since XmlNodeReader is expected
	  to resolve these entity references.
	* XmlTextWriterTests.cs : removed English-dependent error message check.
	  fixed incorrect state-check ignorant blocks of WriteAttributes ().
	* XmlWriterTests.cs : modified WriteNodeFullDocument() and WriteNode-
	  XmlDecl() as MS.NET results in.

svn path=/trunk/mcs/; revision=14610
2003-05-15 19:09:10 +00:00
Martin Willemoes Hansen ba234c2a4a * Tests inherits from Assertion and Assertion. prefixes removed
svn path=/trunk/mcs/; revision=14558
2003-05-13 20:41:56 +00:00
Atsushi Eno bef07b2478 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find ChangeLog entries before than this day.

svn path=/trunk/mcs/; revision=13549
2003-04-12 13:39:49 +00:00