[monodoc] Disable usage of HtmlAgilityPack in tests since the concerned ones are...
authorJérémie Laval <jeremie.laval@gmail.com>
Thu, 9 May 2013 16:32:38 +0000 (12:32 -0400)
committerJérémie Laval <jeremie.laval@gmail.com>
Thu, 9 May 2013 16:33:35 +0000 (12:33 -0400)
mcs/class/monodoc/Makefile
mcs/class/monodoc/Test/Monodoc/HelpSourceTests.cs

index 80f3763bdcad5f4324dcd86f06ee7d4610d52708..aa7fc35e059d2411bb2c2cc25a40faa1c63b5e0e 100644 (file)
@@ -117,7 +117,7 @@ LIB_MCS_FLAGS = \
        /r:System.Xml.Linq.dll                                            \
        /r:System.Configuration.dll
 
-TEST_MCS_FLAGS = /r:System.dll /r:System.Core.dll /r:System.Xml.dll /r:AgilityPack.dll
+TEST_MCS_FLAGS = /r:System.dll /r:System.Core.dll /r:System.Xml.dll
 
 DOC_SOURCE_DIRS = \
        ../../docs \
@@ -131,9 +131,7 @@ $(the_lib): Makefile $(RESOURCE_FILES)
 
 all-local: $(the_lib).config Monodoc.Ecma/EcmaUrlParser.cs
 
-run-test-local: AgilityPack.dll
-
-test-local: setup-doc-sources AgilityPack.dll
+test-local: setup-doc-sources
 
 dist-local: Monodoc.Ecma/EcmaUrlParser.cs
 
@@ -149,6 +147,3 @@ parser.exe: Monodoc.Ecma/EcmaUrlParser.cs Monodoc.Ecma/EcmaUrlTokenizer.cs Monod
 setup-doc-sources: $(DOC_SOURCES)
        mkdir -p ./Test/monodoc_test/sources/
        cp $(DOC_SOURCES) ./Test/monodoc_test/sources/
-
-AgilityPack.dll:
-       cp $(topdir)/../docs/$(@) .
index 0e36598fb5be2a1a14d0690ced0ae9d39665df10..f837c7ed38bafc362bc0167bf11710dc18481716 100644 (file)
@@ -8,7 +8,8 @@ using NUnit.Framework;
 using Monodoc;
 using Monodoc.Generators;
 
-using HtmlAgilityPack;
+// Used by ReachabilityWithCrefsTest
+// using HtmlAgilityPack;
 
 namespace MonoTests.Monodoc
 {
@@ -152,6 +153,7 @@ namespace MonoTests.Monodoc
                        Assert.IsTrue (rootTree.RenderUrl ("T:System.IComparable{T}", generator, out result), "#6");
                }
 
+               /*
                [Test, Ignore ("Mono documentation is full of syntax errors so we can't use it reliably for this test")]
                public void ReachabilityWithCrefsTest ()
                {
@@ -202,6 +204,6 @@ namespace MonoTests.Monodoc
                        }
 
                        Assert.AreEqual (0, errorCount, errorCount + " / " + crefs.Count);
-               }
+               }*/
        }
 }