jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject [28/44] jena git commit: Link TestModelCollector into build tests
Date Sat, 06 Jan 2018 15:17:52 GMT
Link TestModelCollector into build tests


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

Branch: refs/heads/master
Commit: da59884d04b49f7be2e02cdd331f540ad7505f96
Parents: 870ad8b
Author: ajs6f <ajs6f@apache.org>
Authored: Mon Jan 1 14:57:02 2018 -0500
Committer: ajs6f <ajs6f@apache.org>
Committed: Fri Jan 5 09:32:55 2018 -0500

----------------------------------------------------------------------
 .../src/test/java/org/apache/jena/util/TestModelCollector.java | 6 ++++++
 jena-core/src/test/java/org/apache/jena/util/TestPackage.java  | 1 +
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/da59884d/jena-core/src/test/java/org/apache/jena/util/TestModelCollector.java
----------------------------------------------------------------------
diff --git a/jena-core/src/test/java/org/apache/jena/util/TestModelCollector.java b/jena-core/src/test/java/org/apache/jena/util/TestModelCollector.java
index d2c8f97..91d2a64 100644
--- a/jena-core/src/test/java/org/apache/jena/util/TestModelCollector.java
+++ b/jena-core/src/test/java/org/apache/jena/util/TestModelCollector.java
@@ -45,7 +45,13 @@ import org.apache.jena.rdf.model.ModelFactory;
 import org.apache.jena.util.ModelCollector.*;
 import org.junit.Test;
 
+import junit.framework.JUnit4TestAdapter;
+
 public class TestModelCollector extends BaseTest {
+    
+    public static junit.framework.Test suite() {
+        return new JUnit4TestAdapter(TestModelCollector.class) ;
+    }
 
     private static final Model EMPTY_MODEL = ModelFactory.createDefaultModel();
     private static final Node PREDICATE = NodeFactory.createURI("p");

http://git-wip-us.apache.org/repos/asf/jena/blob/da59884d/jena-core/src/test/java/org/apache/jena/util/TestPackage.java
----------------------------------------------------------------------
diff --git a/jena-core/src/test/java/org/apache/jena/util/TestPackage.java b/jena-core/src/test/java/org/apache/jena/util/TestPackage.java
index 22d5a58..bca8337 100644
--- a/jena-core/src/test/java/org/apache/jena/util/TestPackage.java
+++ b/jena-core/src/test/java/org/apache/jena/util/TestPackage.java
@@ -45,6 +45,7 @@ public class TestPackage extends TestSuite {
         addTest( TestIteratorCollection.suite() );
         addTest( "TestSplitIRI_XML",      TestSplitIRI_XML.suite()) ;
         addTest( "TestSplitIRI_TTL",      TestSplitIRI_TTL.suite()) ;
+        addTest( "TestModelCollector",    TestModelCollector.suite()) ;
         addTestSuite( TestLocators.class );
         addTestSuite( TestOneToManyMap.class );
     }


Mime
View raw message