summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/protocol/AMQProtocolSessionTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/protocol/AMQProtocolSessionTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/protocol/AMQProtocolSessionTest.java
index b99cd239d3..7a27925a36 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/protocol/AMQProtocolSessionTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/protocol/AMQProtocolSessionTest.java
@@ -78,7 +78,7 @@ public class AMQProtocolSessionTest extends QpidTestCase
_validAddress = "abc";
_generatedAddress_3 = "tmp_abc123_3";
}
-/*
+
public void testGenerateQueueName()
{
AMQShortString testAddress;
@@ -97,13 +97,13 @@ public class AMQProtocolSessionTest extends QpidTestCase
assertEquals("Failure when generating a queue exchange from an empty address",_generatedAddress_2,testAddress.toString());
//test address with no special chars
- _testSession.getNetworkDriver().setStringLocalAddress(_validAddress);
+ _testSession.getNetworkDriver().setLocalAddress(_validAddress);
testAddress = _testSession.genQueueName();
assertEquals("Failure when generating a queue exchange from an address with no special chars",_generatedAddress_3,testAddress.toString());
}
-*/
+
protected void tearDown() throws Exception
{
_testSession = null;