Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8E6D104E6 for ; Thu, 13 Mar 2014 20:45:29 +0000 (UTC) Received: (qmail 32887 invoked by uid 500); 13 Mar 2014 20:45:03 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 32732 invoked by uid 500); 13 Mar 2014 20:45:01 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 32529 invoked by uid 99); 13 Mar 2014 20:44:56 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 20:44:56 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7BE239800E8; Thu, 13 Mar 2014 20:44:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hadrian@apache.org To: commits@activemq.apache.org Date: Thu, 13 Mar 2014 20:45:00 -0000 Message-Id: <002e316dcd944f30a5634aae53e8bac8@git.apache.org> In-Reply-To: <275e8c3c27b740849357b82e5d52db01@git.apache.org> References: <275e8c3c27b740849357b82e5d52db01@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [06/21] git commit: Allow the createBroker method to be overriden in other tests. 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 Authored: Wed Dec 11 15:30:13 2013 -0500 Committer: Hadrian Zbarcea 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);