- added cache cluster test for Infinispan
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/4cc2d1de Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/4cc2d1de Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/4cc2d1de Branch: refs/heads/develop Commit: 4cc2d1de9b856f4a2d3f4df31c9e4f99a01e1e31 Parents: 62c44de Author: Sebastian Schaffert <[email protected]> Authored: Mon Mar 3 22:35:17 2014 +0100 Committer: Sebastian Schaffert <[email protected]> Committed: Mon Mar 3 22:35:17 2014 +0100 ---------------------------------------------------------------------- .../kiwi/test/InfinispanClusterTest.java | 37 ++++++++++++++++++++ .../kiwi/test/cluster/BaseClusterTest.java | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/4cc2d1de/libraries/kiwi/kiwi-caching-infinispan/src/test/java/org/apache/marmotta/kiwi/test/InfinispanClusterTest.java ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-caching-infinispan/src/test/java/org/apache/marmotta/kiwi/test/InfinispanClusterTest.java b/libraries/kiwi/kiwi-caching-infinispan/src/test/java/org/apache/marmotta/kiwi/test/InfinispanClusterTest.java new file mode 100644 index 0000000..0522262 --- /dev/null +++ b/libraries/kiwi/kiwi-caching-infinispan/src/test/java/org/apache/marmotta/kiwi/test/InfinispanClusterTest.java @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.marmotta.kiwi.test; + +import org.apache.marmotta.kiwi.caching.CacheManagerType; +import org.apache.marmotta.kiwi.test.cluster.BaseClusterTest; +import org.junit.BeforeClass; + +/** + * Add file description here! + * + * @author Sebastian Schaffert ([email protected]) + */ +public class InfinispanClusterTest extends BaseClusterTest { + + + @BeforeClass + public static void setup() { + ClusterTestSupport s = new ClusterTestSupport(CacheManagerType.INFINISPAN_CLUSTERED); + s.setup(); + } +} http://git-wip-us.apache.org/repos/asf/marmotta/blob/4cc2d1de/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/cluster/BaseClusterTest.java ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/cluster/BaseClusterTest.java b/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/cluster/BaseClusterTest.java index 4733aa9..f23bfc4 100644 --- a/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/cluster/BaseClusterTest.java +++ b/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/cluster/BaseClusterTest.java @@ -110,7 +110,7 @@ public abstract class BaseClusterTest { CacheManagerType type; - protected ClusterTestSupport(CacheManagerType type) { + public ClusterTestSupport(CacheManagerType type) { this.type = type; }
