any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1447509 - in /any23/trunk/core/src/test/java/org/apache/any23: Any23Test.java cli/MicrodataParserTest.java
Date Mon, 18 Feb 2013 21:32:15 GMT
Author: lewismc
Date: Mon Feb 18 21:32:15 2013
New Revision: 1447509

URL: http://svn.apache.org/r1447509
Log:
use @Ignore rather than commenting out

Modified:
    any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
    any23/trunk/core/src/test/java/org/apache/any23/cli/MicrodataParserTest.java

Modified: any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
URL: http://svn.apache.org/viewvc/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java?rev=1447509&r1=1447508&r2=1447509&view=diff
==============================================================================
--- any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java (original)
+++ any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java Mon Feb 18 21:32:15 2013
@@ -44,6 +44,7 @@ import org.apache.any23.writer.Repositor
 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.openrdf.model.Statement;
 import org.openrdf.repository.RepositoryConnection;
@@ -298,9 +299,8 @@ public class Any23Test extends Any23Onli
      * @throws URISyntaxException
      * @throws ExtractionException
      */
-    /*
-     * Temporarily disabled due to unavailable HTTP resource. @see ANY23-140
-     * @Test
+    @Ignore("ANY23-140 - Revise Any23 tests to remove fetching of web content")
+    @Test
     public void testGZippedContent() throws IOException, URISyntaxException, ExtractionException
{
         assumeOnlineAllowed();
 
@@ -320,7 +320,6 @@ public class Any23Test extends Any23Onli
         Assert.assertTrue(n3.length() > 0);
 
     }
-    */
 
     @Test
     public void testExtractionParameters() throws IOException, ExtractionException, TripleHandlerException
{

Modified: any23/trunk/core/src/test/java/org/apache/any23/cli/MicrodataParserTest.java
URL: http://svn.apache.org/viewvc/any23/trunk/core/src/test/java/org/apache/any23/cli/MicrodataParserTest.java?rev=1447509&r1=1447508&r2=1447509&view=diff
==============================================================================
--- any23/trunk/core/src/test/java/org/apache/any23/cli/MicrodataParserTest.java (original)
+++ any23/trunk/core/src/test/java/org/apache/any23/cli/MicrodataParserTest.java Mon Feb 18
21:32:15 2013
@@ -17,6 +17,7 @@
 
 package org.apache.any23.cli;
 
+import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -35,11 +36,11 @@ public class MicrodataParserTest extends
         runToolCheckExit0("file:"+copyResourceToTempFile("/microdata/microdata-nested.html").getAbsolutePath());
     }
     
-    /* Temporarily disabled due to unavailable HTTP resource. @see ANY23-140
+    @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/");
     }
-    */
+    
 
 }



Mime
View raw message