From ca43727e039390130b216350fa1423c09cf7b2cf Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Fri, 2 Jul 2010 16:26:44 +0000 Subject: Excluded the test from the Java test profiles and remove the unnessecery profile check from the code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960048 13f79535-47bb-0310-9956-ffa450edef68 --- .../destination/AddressBasedDestinationTest.java | 22 ---------------------- java/test-profiles/JavaExcludes | 2 ++ 2 files changed, 2 insertions(+), 22 deletions(-) (limited to 'java') diff --git a/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java b/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java index d9754def3a..48fed0f0f7 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java +++ b/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java @@ -68,12 +68,6 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase public void testCreateOptions() throws Exception { - if (!isCppBroker()) - { - _logger.info("Not C++ broker, exiting test"); - return; - } - Session jmsSession = _connection.createSession(false,Session.AUTO_ACKNOWLEDGE); MessageProducer prod; MessageConsumer cons; @@ -197,11 +191,6 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase public void testCreateQueue() throws Exception { - if (!isCppBroker()) - { - _logger.info("Not C++ broker, exiting test"); - return; - } Session jmsSession = _connection.createSession(false,Session.AUTO_ACKNOWLEDGE); String addr = "ADDR:my-queue/hello; " + @@ -258,11 +247,6 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase public void testCreateExchange() throws Exception { - if (!isCppBroker()) - { - _logger.info("Not C++ broker, exiting test"); - return; - } Session jmsSession = _connection.createSession(false,Session.AUTO_ACKNOWLEDGE); String addr = "ADDR:my-exchange/hello; " + @@ -295,12 +279,6 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase public void testBindQueueWithArgs() throws Exception { - if (!isCppBroker()) - { - _logger.info("Not C++ broker, exiting test"); - return; - } - Session jmsSession = _connection.createSession(false,Session.AUTO_ACKNOWLEDGE); String headersBinding = "{exchange: 'amq.match', arguments: {x-match: any, dep: sales, loc: CA}}"; diff --git a/java/test-profiles/JavaExcludes b/java/test-profiles/JavaExcludes index 39408fa101..9d70b9581f 100644 --- a/java/test-profiles/JavaExcludes +++ b/java/test-profiles/JavaExcludes @@ -26,3 +26,5 @@ org.apache.qpid.test.unit.ack.RecoverTest#testOderingWithAsyncConsumer org.apache.qpid.test.unit.ack.RecoverTest#testOderingWithSyncConsumer org.apache.qpid.test.unit.ack.FailoverBeforeConsumingRecoverTest#testOderingWithAsyncConsumer org.apache.qpid.test.unit.ack.FailoverBeforeConsumingRecoverTest#testOderingWithSyncConsumer + +org.apache.qpid.test.client.destination.AddressBasedDestinationTest#* -- cgit v1.2.1