You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by mi...@apache.org on 2014/08/06 22:18:01 UTC
git commit: CLEREZZA-940: Uncommented and fixed failing test
Repository: clerezza
Updated Branches:
refs/heads/master 782533478 -> fe1f76b62
CLEREZZA-940: Uncommented and fixed failing test
File wasn't compiling due to a name change in platform.config module.
Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/fe1f76b6
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/fe1f76b6
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/fe1f76b6
Branch: refs/heads/master
Commit: fe1f76b62f1374467db7e9e8b9798e90eeba320b
Parents: 7825334
Author: Minto van der Sluis <mi...@apache.org>
Authored: Wed Aug 6 22:17:48 2014 +0200
Committer: Minto van der Sluis <mi...@apache.org>
Committed: Wed Aug 6 22:17:48 2014 +0200
----------------------------------------------------------------------
.../rdf/virtuoso/storage/RdfIOTest.java | 36 ++++++++++----------
1 file changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/clerezza/blob/fe1f76b6/rdf.virtuoso.storage/src/test/java/org/apache/clerezza/rdf/virtuoso/storage/RdfIOTest.java
----------------------------------------------------------------------
diff --git a/rdf.virtuoso.storage/src/test/java/org/apache/clerezza/rdf/virtuoso/storage/RdfIOTest.java b/rdf.virtuoso.storage/src/test/java/org/apache/clerezza/rdf/virtuoso/storage/RdfIOTest.java
index aff17c5..25063b6 100644
--- a/rdf.virtuoso.storage/src/test/java/org/apache/clerezza/rdf/virtuoso/storage/RdfIOTest.java
+++ b/rdf.virtuoso.storage/src/test/java/org/apache/clerezza/rdf/virtuoso/storage/RdfIOTest.java
@@ -310,24 +310,24 @@ public class RdfIOTest {
}
-// @Test
-// public void sysconfigTest(){
-//
-// SystemConfig sc = new SystemConfig();
-// MGraph systemGraph = mgraph;
-// URL config = sc.getClass().getResource(SystemConfig.CONFIG_FILE);
-// if (config == null) {
-// throw new RuntimeException("no config file found");
-// }
-// ParsingProvider parser = new JenaParserProvider();
-// try {
-// parser.parse(systemGraph, config.openStream(),
-// SupportedFormat.RDF_XML, null);
-// } catch (IOException ex) {
-// log.warn("Cannot parse coniguration at URL: {}", config);
-// throw new RuntimeException(ex);
-// }
-// }
+ @Test
+ public void sysconfigTest(){
+
+ SystemConfig sc = new SystemConfig();
+ MGraph systemGraph = mgraph;
+ URL config = sc.getClass().getResource(SystemConfig.DEFAULT_SYSTEM_GRAPH);
+ if (config == null) {
+ throw new RuntimeException("no config file found");
+ }
+ ParsingProvider parser = new JenaParserProvider();
+ try {
+ parser.parse(systemGraph, config.openStream(),
+ SupportedFormat.RDF_XML, null);
+ } catch (IOException ex) {
+ log.warn("Cannot parse coniguration at URL: {}", config);
+ throw new RuntimeException(ex);
+ }
+ }
@Test
public void testUnicodeChars() throws ClassNotFoundException, SQLException {