fix test to account for changes in how we carry along the textview of JMSMessageID

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-06-06 22:41:28 +00:00
parent 7a11f59505
commit b8518e0b91
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public class ActiveMQMessageTest extends TestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
this.jmsMessageID = "testid";
this.jmsMessageID = "ID:TEST-ID:0:0:0:1";
this.jmsCorrelationID = "testcorrelationid";
this.jmsDestination = new ActiveMQTopic("test.topic");
this.jmsReplyTo = new ActiveMQTempTopic("test.replyto.topic:001");
@ -103,7 +103,7 @@ public class ActiveMQMessageTest extends TestCase {
public void testHashCode() throws Exception {
ActiveMQMessage msg = new ActiveMQMessage();
msg.setJMSMessageID(this.jmsMessageID);
assertTrue(msg.hashCode() == jmsMessageID.hashCode());
assertTrue(msg.getJMSMessageID().hashCode() == jmsMessageID.hashCode());
}
public void testSetReadOnly() {