Update of /cvsroot/mvp-xml/XInclude/v1/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30441/v1/test
Modified Files:
XIncludeReaderTests.cs XIncludeTest.csproj
Log Message:
Index: XIncludeTest.csproj
===================================================================
RCS file: /cvsroot/mvp-xml/XInclude/v1/test/XIncludeTest.csproj,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- XIncludeTest.csproj 4 Jan 2005 10:46:30 -0000 1.19
+++ XIncludeTest.csproj 25 Aug 2005 20:30:09 -0000 1.20
@@ -171,6 +171,10 @@
BuildAction = "Content"
/>
<File
+ RelPath = "results\loop.xml"
+ BuildAction = "Content"
+ />
+ <File
RelPath = "results\nonxmlchar.xml"
BuildAction = "Content"
/>
@@ -247,6 +251,10 @@
BuildAction = "Content"
/>
<File
+ RelPath = "tests\loop.xml"
+ BuildAction = "Content"
+ />
+ <File
RelPath = "tests\nohref.xml"
BuildAction = "Content"
/>
Index: XIncludeReaderTests.cs
===================================================================
RCS file: /cvsroot/mvp-xml/XInclude/v1/test/XIncludeReaderTests.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- XIncludeReaderTests.cs 22 Nov 2004 14:03:48 -0000 1.18
+++ XIncludeReaderTests.cs 25 Aug 2005 20:30:09 -0000 1.19
@@ -373,6 +373,15 @@
RunAndCompare("../../tests/caching.xml", "../../results/caching.xml");
}
+ /// <summary>
+ /// Infinite loop (bug 1187498)
+ /// </summary>
+ [Test]
+ public void LoopTest()
+ {
+ RunAndCompare("../../tests/loop.xml", "../../results/loop.xml");
+ }
+
}
public class TestResolver : XmlUrlResolver
|