[jboss-cvs] JBossAS SVN: r94838 - branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 14 02:19:35 EDT 2009


Author: pslavice at redhat.com
Date: 2009-10-14 02:19:35 -0400 (Wed, 14 Oct 2009)
New Revision: 94838

Modified:
   branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java
   branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java
Log:
Removed forward slash from JBM destinations names, see JBQA-2710

Modified: branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java
===================================================================
--- branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java	2009-10-14 05:38:36 UTC (rev 94837)
+++ branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleQueueMessageDrivenCreateDestinationUnitTestCase.java	2009-10-14 06:19:35 UTC (rev 94838)
@@ -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: branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java
===================================================================
--- branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java	2009-10-14 05:38:36 UTC (rev 94837)
+++ branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/messagedriven/test/SimpleTopicMessageDrivenCreateDestinationUnitTestCase.java	2009-10-14 06:19:35 UTC (rev 94838)
@@ -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