[hornetq-commits] JBoss hornetq SVN: r11001 - branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/util.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jul 19 07:52:47 EDT 2011
Author: borges
Date: 2011-07-19 07:52:45 -0400 (Tue, 19 Jul 2011)
New Revision: 11001
Modified:
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/util/JMSTestBase.java
Log:
Make class abstract to avoid "no tests found" warning.
Modified: branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/util/JMSTestBase.java
===================================================================
--- branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/util/JMSTestBase.java 2011-07-19 02:18:46 UTC (rev 11000)
+++ branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/util/JMSTestBase.java 2011-07-19 11:52:45 UTC (rev 11001)
@@ -41,13 +41,13 @@
*
*
*/
-public class JMSTestBase extends ServiceTestBase
+public abstract class JMSTestBase extends ServiceTestBase
{
protected HornetQServer server;
protected JMSServerManagerImpl jmsServer;
-
+
protected MBeanServer mbeanServer;
protected ConnectionFactory cf;
@@ -105,7 +105,7 @@
protected void setUp() throws Exception
{
super.setUp();
-
+
mbeanServer = MBeanServerFactory.createMBeanServer();
Configuration conf = createDefaultConfig(false);
@@ -122,15 +122,15 @@
registerConnectionFactory();
}
-
+
@Override
protected Configuration createDefaultConfig(boolean netty)
{
Configuration conf = super.createDefaultConfig(netty);
-
+
conf.setSecurityEnabled(false);
conf.setJMXManagementEnabled(true);
-
+
return conf;
}
More information about the hornetq-commits
mailing list