Commit Graph
13 Commits
Author SHA1 Message Date
Atsushi Eno fe6e513cf7 Revert previous XPath fix. Fix is rather needed in XPathNodeIterator.GetEnumerator().
The thing is, XPathNodeIterator itself is stateful and does not behave
like IEnumerable, thus GetEnumerator() should not iterate nodes within
*itself*. Rather, it should have returned a clone of it.

After all we didn't have to damage performance to fix bug #3705, which is nice.
2012-03-08 18:11:30 +09:00
Atsushi Eno b88e6a3206 Reuse of XPathNavigator instance is error-prone. Fixed bug #3705. This may significantly harm performance though... 2012-03-08 17:32:16 +09:00
David Eisner 2c59464850 Removal of XPath debugging code relating to bug #497017, leaving the new test cases 2011-07-21 23:29:21 +01:00
David Eisner 1bcf143d6a XPath test cases and debugging code relating to bug #497017 2011-07-21 23:20:13 +01: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 a74f0aa1a6 dos2unix.
svn path=/trunk/mcs/; revision=136916
2009-06-26 01:44:37 +00:00
Atsushi Eno efb1509fd7 2009-03-17 Atsushi Enomoto <[email protected]>
* Expression.cs : gave up another optimization for bug #443090.

	* SelectNodesTests.cs : added 2nd test for bug #443490.


svn path=/trunk/mcs/; revision=129574
2009-03-17 11:29:32 +00:00
Atsushi Eno c982bb5013 2009-01-20 Atsushi Enomoto <[email protected]>
* Expression.cs : give up sortless iterator optimization.
	  Fixed bug #443490.

	* SelectNodesTests.cs : added test for bug #443490.


svn path=/trunk/mcs/; revision=123871
2009-01-20 11:37:44 +00:00
Atsushi Eno 29dd077cdd 2009-01-20 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : in some corner cases an attribute
	  may have null OwnerElement. Fixed bug #458245.

	* SelectNodesTests.cs : added test for bug #458245.


svn path=/trunk/mcs/; revision=123868
2009-01-20 10:46:06 +00:00
Konstantin Triger 1532e9daba prevent endless recursion in AncestorIterator while collecting results
svn path=/trunk/mcs/; revision=95369
2008-02-10 12:27:49 +00:00
Atsushi Eno 8fc32b5ea4 2004-03-24 Atsushi Enomoto <[email protected]>
* SelectNodesTests.cs : Added test for 1) not selecting previously-
	  selected prefixes, and that 2) default namespace erasure (i.e.
	  xmlns="") should not be selected.

svn path=/trunk/mcs/; revision=24530
2004-03-24 18:19:51 +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
Gonzalo Paniagua Javier 905844433a 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* SelectNodesTests.cs: moved...
	* System.Xml.XPath/SelectNodesTests.cs: ...here

svn path=/trunk/mcs/; revision=13560
2003-04-12 16:11:52 +00:00