You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by Simone Tripodi <si...@apache.org> on 2013/02/17 13:16:42 UTC

Re: svn commit: r1446841 - in /any23/trunk/core/src/test/java/org/apache/any23: Any23Test.java cli/MicrodataParserTest.java

Hi Mate!

you can just use the JUnit annotation @Ignore rather than commenting
methods - having on SCM commented code is IMHO a little confusing,
since looks like dead code.

HTH, have a nice WE!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Sat, Feb 16, 2013 at 4:58 AM,  <le...@apache.org> wrote:
> Author: lewismc
> Date: Sat Feb 16 03:58:50 2013
> New Revision: 1446841
>
> URL: http://svn.apache.org/r1446841
> Log:
> disable HTTP tests temporarily
>
> 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=1446841&r1=1446840&r2=1446841&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 Sat Feb 16 03:58:50 2013
> @@ -298,7 +298,9 @@ public class Any23Test extends Any23Onli
>       * @throws URISyntaxException
>       * @throws ExtractionException
>       */
> -    @Test
> +    /*
> +     * Temporarily disabled due to unavailable HTTP resource. @see ANY23-140
> +     * @Test
>      public void testGZippedContent() throws IOException, URISyntaxException, ExtractionException {
>          assumeOnlineAllowed();
>
> @@ -318,6 +320,7 @@ 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=1446841&r1=1446840&r2=1446841&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 Sat Feb 16 03:58:50 2013
> @@ -34,10 +34,12 @@ public class MicrodataParserTest extends
>      public void testRunOnFile() throws Exception {
>          runToolCheckExit0("file:"+copyResourceToTempFile("/microdata/microdata-nested.html").getAbsolutePath());
>      }
> -
> +
> +    /* Temporarily disabled due to unavailable HTTP resource. @see ANY23-140
>      @Test
>      public void testRunOnHTTPResource() throws Exception {
>          runToolCheckExit0("http://www.imdb.com/title/tt1375666/");
>      }
> +    */
>
>  }
>
>