Updated Branches: refs/heads/trunk e80cb7861 -> 3df943ce0
Removed some old JUnit3 references Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/3df943ce Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/3df943ce Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/3df943ce Branch: refs/heads/trunk Commit: 3df943ce0e47dea19f1a9446084fc46825c1b2c1 Parents: e80cb78 Author: Kevin Earls <[email protected]> Authored: Mon Feb 10 14:43:17 2014 +0100 Committer: Kevin Earls <[email protected]> Committed: Mon Feb 10 14:43:17 2014 +0100 ---------------------------------------------------------------------- .../test/java/org/apache/activemq/bugs/AMQ4952Test.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/3df943ce/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java ---------------------------------------------------------------------- diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java index f9df753..7f1c462 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java @@ -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 {
