Updated Branches:
  refs/heads/master cee8f85a8 -> 84c73ebef

fixed input stream reading in LD test


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/84c73ebe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/84c73ebe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/84c73ebe

Branch: refs/heads/master
Commit: 84c73ebefba6e7ebffbf8c8943a524a12c15f7bd
Parents: cee8f85
Author: Sebastian Schaffert <[email protected]>
Authored: Mon Mar 11 10:41:45 2013 +0100
Committer: Sebastian Schaffert <[email protected]>
Committed: Mon Mar 11 10:41:45 2013 +0100

----------------------------------------------------------------------
 .../ldclient/test/rdf/TestLinkedDataProvider.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/84c73ebe/libraries/ldclient/ldclient-provider-rdf/src/test/java/org/apache/marmotta/ldclient/test/rdf/TestLinkedDataProvider.java
----------------------------------------------------------------------
diff --git 
a/libraries/ldclient/ldclient-provider-rdf/src/test/java/org/apache/marmotta/ldclient/test/rdf/TestLinkedDataProvider.java
 
b/libraries/ldclient/ldclient-provider-rdf/src/test/java/org/apache/marmotta/ldclient/test/rdf/TestLinkedDataProvider.java
index 90b0e4e..c1bfa8a 100644
--- 
a/libraries/ldclient/ldclient-provider-rdf/src/test/java/org/apache/marmotta/ldclient/test/rdf/TestLinkedDataProvider.java
+++ 
b/libraries/ldclient/ldclient-provider-rdf/src/test/java/org/apache/marmotta/ldclient/test/rdf/TestLinkedDataProvider.java
@@ -155,7 +155,7 @@ public class TestLinkedDataProvider {
 
         // run a SPARQL test to see if the returned data is correct
         InputStream sparql = 
this.getClass().getResourceAsStream("foaf-wikier.sparql");
-        BooleanQuery testLabel = 
conn.prepareBooleanQuery(QueryLanguage.SPARQL, IOUtils.toString(sparql));
+        BooleanQuery testLabel = 
conn.prepareBooleanQuery(QueryLanguage.SPARQL, IOUtils.toString(sparql, 
"UTF-8"));
         Assert.assertTrue("SPARQL test query failed", testLabel.evaluate());
 
         conn.commit();

Reply via email to