[
http://jira.jboss.com/jira/browse/JBMESSAGING-555?page=comments#action_12... ]
Richard Achmatowicz commented on JBMESSAGING-555:
-------------------------------------------------
I added the following genric JMS test cases today:
[rachmatowicz@dev03 testsuite]$ svn commit -m "A set of refactored generic JMS test
cases"
Sending testsuite/build.xml
Sending testsuite/src/main/org/jboss/test/jbossmessaging/JMSTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/MockServerSessionPool.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/ConnectionConsumerUnitTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/DuplicateClientIDUnitTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/JBossJMSUnitTest.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/JBossSessionRecoverUnitTestCase.java
Adding testsuite/src/main/org/jboss/test/jbossmessaging/test/Jms11UnitTest.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/MessageBodyUnitTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/MessageTypesUnitTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/MessagingRefactoringUnitTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/RollBackUnitTestCase.java
Adding
testsuite/src/main/org/jboss/test/jbossmessaging/test/SessionCloseStressTestCase.java
Sending testsuite/src/resources/jbossmessaging/provider.properties
Adding testsuite/src/resources/jbossmessaging/test-destinations-service.xml
Transmitting file data ...............
Committed revision 57858.
These test cases subclass from org.jboss.test.jbossmessaging.JMSTestCase.
They determine which Admin implementation to use by locating the resource
provider.properties and inspecting the property jms.provider.admin.class. They determine
which deployment to use by inspecting the property jms.provider.resources.dir in the same
file.
I have modified the file messaging-destinations-service.xml in the messaging server
configuration of jboss-messaging-scoped.sar to deploy only the Queue DLQ. All other
deployments are performed dynamically within the test cases.
There are some apparently bona fide failures of these test cases when they are executed.
I shall continue refactoring.
Separate generic JMS tests
--------------------------
Key: JBMESSAGING-555
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-555
Project: JBoss Messaging
Issue Type: Sub-task
Components: Tests and Performance
Reporter: Ovidiu Feodorov
Assigned To: Richard Achmatowicz
Fix For: 1.2.0.Beta1
Separate the generic JMS tests by creating a copy of all JBossMQ tests and eliminating
the JBossMQ-specific ones. The remaining tests will be refactored so they can be run with
both Messaging and JBossMQ,
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira