From: Oleg T. <he...@us...> - 2004-11-07 14:50:09
|
Update of /cvsroot/mvp-xml/XInclude/v1/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8371/v1/test Modified Files: EntryPoint.cs XIncludeReaderTests.cs XIncludeTest.csproj Log Message: Caching for the acquired infosets. Index: XIncludeTest.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/test/XIncludeTest.csproj,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- XIncludeTest.csproj 3 Nov 2004 14:17:37 -0000 1.15 +++ XIncludeTest.csproj 7 Nov 2004 14:49:57 -0000 1.16 @@ -143,6 +143,10 @@ BuildAction = "Compile" /> <File + RelPath = "results\caching.xml" + BuildAction = "Content" + /> + <File RelPath = "results\document.xml" BuildAction = "Content" /> @@ -195,6 +199,10 @@ BuildAction = "None" /> <File + RelPath = "tests\caching.xml" + BuildAction = "Content" + /> + <File RelPath = "tests\count.txt" BuildAction = "Content" /> Index: EntryPoint.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/test/EntryPoint.cs,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- EntryPoint.cs 3 Nov 2004 14:17:37 -0000 1.15 +++ EntryPoint.cs 7 Nov 2004 14:49:57 -0000 1.16 @@ -17,7 +17,7 @@ //XIncludeSyntaxTests rt = new XIncludeSyntaxTests(); try { - rt.NoBaseURITest(); + rt.CachingTest(); } catch (Exception e) { Index: XIncludeReaderTests.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/test/XIncludeReaderTests.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- XIncludeReaderTests.cs 3 Nov 2004 14:17:37 -0000 1.16 +++ XIncludeReaderTests.cs 7 Nov 2004 14:49:57 -0000 1.17 @@ -364,6 +364,15 @@ while (xir.Read()); } + /// <summary> + /// Caching test. + /// </summary> + [Test] + public void CachingTest() + { + RunAndCompare("../../tests/caching.xml", "../../results/caching.xml"); + } + } public class TestResolver : XmlUrlResolver |