marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sschaff...@apache.org
Subject git commit: added some KiWiIO Tests
Date Tue, 18 Mar 2014 16:19:31 GMT
Repository: marmotta
Updated Branches:
  refs/heads/develop 532fa9f54 -> b9f7df36a


added some KiWiIO Tests


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

Branch: refs/heads/develop
Commit: b9f7df36a74e6350c6c7dcb547bdbd604455d4f8
Parents: 532fa9f
Author: Sebastian Schaffert <sschaffert@apache.org>
Authored: Tue Mar 18 17:19:21 2014 +0100
Committer: Sebastian Schaffert <sschaffert@apache.org>
Committed: Tue Mar 18 17:19:21 2014 +0100

----------------------------------------------------------------------
 .../org/apache/marmotta/kiwi/test/cluster/SerializerTest.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/b9f7df36/libraries/kiwi/kiwi-caching-hazelcast/src/test/java/org/apache/marmotta/kiwi/test/cluster/SerializerTest.java
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-caching-hazelcast/src/test/java/org/apache/marmotta/kiwi/test/cluster/SerializerTest.java
b/libraries/kiwi/kiwi-caching-hazelcast/src/test/java/org/apache/marmotta/kiwi/test/cluster/SerializerTest.java
index 675db87..c457832 100644
--- a/libraries/kiwi/kiwi-caching-hazelcast/src/test/java/org/apache/marmotta/kiwi/test/cluster/SerializerTest.java
+++ b/libraries/kiwi/kiwi-caching-hazelcast/src/test/java/org/apache/marmotta/kiwi/test/cluster/SerializerTest.java
@@ -21,6 +21,7 @@ import com.hazelcast.config.SerializationConfig;
 import com.hazelcast.config.SerializerConfig;
 import com.hazelcast.nio.serialization.*;
 import org.apache.commons.lang3.RandomStringUtils;
+import org.apache.marmotta.commons.vocabulary.SCHEMA;
 import org.apache.marmotta.commons.vocabulary.XSD;
 import org.apache.marmotta.kiwi.hazelcast.serializer.*;
 import org.apache.marmotta.kiwi.model.rdf.*;
@@ -104,6 +105,9 @@ public class SerializerTest {
         marshall((KiWiUriResource) valueFactory.createURI(XSD.Double.stringValue()), new
UriSerializer());
         marshall((KiWiUriResource) valueFactory.createURI(RDFS.LABEL.stringValue()), new
UriSerializer());
         marshall((KiWiUriResource) valueFactory.createURI(OWL.SAMEAS.stringValue()), new
UriSerializer());
+        marshall((KiWiUriResource) valueFactory.createURI(SCHEMA.Place.stringValue()), new
UriSerializer());
+        marshall((KiWiUriResource) valueFactory.createURI("http://dbpedia.org/resource/Colorado"),
new UriSerializer());
+        marshall((KiWiUriResource) valueFactory.createURI("http://rdf.freebase.com/ns/test"),
new UriSerializer());
     }
 
 


Mime
View raw message