You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by le...@apache.org on 2017/12/30 17:10:26 UTC

[1/2] any23 git commit: ANY23-140 - Revise Any23 tests to remove fetching of web content

Repository: any23
Updated Branches:
  refs/heads/master 15571d45f -> 2ccdb4769


ANY23-140 - Revise Any23 tests to remove fetching of web content


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/6b262ad3
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/6b262ad3
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/6b262ad3

Branch: refs/heads/master
Commit: 6b262ad3f89ed45f2d731076d1dd865e1e95bcaa
Parents: 7c68688
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Wed Dec 27 21:41:39 2017 +0000
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Wed Dec 27 21:41:39 2017 +0000

----------------------------------------------------------------------
 .../test/java/org/apache/any23/cli/MicrodataParserTest.java    | 5 +----
 core/src/test/java/org/apache/any23/Any23Test.java             | 6 ------
 .../src/test/java/org/apache/any23/cli/CrawlerTest.java        | 2 --
 3 files changed, 1 insertion(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/6b262ad3/cli/src/test/java/org/apache/any23/cli/MicrodataParserTest.java
----------------------------------------------------------------------
diff --git a/cli/src/test/java/org/apache/any23/cli/MicrodataParserTest.java b/cli/src/test/java/org/apache/any23/cli/MicrodataParserTest.java
index a80e729..2f46aaa 100644
--- a/cli/src/test/java/org/apache/any23/cli/MicrodataParserTest.java
+++ b/cli/src/test/java/org/apache/any23/cli/MicrodataParserTest.java
@@ -17,7 +17,6 @@
 
 package org.apache.any23.cli;
 
-import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -35,12 +34,10 @@ public class MicrodataParserTest extends ToolTestBase {
     public void testRunOnFile() throws Exception {
         runToolCheckExit0("file:"+copyResourceToTempFile("/microdata/microdata-nested.html").getAbsolutePath());
     }
-    
-    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
+
     @Test
     public void testRunOnHTTPResource() throws Exception {
         runToolCheckExit0("http://www.imdb.com/title/tt1375666/");
     }
-    
 
 }

http://git-wip-us.apache.org/repos/asf/any23/blob/6b262ad3/core/src/test/java/org/apache/any23/Any23Test.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/any23/Any23Test.java b/core/src/test/java/org/apache/any23/Any23Test.java
index 3f11087..4f14c9c 100644
--- a/core/src/test/java/org/apache/any23/Any23Test.java
+++ b/core/src/test/java/org/apache/any23/Any23Test.java
@@ -45,7 +45,6 @@ import org.apache.any23.writer.RepositoryWriter;
 import org.apache.any23.writer.TripleHandler;
 import org.apache.any23.writer.TripleHandlerException;
 import org.apache.commons.io.IOUtils;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.eclipse.rdf4j.model.Statement;
 import org.eclipse.rdf4j.repository.Repository;
@@ -207,7 +206,6 @@ public class Any23Test extends Any23OnlineTestBase {
      * @throws IOException
      * @throws org.apache.any23.extractor.ExtractionException
      */
-    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
     @Test
     public void testDemoCodeSnippet2() throws Exception {
         assumeOnlineAllowed();
@@ -299,7 +297,6 @@ public class Any23Test extends Any23OnlineTestBase {
      * @throws URISyntaxException
      * @throws ExtractionException
      */
-    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
     @Test
     public void testGZippedContent() throws IOException, URISyntaxException,
             ExtractionException {
@@ -449,7 +446,6 @@ public class Any23Test extends Any23OnlineTestBase {
      * @throws IOException
      * @throws ExtractionException
      */
-    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
     @Test
     public void testXMLMimeTypeManagementViaURL() throws IOException,
             ExtractionException {
@@ -464,7 +460,6 @@ public class Any23Test extends Any23OnlineTestBase {
         Assert.assertEquals(0, cth.getCount());
     }
 
-    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
     @Test
     public void testBlankNodesViaURL() throws IOException, ExtractionException {
         assumeOnlineAllowed();
@@ -477,7 +472,6 @@ public class Any23Test extends Any23OnlineTestBase {
         Assert.assertTrue(report.hasMatchingExtractors());
     }
 
-    @Ignore("Itemscope parsing issue")
     @Test
     public void testMicrodataSupport() throws Exception {
         final String htmlWithMicrodata = IOUtils.toString(this.getClass()

http://git-wip-us.apache.org/repos/asf/any23/blob/6b262ad3/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java
----------------------------------------------------------------------
diff --git a/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java b/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java
index eac75f3..7c1caf6 100644
--- a/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java
+++ b/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java
@@ -20,7 +20,6 @@ package org.apache.any23.cli;
 import org.apache.any23.Any23OnlineTestBase;
 import org.apache.any23.rdf.RDFUtils;
 import org.apache.any23.util.FileUtils;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.eclipse.rdf4j.model.Statement;
 import org.eclipse.rdf4j.rio.RDFFormat;
@@ -47,7 +46,6 @@ public class CrawlerTest extends Any23OnlineTestBase {
 
     public static final Logger logger = LoggerFactory.getLogger(CrawlerTest.class);
 
-    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
     @Test
     public void testCLI() throws IOException, RDFHandlerException, RDFParseException {
         assumeOnlineAllowed();


[2/2] any23 git commit: Merge branch 'ANY23-140'

Posted by le...@apache.org.
Merge branch 'ANY23-140'


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/2ccdb476
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/2ccdb476
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/2ccdb476

Branch: refs/heads/master
Commit: 2ccdb4769830e2a8789c54f2a9fac7b6639c943e
Parents: 15571d4 6b262ad
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Sat Dec 30 17:11:45 2017 +0000
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Sat Dec 30 17:11:45 2017 +0000

----------------------------------------------------------------------
 .../test/java/org/apache/any23/cli/MicrodataParserTest.java    | 5 +----
 core/src/test/java/org/apache/any23/Any23Test.java             | 6 ------
 .../src/test/java/org/apache/any23/cli/CrawlerTest.java        | 2 --
 3 files changed, 1 insertion(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/2ccdb476/core/src/test/java/org/apache/any23/Any23Test.java
----------------------------------------------------------------------