activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject git commit: Allow the createBroker method to be overriden in other tests.
Date Wed, 11 Dec 2013 20:30:21 GMT
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 <tabish121@gmai.com>
Authored: Wed Dec 11 15:30:13 2013 -0500
Committer: Timothy Bish <tabish121@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);


Mime
View raw message