activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject [06/21] git commit: Allow the createBroker method to be overriden in other tests.
Date Thu, 13 Mar 2014 20:45:00 GMT
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/a793c382
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/a793c382
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/a793c382

Branch: refs/heads/activemq-5.9
Commit: a793c38281ff23edb31d2c2f2eb6d962a99978dd
Parents: fe348d7
Author: Timothy Bish <tabish121@gmai.com>
Authored: Wed Dec 11 15:30:13 2013 -0500
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Thu Mar 13 16:29:32 2014 -0400

----------------------------------------------------------------------
 .../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/a793c382/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