diff --git a/activemq-core/src/test/java/org/apache/activemq/TestSupport.java b/activemq-core/src/test/java/org/apache/activemq/TestSupport.java index 2254a59cbc..98d1ff63a7 100755 --- a/activemq-core/src/test/java/org/apache/activemq/TestSupport.java +++ b/activemq-core/src/test/java/org/apache/activemq/TestSupport.java @@ -40,6 +40,7 @@ import org.apache.activemq.store.PersistenceAdapter; import org.apache.activemq.store.amq.AMQPersistenceAdapter; import org.apache.activemq.store.jdbc.JDBCPersistenceAdapter; import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter; +import org.apache.activemq.store.leveldb.LevelDBPersistenceAdapter; import org.apache.activemq.store.memory.MemoryPersistenceAdapter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -174,7 +175,7 @@ public abstract class TestSupport extends CombinationTestSupport { regionBroker.getTopicRegion().getDestinationMap(); } - public static enum PersistenceAdapterChoice {KahaDB, AMQ, JDBC, MEM }; + public static enum PersistenceAdapterChoice {LevelDB, KahaDB, AMQ, JDBC, MEM }; public PersistenceAdapter setDefaultPersistenceAdapter(BrokerService broker) throws IOException { return setPersistenceAdapter(broker, defaultPersistenceAdapter); @@ -192,6 +193,9 @@ public abstract class TestSupport extends CombinationTestSupport { case KahaDB: adapter = new KahaDBPersistenceAdapter(); break; + case LevelDB: + adapter = new LevelDBPersistenceAdapter(); + break; case MEM: adapter = new MemoryPersistenceAdapter(); break;