[jboss-cvs] JBossAS SVN: r100023 - trunk/testsuite/src/main/org/jboss/test/messagedriven/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jan 27 17:56:36 EST 2010
Author: bstansberry at jboss.com
Date: 2010-01-27 17:56:36 -0500 (Wed, 27 Jan 2010)
New Revision: 100023
Modified:
trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java
trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java
Log:
Make tests respect JBMESSAGING-1667 requirements
Modified: trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java 2010-01-27 22:46:55 UTC (rev 100022)
+++ trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java 2010-01-27 22:56:36 UTC (rev 100023)
@@ -43,11 +43,11 @@
static
{
if (isJBossMessaging())
- destinationName = ObjectNameFactory.create("jboss.messaging.destination:service=Queue,name=queue/CreateDestination");
+ destinationName = ObjectNameFactory.create("jboss.messaging.destination:service=Queue,name=CreateDestination");
else
destinationName = ObjectNameFactory.create("jboss.mq.destination:service=Queue,name=queue/CreateDestination");
testProps = (Properties) testQueueProps.clone();
- testProps.put("destination", "queue/CreateDestination");
+ testProps.put("destination", "CreateDestination");
testProps.put("createDestination", "true");
}
Modified: trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java 2010-01-27 22:46:55 UTC (rev 100022)
+++ trunk/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java 2010-01-27 22:56:36 UTC (rev 100023)
@@ -43,11 +43,11 @@
static
{
if (isJBossMessaging())
- destinationName = ObjectNameFactory.create("jboss.messaging.destination:service=Topic,name=topic/CreateDestination");
+ destinationName = ObjectNameFactory.create("jboss.messaging.destination:service=Topic,name=CreateDestination");
else
destinationName = ObjectNameFactory.create("jboss.mq.destination:service=Topic,name=topic/CreateDestination");
testProps = (Properties) testTopicProps.clone();
- testProps.put("destination", "topic/CreateDestination");
+ testProps.put("destination", "CreateDestination");
testProps.put("createDestination", "true");
}
More information about the jboss-cvs-commits
mailing list