コード例 #1
0
 public void harold_79()
 {
     XIncludeReaderTests.RunAndCompare(
         "http://localhost/test/EBCDIC.xml",
         "../../XInclude-Test-Suite/Harold/test/../result/EBCDIC.xml");
     RunAndCompare("EBCDIC.xml", "../result/EBCDIC.xml");
 }
コード例 #2
0
        public void harold_79()
        {
            WebRequest.RegisterPrefix("myhttp:", new MyWebRequestCreate());
            DirectoryInfo root = new DirectoryInfo("../../../XInclude/XInclude-Test-Suite/Harold/test/");

            XIncludeReaderTests.RunAndCompare(
                "myhttp:" + root.FullName + "EBCDIC.xml",
                "../../../XInclude/XInclude-Test-Suite/Harold/result/EBCDIC.xml");
        }
コード例 #3
0
 /// <summary>
 /// Utility method for running tests.
 /// </summary>
 public static void RunAndCompare(string source, string result)
 {
     XIncludeReaderTests.RunAndCompare(
         "../../../XInclude/XInclude-Test-Suite/Nist/test/docs/" + source,
         "../../../XInclude/XInclude-Test-Suite/Nist/test/docs/" + result);
 }
コード例 #4
0
 public void harold_78()
 {
     XIncludeReaderTests.RunAndCompare(
         "http://localhost/test/UnicodeLittleUnmarked.xml",
         "../../XInclude-Test-Suite/Harold/test/../result/UnicodeLittleUnmarked.xml");
 }