Commit Graph
28 Commits
Author SHA1 Message Date
Marek Safar 9215ddf7ad Make XmlWriterSettingsTests .net compatible 2012-06-06 14:52:01 +01:00
Marek Safar 7b3f562eab A fix for failing xml writer tests 2012-05-31 11:25:24 +01:00
Atsushi Eno 60d5aeb3f8 2009-07-22 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : name test did not handle String.Empty cases
	  for name and ns (i.e. no filter). Fixed bug #515136.

	* XPathNavigatorTests.cs : added test for bug #515136.


svn path=/trunk/mcs/; revision=138384
2009-07-22 11:05:00 +00:00
Raja R Harinath b10bc254b9 * XPathNavigatorTests.cs (XPathDocumentMoveToId) [!NET_2_0]: Fix compile.
svn path=/trunk/mcs/; revision=137152
2009-06-30 15:15:39 +00:00
Atsushi Eno bea9bf9dc0 2009-06-26 Atsushi Enomoto <[email protected]>
* SelectNodesTests.cs
	  XPathNavigatorCommonTests.cs
	  XPathAtomicValueTests.cs
	  XPathNavigatorTests.cs
	  XPathNavigatorEvaluateTests.cs : convert to newer nunit style.


svn path=/trunk/mcs/; revision=136928
2009-06-26 05:26:36 +00:00
Atsushi Eno be335acb42 another dos2unix.
svn path=/trunk/mcs/; revision=136917
2009-06-26 02:15:22 +00:00
Atsushi Eno 0b09797b9f 2008-12-09 Atsushi Enomoto <[email protected]>
* Iterator.cs : DescendantIterator.Clone() was not cloning current
	  node in new code. Fixed bug #456103.

	* XPathNavigatorTests.cs : added test fo bug #456103.


svn path=/trunk/mcs/; revision=121080
2008-12-09 08:12:07 +00:00
Atsushi Eno bea2f84c76 2008-04-02 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : fixed InnerXml to not give up with root node.
	  Indent InnerXml. Fixed bug #376191.

	* XPathNavigatorTests.cs : added test for bug #376191.


svn path=/trunk/mcs/; revision=99623
2008-04-02 08:23:10 +00:00
Atsushi Eno e874b958bf 2008-03-17 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder2.cs : allow document fragment as XmlReader
	  input. Fixed bug #324606.

	* XPathNavigatorTests.cs : added test for bug #324606.


svn path=/trunk/mcs/; revision=98446
2008-03-17 09:38:02 +00:00
Atsushi Eno d6fa107ffc 2008-02-27 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : in some MoveTo*() methods, it should allow any
	  destination node when "type" is XPathNodeType.All. Based on the
	  patch by Sanghyeon Seo, fixed bug #365112.

	* XPathNavigatorTests.cs : added test for bug #365112.


svn path=/trunk/mcs/; revision=96753
2008-02-27 11:45:11 +00:00
Atsushi Eno 2ef590022e 2007-11-29 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : implemented ValueAs().

	* XPathNavigatorTests.cs : added ValueAs() test.


svn path=/trunk/mcs/; revision=90443
2007-11-29 17:20:54 +00:00
Atsushi Eno 8da0d1e779 2007-01-05 Atsushi Enomoto <[email protected]>
* Expression.cs : text() should match whitespace and significant
	  whitespace nodes.

	* XPathNavigatorTests.cs : added test for text() and whitespace/
	  significantwhitespace node.


svn path=/trunk/mcs/; revision=70536
2007-01-05 16:20:04 +00:00
Atsushi Eno 23638c8d3c 2006-12-05 Atsushi Enomoto <[email protected]>
* XmlNode.cs : GetPrefixOfNamespace() was not correctly searching
	  ancestors' namespaces.

	* XPathEditableDocument.cs : those writers should lookup prefix when
	  WriteStartElement/WriteStartAttribute are passed null prefix.
	  Removed nodeStack in XmlDocumentInsertionWriter, since nodes are
	  always added to current node immediately.

	* XmlNodeTests.cs : added another test for GetPrefixOfNamespace().

	* XPathNavigatorTests.cs : added test for XPath navigator editor's
	  LookupPrefix().


svn path=/trunk/mcs/; revision=69021
2006-12-05 10:07:29 +00:00
Atsushi Eno 25fc3e1f3b 2006-11-10 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs :
	  - ReadSubtree() should reject everything but Element or Root.
	  - InnerXml and OuterXml should not use ReadSubtree() when it is
	    not positioned on an Element or the Root. Thus, implement them
	    in their own ways. Fixed bug #79875.

	* XPathNavigatorTests.cs : added test for bug #79875, and some
	  "escaped" text tests for InnerXml.
	* XPathNavigatorReaderTests.cs : make sure that most of XPath nodes
	  are rejected to read subtree.


svn path=/trunk/mcs/; revision=67659
2006-11-10 01:39:23 +00:00
Atsushi Eno e19092967f 2006-11-10 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : InnerXml should allow Text-only content. Fixed
	  bug #79874, when tied to XPathNavigatorReader fix.

	* XPathNavigatorReader.cs : removed node type restriction on 
	  initialization.  Fixed bug #79874, when tied to XPathNavigator fix.

	* XPathNavigatorTests.cs : added test for bug #79874.


svn path=/trunk/mcs/; revision=67653
2006-11-10 00:08:43 +00:00
Atsushi Eno 5d5594ef4b 2006-10-27 Atsushi Enomoto <[email protected]>
* XsltContext.cs : finally created a non-copyright-infringing test
	  for bug #46751 and fixed it.

	* XPathNavigatorTests.cs : added (kind of) test for bug #46751.


svn path=/trunk/mcs/; revision=67045
2006-10-27 20:51:56 +00:00
Atsushi Eno 79479e6643 2005-12-12 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : removed some MonoTODOs.

	* XPathNavigatorTests.cs : added tests for ValueAsXxx properties.


svn path=/trunk/mcs/; revision=54233
2005-12-12 12:21:09 +00:00
Atsushi Eno 9a196ea564 2005-10-23 Atsushi Enomoto <[email protected]>
* XPathNavigatorCommonTests.cs, XPathNavigatorTests.cs,
	  XPathNavigatorEvaluateTests.cs :
	  Added assertion labels. Marked some tests as NotDotNet under 2.0.


svn path=/trunk/mcs/; revision=52094
2005-10-23 18:09:20 +00:00
Atsushi Eno 95dcc01dc2 2005-02-14 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : new test code was broken.


svn path=/trunk/mcs/; revision=40638
2005-02-14 16:57:04 +00:00
Atsushi Eno 4958d9c1bd 2005-02-14 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added SignificantWhitespaceConstruction().


svn path=/trunk/mcs/; revision=40636
2005-02-14 16:24:52 +00:00
Atsushi Eno 0c7bf47bb5 2004-03-31 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : Added PropertiesOnNamespace().

svn path=/trunk/mcs/; revision=24839
2004-03-31 13:01:23 +00:00
Atsushi Eno 325b8fddcf 2004-01-28 Atsushi Enomoto <[email protected]>
* XPathNavigatorCommonTests.cs : Added MoveToNamespace and IsDescendant.
	* XPathNavigatorTests.cs : Close XmlTextReader.

svn path=/trunk/mcs/; revision=22570
2004-01-28 07:30:59 +00:00
Atsushi Eno 103709e64e 2003-12-18 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : Added XPathDocumentMoveToId().

svn path=/trunk/mcs/; revision=21313
2003-12-18 09:03:37 +00:00
Atsushi Eno ff31037f67 2003-09-26 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added SelectFromOrphan().

svn path=/trunk/mcs/; revision=18309
2003-09-26 12:35:05 +00:00
Atsushi Eno 2b885bd987 2003-06-01 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added DocumentWithProcessingInstruction().

svn path=/trunk/mcs/; revision=15041
2003-06-01 05:58:05 +00:00
Atsushi Eno 8f3bc364db 2003-05-16 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : fixed not well-formed xml of
	  DocumentWithXmlDeclaration().

svn path=/trunk/mcs/; revision=14611
2003-05-15 19:11:17 +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 4d2802ba1b 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.

svn path=/trunk/mcs/; revision=13551
2003-04-12 13:43:23 +00:00