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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 1 12:39:02 EDT 2007


Author: clebert.suconic at jboss.com
Date: 2007-08-01 12:39:02 -0400 (Wed, 01 Aug 2007)
New Revision: 64403

Modified:
   branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerDurableTopicMessageDrivenUnitTestCase.java
   branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerQueueMessageDrivenUnitTestCase.java
   branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerTopicMessageDrivenUnitTestCase.java
Log:
Fixing test - making MDB tests more generic

Modified: branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerDurableTopicMessageDrivenUnitTestCase.java
===================================================================
--- branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerDurableTopicMessageDrivenUnitTestCase.java	2007-08-01 15:57:45 UTC (rev 64402)
+++ branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerDurableTopicMessageDrivenUnitTestCase.java	2007-08-01 16:39:02 UTC (rev 64403)
@@ -57,14 +57,14 @@
          new ActivateOperation(this, mdbInvoker),
          new SendMessageOperation(this, "2"),
          new CheckMessageSizeOperation(this, 1, 0),
-         new CheckJMSDestinationOperation(this, 0, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 0, getDestination(), "1"),
          new CheckMessageIDOperation(this, 0, "2"),
          new DeactivateOperation(this, mdbInvoker),
          new SendMessageOperation(this, "3"),
          new CheckMessageSizeOperation(this, 1, 5000),
          new ActivateOperation(this, mdbInvoker),
          new CheckMessageSizeOperation(this, 2, 0),
-         new CheckJMSDestinationOperation(this, 1, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 1, getDestination(), "3"),
          new CheckMessageIDOperation(this, 1, "3"),
       };
    }

Modified: branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerQueueMessageDrivenUnitTestCase.java
===================================================================
--- branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerQueueMessageDrivenUnitTestCase.java	2007-08-01 15:57:45 UTC (rev 64402)
+++ branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerQueueMessageDrivenUnitTestCase.java	2007-08-01 16:39:02 UTC (rev 64403)
@@ -56,13 +56,13 @@
       {
          new SendMessageOperation(this, "1"),
          new CheckMessageSizeOperation(this, 1, 0),
-         new CheckJMSDestinationOperation(this, 0, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 0, getDestination(), "1"),
          new CheckMessageIDOperation(this, 0, "1"),
          new StopOperation(this, persistenceManager),
          new StartOperation(this, persistenceManager),
          new SendMessageOperation(this, "2"),
          new CheckMessageSizeOperation(this, 2, 20000),
-         new CheckJMSDestinationOperation(this, 0, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 0, getDestination(), "2"),
       };
       runTest(operations, defaultProps);
    }
@@ -75,14 +75,14 @@
          new CheckMessageSizeOperation(this, 0, 5000),
          new ActivateOperation(this, mdbInvoker),
          new CheckMessageSizeOperation(this, 1, 0),
-         new CheckJMSDestinationOperation(this, 0, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 0, getDestination(), "1"),
          new CheckMessageIDOperation(this, 0, "1"),
          new DeactivateOperation(this, mdbInvoker),
          new SendMessageOperation(this, "2"),
          new CheckMessageSizeOperation(this, 1, 5000),
          new ActivateOperation(this, mdbInvoker),
          new CheckMessageSizeOperation(this, 2, 0),
-         new CheckJMSDestinationOperation(this, 1, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 1, getDestination(), "2"),
          new CheckMessageIDOperation(this, 1, "2"),
       };
    }

Modified: branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerTopicMessageDrivenUnitTestCase.java
===================================================================
--- branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerTopicMessageDrivenUnitTestCase.java	2007-08-01 15:57:45 UTC (rev 64402)
+++ branches/Branch_4_4/testsuite/src/main/org/jboss/test/messagedriven/test/JMSContainerInvokerTopicMessageDrivenUnitTestCase.java	2007-08-01 16:39:02 UTC (rev 64403)
@@ -58,7 +58,7 @@
          new CheckMessageSizeOperation(this, 0, 5000),
          new SendMessageOperation(this, "1"),
          new CheckMessageSizeOperation(this, 1, 0),
-         new CheckJMSDestinationOperation(this, 0, getDestination().toString()),
+         new CheckJMSDestinationOperation(this, 0, getDestination(), "1"),
          new CheckMessageIDOperation(this, 0, "1"),
          new DeactivateOperation(this, mdbInvoker),
          new SendMessageOperation(this, "2"),




More information about the jboss-cvs-commits mailing list