summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-07-02 16:26:44 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-07-02 16:26:44 +0000
commitca43727e039390130b216350fa1423c09cf7b2cf (patch)
tree6a90ee0937b5a21cae05491ebe63fe59b2cf4ea3 /java
parentd160ed03991cba45336a6a31818fdbfc831dca73 (diff)
downloadqpid-python-ca43727e039390130b216350fa1423c09cf7b2cf.tar.gz
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
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java22
-rw-r--r--java/test-profiles/JavaExcludes2
2 files changed, 2 insertions, 22 deletions
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#*