You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/12/11 21:30:21 UTC

git commit: Allow the createBroker method to be overriden in other tests.

Updated Branches:
  refs/heads/trunk e64da4a71 -> 78c4e4337


Allow the createBroker method to be overriden in other tests.

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/78c4e433
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/78c4e433
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/78c4e433

Branch: refs/heads/trunk
Commit: 78c4e43372baac8fcc93a7093f4006d8205117ae
Parents: e64da4a
Author: Timothy Bish <ta...@gmai.com>
Authored: Wed Dec 11 15:30:13 2013 -0500
Committer: Timothy Bish <ta...@gmai.com>
Committed: Wed Dec 11 15:30:13 2013 -0500

----------------------------------------------------------------------
 .../java/org/apache/activemq/transport/amqp/AmqpTestSupport.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/78c4e433/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
index 91eb6b2..b25d4e4 100644
--- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
+++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
@@ -73,7 +73,7 @@ public class AmqpTestSupport {
         this.numberOfMessages = 2000;
     }
 
-    private void createBroker(boolean deleteAllMessages) throws Exception {
+    protected void createBroker(boolean deleteAllMessages) throws Exception {
         brokerService = new BrokerService();
         brokerService.setPersistent(false);
         brokerService.setAdvisorySupport(false);