diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2014-09-26 16:43:36 +0400 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2015-01-17 07:45:39 +0300 |
commit | 746650d1b93114b60feb155c2ee778a9e16ccb6d (patch) | |
tree | f8e1eb791640ba6fd887da5e64cde3a1139b42b0 /mcs/class/System.Xml.Linq | |
parent | 7d1cd56c5d97683f6dae35cb9143d8789b71c2de (diff) |
[bcl] Remove more NET_2_0 checks from class libs
Diffstat (limited to 'mcs/class/System.Xml.Linq')
-rw-r--r-- | mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest.cs | 2 | ||||
-rw-r--r-- | mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest3.cs | 17 |
2 files changed, 0 insertions, 19 deletions
diff --git a/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest.cs b/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest.cs index cbe89abb77a..10cb55203a9 100644 --- a/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest.cs +++ b/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest.cs @@ -407,7 +407,6 @@ namespace MonoTests.System.Xml Assert.AreEqual (2, iter.Count, "#1"); } -#if NET_2_0 [Test] // bug #78067 @@ -442,7 +441,6 @@ namespace MonoTests.System.Xml xr.Read (); // should be at x:val Assert.AreEqual ("urn:x", xr.LookupNamespace ("x"), "#1"); } -#endif [Test] public void GetNamespaceConsistentTree () diff --git a/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest3.cs b/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest3.cs index 8be98040096..bebc468ec9b 100644 --- a/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest3.cs +++ b/mcs/class/System.Xml.Linq/Test/System.Xml.XPath/ExtensionsTest3.cs @@ -68,14 +68,6 @@ namespace MonoTests.System.Xml // Testing Core Funcetion Library functions defined at: http://www.w3.org/TR/xpath#corelib [Test] -#if !NET_2_0 - // .NET 2.0 is fixed for last() to return 1 for the - // initial context position. Someone thinks we should follow - // the fix, but in reality we should just discard this - // pointless test. The positional value under those conditions - // does not make any sense. - [Category ("NotDotNet")] -#endif public void CoreFunctionNodeSetLast () { expression = navigator.Compile("last()"); @@ -90,15 +82,6 @@ namespace MonoTests.System.Xml } [Test] -#if !NET_2_0 - // .NET 2.0 is fixed for position() to return 1 for the - // initial context position. Someone thinks we should follow - // the fix, but in reality we should just discard this - // pointless test. The positional value under those conditions - // does not make any sense. -// [Category ("NotWorking")] - [Category ("NotDotNet")] -#endif public void CoreFunctionNodeSetPosition () { expression = navigator.Compile("position()"); |