jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [17/18] jena git commit: added JenaSystem.init() to other jena-text tests
Date Wed, 28 Jun 2017 16:57:26 GMT
added JenaSystem.init() to other jena-text tests

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/ece2f41d
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/ece2f41d
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/ece2f41d

Branch: refs/heads/master
Commit: ece2f41d8a381ee961dc61e8fafd66f5925bb0fa
Parents: 76c3ae3
Author: Chris Tomlinson <ct@moonvine.org>
Authored: Wed Jun 28 09:36:29 2017 -0500
Committer: Chris Tomlinson <ct@moonvine.org>
Committed: Wed Jun 28 09:36:29 2017 -0500

----------------------------------------------------------------------
 .../apache/jena/query/text/assembler/TestEntityMapAssembler.java   | 2 ++
 .../apache/jena/query/text/assembler/TestTextDatasetAssembler.java | 2 ++
 .../jena/query/text/assembler/TestTextIndexLuceneAssembler.java    | 2 ++
 3 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/ece2f41d/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestEntityMapAssembler.java
----------------------------------------------------------------------
diff --git a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestEntityMapAssembler.java
b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestEntityMapAssembler.java
index cdf5dcc..99a3e56 100644
--- a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestEntityMapAssembler.java
+++ b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestEntityMapAssembler.java
@@ -32,6 +32,7 @@ import org.apache.jena.query.text.TextIndexException ;
 import org.apache.jena.query.text.analyzer.ConfigurableAnalyzer ;
 import org.apache.jena.query.text.analyzer.LowerCaseKeywordAnalyzer ;
 import org.apache.jena.rdf.model.* ;
+import org.apache.jena.system.JenaSystem;
 import org.apache.jena.vocabulary.RDF ;
 import org.apache.jena.vocabulary.RDFS ;
 import org.apache.lucene.analysis.core.KeywordAnalyzer ;
@@ -163,6 +164,7 @@ public class TestEntityMapAssembler {
     private static final Property SPEC2_PREDICATE1 = RDFS.label;
     private static final Property SPEC2_PREDICATE2 = RDFS.comment;
     static {
+        JenaSystem.init();
         TextAssembler.init();
         Model model = ModelFactory.createDefaultModel();
         

http://git-wip-us.apache.org/repos/asf/jena/blob/ece2f41d/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextDatasetAssembler.java
----------------------------------------------------------------------
diff --git a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextDatasetAssembler.java
b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextDatasetAssembler.java
index dbef4df..d6cb2ce 100644
--- a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextDatasetAssembler.java
+++ b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextDatasetAssembler.java
@@ -33,6 +33,7 @@ import org.apache.jena.rdf.model.Resource ;
 import org.apache.jena.sparql.core.DatasetGraph ;
 import org.apache.jena.sparql.core.Quad ;
 import org.apache.jena.sparql.core.QuadAction ;
+import org.apache.jena.system.JenaSystem;
 import org.apache.jena.tdb.assembler.AssemblerTDB ;
 import org.apache.jena.vocabulary.RDF ;
 import org.junit.Test ;
@@ -93,6 +94,7 @@ public class TestTextDatasetAssembler extends AbstractTestTextAssembler
{
     }
 
     static {
+        JenaSystem.init();
         TextAssembler.init();
         AssemblerTDB.init();
         spec1 =

http://git-wip-us.apache.org/repos/asf/jena/blob/ece2f41d/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextIndexLuceneAssembler.java
----------------------------------------------------------------------
diff --git a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextIndexLuceneAssembler.java
b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextIndexLuceneAssembler.java
index 6742661..53d2eaf 100644
--- a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextIndexLuceneAssembler.java
+++ b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestTextIndexLuceneAssembler.java
@@ -21,6 +21,7 @@ package org.apache.jena.query.text.assembler;
 import org.apache.jena.assembler.Assembler ;
 import org.apache.jena.query.text.TextIndexLucene ;
 import org.apache.jena.rdf.model.Resource ;
+import org.apache.jena.system.JenaSystem;
 import org.apache.jena.vocabulary.RDFS ;
 import org.apache.lucene.analysis.core.KeywordAnalyzer ;
 import org.apache.lucene.store.RAMDirectory ;
@@ -99,6 +100,7 @@ public class TestTextIndexLuceneAssembler extends AbstractTestTextAssembler
{
     }
 
     static {
+        JenaSystem.init();
         TextAssembler.init();
     }
 


Mime
View raw message