summaryrefslogtreecommitdiff
path: root/qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-09-25 10:59:23 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-09-25 10:59:23 +0000
commit1d8b2422976afe45b12f15f0d1f8326ea5316f45 (patch)
tree6abf4a6505c1f4c048fb23830b238f23ec2587b6 /qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java
parentfd4e40519bb1fdd5bc6540e7790f4eb5169100b3 (diff)
downloadqpid-python-1d8b2422976afe45b12f15f0d1f8326ea5316f45.tar.gz
AMQPFastProtocolHandler.java - Added (Integer appRegId) constructor to allow the AMQPFastProtocolHandler to request the ApplicationRegistry instance.
ApplicationRegistry.java - Modified to allow multiple ARs to exist each indexed by an integer id. Default AR of 0 always exists. NullApplicationRegistry.java - Copied from Test cases but modified to have a simple MemoryMessageStore. MemoryMessageStore.java - Added a configure() that uses the class defaults. NullAuthenticationManager.java - Moved from Test Renamed NullApplicationRegistry.java to TestApplicationRegistry.java for the Test cases. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@449643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java')
-rw-r--r--qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java b/qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java
index 86414ffae2..1c594d4374 100644
--- a/qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java
+++ b/qpid/java/broker/test/src/org/apache/qpid/server/exchange/HeadersExchangeTest.java
@@ -21,7 +21,7 @@ import org.junit.Test;
import org.junit.Before;
import org.apache.qpid.AMQException;
import org.apache.qpid.server.registry.ApplicationRegistry;
-import org.apache.qpid.server.util.NullApplicationRegistry;
+import org.apache.qpid.server.util.TestApplicationRegistry;
import junit.framework.JUnit4TestAdapter;
public class HeadersExchangeTest extends AbstractHeadersExchangeTest
@@ -29,7 +29,7 @@ public class HeadersExchangeTest extends AbstractHeadersExchangeTest
@Before
public void init() throws Exception
{
- ApplicationRegistry.initialise(new NullApplicationRegistry());
+ ApplicationRegistry.initialise(new TestApplicationRegistry());
}
@Test