diff options
Diffstat (limited to 'mcs/class/System.XML/Test/System.Xml/XmlUrlResolverTests.cs')
-rw-r--r-- | mcs/class/System.XML/Test/System.Xml/XmlUrlResolverTests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml/XmlUrlResolverTests.cs b/mcs/class/System.XML/Test/System.Xml/XmlUrlResolverTests.cs index 6926379c96a..9d085ec5036 100644 --- a/mcs/class/System.XML/Test/System.Xml/XmlUrlResolverTests.cs +++ b/mcs/class/System.XML/Test/System.Xml/XmlUrlResolverTests.cs @@ -12,6 +12,8 @@ using System.Xml; using NUnit.Framework;
using System.Reflection;
+using MonoTests.Helpers;
+
namespace MonoTests.System.Xml
{
[TestFixture]
@@ -28,7 +30,7 @@ namespace MonoTests.System.Xml [Test]
public void FileUri ()
{
- Uri resolved = resolver.ResolveUri (null, "Test/XmlFiles/xsd/xml.xsd");
+ Uri resolved = resolver.ResolveUri (null, TestResourceHelper.GetFullPathOfResource ("Test/XmlFiles/xsd/xml.xsd"));
Assert.AreEqual ("file", resolved.Scheme);
Stream s = resolver.GetEntity (resolved, null, typeof (Stream)) as Stream;
}
|