Commit Graph
14 Commits
Author SHA1 Message Date
Andrés G. Aragoneses 0eb40ad2da Fix very sticky typo in numerous places 2014-01-19 17:51:24 +01:00
Atsushi Eno e9f0b186ac 2009-11-11 Atsushi Enomoto <[email protected]>
* XmlNodeReaderImpl.cs : when the reader is at attribute value,
	  MoveToNextAttribute() incorrectly moved to the first attribute.
	  Fixed bug #550379.

	* XmlNodeReaderTests.cs : added test for bug #550379.


svn path=/trunk/mcs/; revision=145910
2009-11-11 02:41:28 +00:00
Robert Jordan bd7622796a 2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=137010
2009-06-26 21:06:21 +00:00
Atsushi Eno 9eb523dd9f 2006-02-21 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : added internal LookupPrefixExclusive()
	  which discards "overriden" namespaces.
	* XmlTextWriter2.cs : fresh implementation.
	  - The source structure is simplified and cleaner.
	  - When outputting escaped string, output directly to TextWriter.
	  - roughly 20% performance improvement.

	  (Also fixed previous perf. evaluation excess in ChangeLog.)


	* XmlReaderCommonTests.cs : added custom assertion overload that takes
	  test label.
	* XmlNodeReaderTests.cs : labeled some.
	* XmlTextWriterTests.cs :
	  Changed the semantics of AttributeNamespacesXmlnsXmlns() and
	  removed NotDotNet (in contrast this test should fail with previous
	  version of XmlTextWriter). See the code comment for details.
	  Added WriteQualifiedNameXmlnsError().


	* System.Xml.dll.sources : removed XmlTextWriterOpenElement.cs and 
	  XmlTextWriter.cs. Added XmlTextWriter2.cs, to be renamed to
	  XmlTextWriter.cs in a few days or weeks.


svn path=/trunk/mcs/; revision=57095
2006-02-21 15:39:10 +00:00
Atsushi Eno 795d84863f 2005-10-23 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : (Error state check) actually I need to set Error.

	* XmlNamespaceManagerTests.cs : GetNamespacesInScope() - Added test 
	   labels. Fixed counts; they count default namespaces. MS seems to
	   have a bug on declaration removal (xmlns='') on .Local.
	* XmlNodeReaderTests.cs : in .NET 2.0 undeclared entity are not
	  allowed at all, so disabled tests that depends on such references.


svn path=/trunk/mcs/; revision=52101
2005-10-23 20:13:10 +00:00
Atsushi Eno 280e5f8d48 2005-09-28 Atsushi Enomoto <[email protected]>
* XmlNodeReaderImpl.cs : when the source node was not a document and
	  it is an empty element, Read() was incorrectly moving to the parent
	  of the source node. Patch by Csaba Halasz. Fixed bug #76260.

	* XmlNodeReaderTests.cs : added test for bug #76260.


svn path=/trunk/mcs/; revision=50962
2005-09-28 18:13:34 +00:00
Atsushi Eno 5b7207c7b1 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlNodeReaderTests.cs : numbered some of asserts.

svn path=/trunk/mcs/; revision=35815
2004-11-08 06:59:14 +00:00
Atsushi Eno 485add530e 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlAttributeCollectionTests.cs : Added RemoveDefaultAttribute().
	* XmlDocumentTests.cs, XmlElementTests.cs, XmlNodeReaderTests.cs,
	  XmlTextReaderTests.cs, XmlTextWriter.cs, XmlWriterTests.cs :
	  Close or avoid XmlTextReader.

svn path=/trunk/mcs/; revision=22053
2004-01-14 08:02:53 +00:00
Atsushi Eno b7e96960e4 2003-07-31 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added LoadThrowsUndeclaredEntity() and
	  CreateEntityReferencesWithoutDTD().
	* XmlNodeReaderTests.cs : added ResolveEntity(), ResolveEntity2() and
	  ResolveEntityWithoutDTD().

svn path=/trunk/mcs/; revision=16947
2003-07-31 18:06:47 +00:00
Atsushi Eno 19b526cef1 2003-07-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs,
	  XmlNodeTests.cs,
	  XmlTextWriterTests.cs : removed some compilation warning.
	* XmlNodeReaderTests.cs : reverted Jul. 12th. ReadInnerXmlWrongInit()
	  incorrect commit.
	* XmlValidatingReaderTests.cs : Code refactory (removed xml1, xml2...
	  and changed PrepareXmlReader() as returning validating reader.
	  Added indexer (this[]) property check and ValidationType.None check
	  to TestAttributeDefaultContribution().
	  Added TestExpandEntity(), TestPreserveEntity() and TestNormalization().

svn path=/trunk/mcs/; revision=16616
2003-07-24 17:34:42 +00:00
Atsushi Eno f218c0ded5 2003-07-12 Atsushi Enomoto <[email protected]>
* XmlNodeReaderTests.cs : Fixed ReadInnerXmlWrongInit() for correct
	  ReadState check.
	* ChangeLog was incorrectly added about above stuff.
	* XmlTextReaderTests.cs : added some reader's state check tests and
	  ReadAsElementContent and ReadAsAttributeContent.
	* XmlTextWriterTests.cs : added DontOutputMultipleXmlns().

svn path=/trunk/mcs/; revision=16132
2003-07-12 07:44:45 +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