From bc2b677c4deb263c141e6faea778b44ab50648c3 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Mon, 14 Jun 2010 11:20:40 +0000 Subject: [PATCH] https://issues.apache.org/activemq/browse/AMQ-2695 - durable subs and selectors - test that verifies amq store git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954412 13f79535-47bb-0310-9956-ffa450edef68 --- ...QStoreDurableSubscriptionSelectorTest.java | 30 +++++++++++++++++++ ...KahaDBDurableSubscriptionSelectorTest.java | 3 +- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 activemq-core/src/test/java/org/apache/activemq/usecases/AMQStoreDurableSubscriptionSelectorTest.java diff --git a/activemq-core/src/test/java/org/apache/activemq/usecases/AMQStoreDurableSubscriptionSelectorTest.java b/activemq-core/src/test/java/org/apache/activemq/usecases/AMQStoreDurableSubscriptionSelectorTest.java new file mode 100644 index 0000000000..95affe7998 --- /dev/null +++ b/activemq-core/src/test/java/org/apache/activemq/usecases/AMQStoreDurableSubscriptionSelectorTest.java @@ -0,0 +1,30 @@ +/** + * 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.activemq.usecases; + +import org.apache.activemq.store.PersistenceAdapter; +import org.apache.activemq.store.amq.AMQPersistenceAdapter; + +public class AMQStoreDurableSubscriptionSelectorTest extends DurableSubscriptionSelectorTest { + + @Override + public PersistenceAdapter createPersistenceAdapter() throws Exception { + return new AMQPersistenceAdapter(); + } + +} diff --git a/activemq-core/src/test/java/org/apache/activemq/usecases/KahaDBDurableSubscriptionSelectorTest.java b/activemq-core/src/test/java/org/apache/activemq/usecases/KahaDBDurableSubscriptionSelectorTest.java index 5e91337f95..940ef8c173 100644 --- a/activemq-core/src/test/java/org/apache/activemq/usecases/KahaDBDurableSubscriptionSelectorTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/usecases/KahaDBDurableSubscriptionSelectorTest.java @@ -20,8 +20,7 @@ package org.apache.activemq.usecases; import org.apache.activemq.store.PersistenceAdapter; import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter; -public class KahaDBDurableSubscriptionSelectorTest extends - DurableSubscriptionSelectorTest { +public class KahaDBDurableSubscriptionSelectorTest extends DurableSubscriptionSelectorTest { @Override public PersistenceAdapter createPersistenceAdapter() throws Exception {