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/ldp Commit: b9f7df36a74e6350c6c7dcb547bdbd604455d4f8 Parents: 532fa9f Author: Sebastian Schaffert <[email protected]> Authored: Tue Mar 18 17:19:21 2014 +0100 Committer: Sebastian Schaffert <[email protected]> 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()); }
