diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2013-06-19 15:51:30 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2013-06-19 15:51:30 +0000 |
| commit | 706675d432369def04b47ab935a17adec390e202 (patch) | |
| tree | b4c85415ad3a305e47d4d8af51a43b39bcd5a106 /qpid/java/common/src | |
| parent | 0c801f4ef8be29a0a756bce67651cac7f583a525 (diff) | |
| download | qpid-python-706675d432369def04b47ab935a17adec390e202.tar.gz | |
QPID-4937 : [Java Broker] separate virtualhosts into different types
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494667 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src')
| -rw-r--r-- | qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java b/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java index 08f7387b75..8f556ece5a 100644 --- a/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java +++ b/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java @@ -1,5 +1,5 @@ /* - * + * * 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 @@ -7,16 +7,16 @@ * 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.qpid.test.utils; @@ -110,10 +110,12 @@ public class QpidTestCase extends TestCase } protected static final String MESSAGE_STORE_CLASS_NAME_KEY = "messagestore.class.name"; + protected static final String CONFIGURATION_STORE_CLASS_NAME_KEY = "configurationstore.class.name"; + protected static final String MEMORY_STORE_CLASS_NAME = "org.apache.qpid.server.store.MemoryMessageStore"; private static List<String> _exclusionList; - + public QpidTestCase() { super(); @@ -138,7 +140,7 @@ public class QpidTestCase extends TestCase { final String storeClass = System.getProperty(MESSAGE_STORE_CLASS_NAME_KEY); _logger.debug("MESSAGE_STORE_CLASS_NAME_KEY " + storeClass); - + return storeClass != null ? storeClass : MEMORY_STORE_CLASS_NAME ; } |
