incubator-any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mosta...@apache.org
Subject svn commit: r1308778 - /incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
Date Tue, 03 Apr 2012 09:33:47 GMT
Author: mostarda
Date: Tue Apr  3 09:33:47 2012
New Revision: 1308778

URL: http://svn.apache.org/viewvc?rev=1308778&view=rev
Log:
Changed target URL, the previous one was not working anymore.

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

Modified: incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java?rev=1308778&r1=1308777&r2=1308778&view=diff
==============================================================================
--- incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java (original)
+++ incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java Tue Apr  3 09:33:47
2012
@@ -224,7 +224,7 @@ public class Any23Test extends Any23Onli
         /*3*/ HTTPClient httpClient = runner.getHTTPClient();
         /*4*/ DocumentSource source = new HTTPDocumentSource(
                  httpClient,
-                 "http://www.rentalinrome.com/semanticloft/semanticloft.htm"
+                 "http://dbpedia.org/resource/Trento"
               );
         /*5*/ ByteArrayOutputStream out = new ByteArrayOutputStream();
         /*6*/ TripleHandler handler = new NTriplesWriter(out);
@@ -236,12 +236,12 @@ public class Any23Test extends Any23Onli
         /*9*/ String n3 = out.toString("UTF-8");
 
         /*
-            <http://www.rentalinrome.com/semanticloft/semanticloft.htm>
-            <http://purl.org/dc/terms/title>
-            "Semantic Loft (beta) - Trastevere apartments | Rental in Rome - rentalinrome.com"
.
+            <http://dbpedia.org/resource/Trent> <http://dbpedia.org/ontology/wikiPageDisambiguates>
<http://dbpedia.org/resource/Trento> .
+            <http://dbpedia.org/resource/Andrea_Pozzo> <http://dbpedia.org/ontology/birthPlace>
<http://dbpedia.org/resource/Trento> .
+            <http://dbpedia.org/resource/Union_for_Trentino> <http://dbpedia.org/ontology/headquarter>
<http://dbpedia.org/resource/Trento> .
             [...]
          */
-        logger.debug("N3 "+ n3);
+        logger.debug("n3: " + n3);
         Assert.assertTrue(n3.length() > 0);
     }
 



Mime
View raw message