Removed some old JUnit3 references

This commit is contained in:
Kevin Earls 2014-02-10 14:43:17 +01:00
parent e80cb78616
commit 3df943ce0e
1 changed files with 4 additions and 7 deletions

View File

@ -41,8 +41,6 @@ import javax.jms.Session;
import javax.jms.TextMessage;
import javax.sql.DataSource;
import junit.framework.TestCase;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.broker.Broker;
import org.apache.activemq.broker.BrokerFilter;
@ -68,6 +66,8 @@ import org.junit.runners.Parameterized;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static org.junit.Assert.*;
/**
* Test creates a broker network with two brokers - producerBroker (with a
* message producer attached) and consumerBroker (with consumer attached)
@ -100,7 +100,7 @@ import org.slf4j.LoggerFactory;
*/
@RunWith(value = Parameterized.class)
public class AMQ4952Test extends TestCase {
public class AMQ4952Test {
private static final Logger LOG = LoggerFactory.getLogger(AMQ4952Test.class);
@ -254,18 +254,15 @@ public class AMQ4952Test extends TestCase {
}
}
@Override
@Before
public void setUp() throws Exception {
super.setUp();
LOG.debug("Running with enableCursorAudit set to {}", this.enableCursorAudit);
doSetUp();
}
@Override
@After
public void tearDown() throws Exception {
doTearDown();
super.tearDown();
}
protected void doTearDown() throws Exception {