diff options
Diffstat (limited to 'mcs/class/Commons.Xml.Relaxng/Test/RelaxngReaderTests.cs')
-rw-r--r-- | mcs/class/Commons.Xml.Relaxng/Test/RelaxngReaderTests.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/Commons.Xml.Relaxng/Test/RelaxngReaderTests.cs b/mcs/class/Commons.Xml.Relaxng/Test/RelaxngReaderTests.cs index 802da2d1755..ca1df825b02 100644 --- a/mcs/class/Commons.Xml.Relaxng/Test/RelaxngReaderTests.cs +++ b/mcs/class/Commons.Xml.Relaxng/Test/RelaxngReaderTests.cs @@ -13,6 +13,8 @@ using System.Xml; using Commons.Xml.Relaxng; using NUnit.Framework; +using MonoTests.Helpers; + namespace MonoTests.Commons.Xml.Relaxng { [TestFixture] @@ -33,7 +35,7 @@ namespace MonoTests.Commons.Xml.Relaxng [Test] public void SimpleRead () { - loadGrammarFromUrl ("Test/XmlFiles/SimpleElementPattern1.rng"); + loadGrammarFromUrl (TestResourceHelper.GetFullPathOfResource ("Test/XmlFiles/SimpleElementPattern1.rng")); RelaxngPattern p = reader.ReadPattern (); Assert.AreEqual (RelaxngPatternType.Element, p.PatternType); @@ -42,7 +44,7 @@ namespace MonoTests.Commons.Xml.Relaxng [Test] public void CompileRelaxngGrammar () { - loadGrammarFromUrl ("Test/XmlFiles/relaxng.rng"); + loadGrammarFromUrl (TestResourceHelper.GetFullPathOfResource ("Test/XmlFiles/relaxng.rng")); RelaxngPattern p = reader.ReadPattern (); Assert.AreEqual (RelaxngPatternType.Grammar, p.PatternType); |