From a99b8e8f24e96ec101c3190cc9ba5991709e9fbd Mon Sep 17 00:00:00 2001 From: Gurunandan Rao Date: Sun, 16 Jul 2023 15:24:14 +0530 Subject: [PATCH] format and organize imports. Signed-off-by: Gurunandan Rao --- glassfish-runner/jms-tck/pom.xml | 2 +- glassfish-runner/pom.xml | 8 + jms/pom.xml | 44 ++-- .../sun/jms/SunRIJMSObjects.java | 242 +++++++++--------- .../ClosedQueueConnectionTestsIT.java | 1 + .../ClosedQueueReceiverIT.java | 1 + .../ClosedQueueSessionTestsIT.java | 1 + .../ClosedTopicConnectionTestsIT.java | 1 + .../ClosedTopicSessionTestsIT.java | 1 + .../invalidDest/InvalidDestTestsIT.java | 1 + .../appclient/queueconn/QueueConnTestsIT.java | 1 + .../appclient/queuetests/QueueTestsIT.java | 1 + .../appclient/topictests/TopicTestsIT.java | 1 + .../txtopictests/TxTopicTestsIT.java | 1 + .../bytesMsgQueue/BytesMsgQueueTestsIT.java | 1 + .../bytesMsgTopic/BytesMsgTopicTestsIT.java | 1 + .../ClosedQueueConnectionTestsIT.java | 1 + .../ClosedQueueReceiverTestsIT.java | 1 + .../ClosedQueueSenderTestsIT.java | 1 + .../ClosedQueueSessionTestsIT.java | 1 + .../ClosedTopicConnectionTestsIT.java | 1 + .../ClosedTopicPublisherTestsIT.java | 1 + .../ClosedTopicSessionTestsIT.java | 1 + .../ClosedTopicSubscriberTestsIT.java | 1 + .../exceptionQueue/ExceptionQueueTestsIT.java | 1 + .../exceptionTopic/ExceptionTopicTestsIT.java | 1 + .../core/exceptiontests/ExceptionTestIT.java | 1 + .../ForeignMsgQueueTestsIT.java | 1 + .../ForeignMsgTopicTestsIT.java | 1 + .../core/mapMsgQueue/MapMsgQueueTestsIT.java | 1 + .../core/mapMsgTopic/MapMsgTopicTestsIT.java | 1 + .../MessageProducerTestsIT.java | 1 + .../core/messageQueue/MessageQueueTestIT.java | 1 + .../core/messageTopic/MessageTopicTestIT.java | 1 + .../objectMsgQueue/ObjectMsgQueueTestsIT.java | 1 + .../objectMsgTopic/ObjectMsgTopicTestIT.java | 1 + .../QueueConnectionTestsIT.java | 1 + .../queueMsgHeaders/QueueHeaderTestsIT.java | 1 + .../QueuePropertyTestsIT.java | 1 + .../jms/core/queuetests/QueueTestsIT.java | 1 + .../MsgSelectorQueueTestsIT.java | 1 + .../MsgSelectorTopicTestsIT.java | 1 + .../jms/core/sessiontests/SessionTestsIT.java | 1 + .../streamMsgQueue/StreamMsgQueueTestsIT.java | 1 + .../streamMsgTopic/StreamMsgTopicTestsIT.java | 1 + .../TopicConnectionTestsIT.java | 1 + .../topicMsgHeaders/TopicHeaderTestsIT.java | 1 + .../TopicPropertyTestsIT.java | 1 + .../jms/core/topictests/TopicTestsIT.java | 1 + .../appclient/jmsconsumertests/ClientIT.java | 1 + .../jmscontextqueuetests/ClientIT.java | 1 + .../jmscontexttopictests/ClientIT.java | 1 + .../listenerexceptiontests/ClientIT.java | 1 + .../messageconsumertests/ClientIT.java | 1 + .../messageproducertests/ClientIT.java | 1 + .../connectionfactorytests/ClientIT.java | 1 + .../jms/core20/jmsconsumertests/ClientIT.java | 1 + .../core20/jmscontextqueuetests/ClientIT.java | 1 + .../core20/jmscontexttopictests/ClientIT.java | 1 + .../jmsproducerqueuetests/ClientIT.java | 1 + .../jmsproducertopictests/ClientIT.java | 1 + .../core20/messageproducertests/ClientIT.java | 1 + .../runtimeexceptiontests/ClientIT.java | 1 + .../jms/core20/sessiontests/ClientIT.java | 1 + .../jms/ee/ejb/queueCMTTests/ClientIT.java | 1 + .../jms/ee/ejb/sessionQtests/ClientIT.java | 1 + .../jms/ee/ejb/sessionTtests/ClientIT.java | 1 + .../jms/ee/ejbweb/xa/TransactionTestsIT.java | 1 + .../jms/ee/mdb/mdb_exceptQ/MDBClientIT.java | 1 + .../jms/ee/mdb/mdb_exceptT/MDBClientIT.java | 6 +- .../jms/ee/mdb/mdb_msgHdrQ/MDBClientIT.java | 1 + .../jms/ee/mdb/mdb_msgHdrT/MDBClientIT.java | 1 + .../jms/ee/mdb/mdb_msgPropsQ/MDBClientIT.java | 1 + .../jms/ee/mdb/mdb_msgPropsT/MDBClientIT.java | 1 + .../ee/mdb/mdb_msgTypesQ1/MDBClientIT.java | 1 + .../ee/mdb/mdb_msgTypesQ2/MDBClientIT.java | 1 + .../ee/mdb/mdb_msgTypesQ3/MDBClientIT.java | 1 + .../ee/mdb/mdb_msgTypesT1/MDBClientIT.java | 1 + .../ee/mdb/mdb_msgTypesT2/MDBClientIT.java | 1 + .../ee/mdb/mdb_msgTypesT3/MDBClientIT.java | 1 + .../tests/jms/ee/mdb/mdb_rec/MDBClientIT.java | 1 + .../jms/ee/mdb/mdb_sndQ/MDBClientIT.java | 1 + .../ee/mdb/mdb_sndToQueue/MDBClientIT.java | 1 + .../ee/mdb/mdb_sndToTopic/MDBClientIT.java | 1 + .../jms/ee/mdb/mdb_synchrec/MDBClientIT.java | 1 + .../ts/tests/jms/ee/mdb/xa/MDBClientIT.java | 1 + .../jms/ee20/cditests/ejbweb/ClientIT.java | 1 + .../tests/jms/ee20/cditests/mdb/ClientIT.java | 3 +- .../jms/ee20/cditests/usecases/ClientIT.java | 1 + .../common/QueueClientBaseIT.java | 1 + .../selectorauto/annotated/ClientIT.java | 3 +- .../selectorauto/descriptor/ClientIT.java | 1 + .../selectordups/annotated/ClientIT.java | 1 + .../selectordups/descriptor/ClientIT.java | 1 + .../annotated/ClientIT.java | 3 +- .../descriptor/ClientIT.java | 1 + .../annotated/ClientIT.java | 1 + .../descriptor/ClientIT.java | 3 +- .../annotated/ClientIT.java | 1 + .../descriptor/ClientIT.java | 3 +- .../resourcedefs/annotations/ClientIT.java | 1 + .../resourcedefs/descriptor/ClientIT.java | 1 + 102 files changed, 259 insertions(+), 150 deletions(-) diff --git a/glassfish-runner/jms-tck/pom.xml b/glassfish-runner/jms-tck/pom.xml index e27c99fece..57c210d774 100644 --- a/glassfish-runner/jms-tck/pom.xml +++ b/glassfish-runner/jms-tck/pom.xml @@ -532,7 +532,6 @@ ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.jms-api.jar - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jms-core.jar ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/glassfish-corba-omgapi.jar ${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbyclient.jar ${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derby.jar @@ -552,6 +551,7 @@ localhost 8080 standalone + /tmp ${project.build.directory}/${glassfish.toplevel.dir} diff --git a/glassfish-runner/pom.xml b/glassfish-runner/pom.xml index d82e1f0eec..0818b726ec 100644 --- a/glassfish-runner/pom.xml +++ b/glassfish-runner/pom.xml @@ -39,6 +39,14 @@ glassfish + 11 + 11 + + 3.0.0 + 2.1.0 + 3.1.0 + jakarta-restful-ws-tck + 7.0.0 glassfish7 3.1.0 diff --git a/jms/pom.xml b/jms/pom.xml index e0543774a8..4bf96a1aa8 100644 --- a/jms/pom.xml +++ b/jms/pom.xml @@ -31,14 +31,14 @@ JMS JMS TCK tests - + - 11 - 11 - ${project.version} - 5.9.1 - 1.7.0.Alpha14 - + 1.7.0.Alpha14 + 5.9.1 + 11 + 11 + ${project.version} + @@ -68,22 +68,22 @@ jakarta.annotation jakarta.annotation-api - + + + org.junit.jupiter + junit-jupiter + ${junit.jupiter.version} + - org.junit.jupiter - junit-jupiter - ${junit.jupiter.version} - - - org.jboss.arquillian.junit5 - arquillian-junit5-container - ${arquillian.junit} - - - org.jboss.arquillian.junit5 - arquillian-junit5-core - ${arquillian.junit} - + org.jboss.arquillian.junit5 + arquillian-junit5-container + ${arquillian.junit} + + + org.jboss.arquillian.junit5 + arquillian-junit5-core + ${arquillian.junit} + diff --git a/jms/src/main/java/com/sun/ts/lib/implementation/sun/jms/SunRIJMSObjects.java b/jms/src/main/java/com/sun/ts/lib/implementation/sun/jms/SunRIJMSObjects.java index 3b1c6ee77b..a5feeb52b9 100644 --- a/jms/src/main/java/com/sun/ts/lib/implementation/sun/jms/SunRIJMSObjects.java +++ b/jms/src/main/java/com/sun/ts/lib/implementation/sun/jms/SunRIJMSObjects.java @@ -16,12 +16,16 @@ package com.sun.ts.lib.implementation.sun.jms; -import java.util.*; -import java.io.*; -import javax.naming.*; -import jakarta.jms.*; -import com.sun.ts.lib.util.*; -import com.sun.ts.lib.porting.*; +import javax.naming.Context; +import javax.naming.InitialContext; + +import com.sun.ts.lib.porting.TSJMSObjectsInterface; +import com.sun.ts.lib.util.TestUtil; + +import jakarta.jms.ConnectionFactory; +import jakarta.jms.QueueConnectionFactory; +import jakarta.jms.Topic; +import jakarta.jms.TopicConnectionFactory; /** * This is an implementation of the TSJMSObjectsInterface. An implementation of @@ -32,118 +36,116 @@ */ public class SunRIJMSObjects implements TSJMSObjectsInterface { - private static Context jndiContext = null; - - private static QueueConnectionFactory qcf = null; - - private static TopicConnectionFactory tcf = null; - - private static ConnectionFactory cf = null; - - private jakarta.jms.Topic testTopic = null; - - private jakarta.jms.Queue testQueue = null; - - private void getJNDIContext() throws Exception { - - if (jndiContext == null) { - try { - TestUtil.logTrace("Getting initial context"); - jndiContext = new InitialContext(); - } catch (javax.naming.NamingException ne) { - TestUtil.logErr("Could not create JNDI context because: ", ne); - TestUtil.printStackTrace(ne); - throw ne; - } - } - } - - /** - * This method allows individual implementation to get the Queue - */ - - public jakarta.jms.Queue getQueue(String name) throws Exception { - getJNDIContext(); - - try { - testQueue = (jakarta.jms.Queue) jndiContext.lookup(name); - } catch (Exception e) { - TestUtil.logErr("Failed to lookup Queue"); - TestUtil.printStackTrace(e); - throw e; - } - return testQueue; - } - - /** - * This method allows individual implementation to get the Topic - */ - - public Topic getTopic(String name) throws Exception { - getJNDIContext(); - - try { - testTopic = (Topic) jndiContext.lookup(name); - } catch (Exception e) { - TestUtil.logErr("Failed to lookup Topic"); - TestUtil.printStackTrace(e); - throw e; - } - return testTopic; - } - - /** - * This method allows individual implementation to get the - * QueueConnectionFactory - */ - - public QueueConnectionFactory getQueueConnectionFactory(String name) - throws Exception { - getJNDIContext(); - - try { - qcf = (QueueConnectionFactory) jndiContext.lookup(name); - } catch (Exception e) { - TestUtil.logErr("Failed to lookup QueueConnectionFactory"); - TestUtil.printStackTrace(e); - throw e; - } - return qcf; - } - - /** - * This method allows individual implementation to get the - * TopicConnectionFactory - */ - - public TopicConnectionFactory getTopicConnectionFactory(String name) - throws Exception { - getJNDIContext(); - - try { - tcf = (TopicConnectionFactory) jndiContext.lookup(name); - } catch (Exception e) { - TestUtil.logErr("Failed to lookup TopicConnectionFactory"); - TestUtil.printStackTrace(e); - throw e; - } - return tcf; - } - - /** - * This method allows individual implementation to get the ConnectionFactory - */ - - public ConnectionFactory getConnectionFactory(String name) throws Exception { - getJNDIContext(); - - try { - cf = (ConnectionFactory) jndiContext.lookup(name); - } catch (Exception e) { - TestUtil.logErr("Failed to lookup ConnectionFactory"); - TestUtil.printStackTrace(e); - throw e; - } - return cf; - } + private static Context jndiContext = null; + + private static QueueConnectionFactory qcf = null; + + private static TopicConnectionFactory tcf = null; + + private static ConnectionFactory cf = null; + + private jakarta.jms.Topic testTopic = null; + + private jakarta.jms.Queue testQueue = null; + + private void getJNDIContext() throws Exception { + + if (jndiContext == null) { + try { + TestUtil.logTrace("Getting initial context"); + jndiContext = new InitialContext(); + } catch (javax.naming.NamingException ne) { + TestUtil.logErr("Could not create JNDI context because: ", ne); + TestUtil.printStackTrace(ne); + throw ne; + } + } + } + + /** + * This method allows individual implementation to get the Queue + */ + + public jakarta.jms.Queue getQueue(String name) throws Exception { + getJNDIContext(); + + try { + testQueue = (jakarta.jms.Queue) jndiContext.lookup(name); + } catch (Exception e) { + TestUtil.logErr("Failed to lookup Queue"); + TestUtil.printStackTrace(e); + throw e; + } + return testQueue; + } + + /** + * This method allows individual implementation to get the Topic + */ + + public Topic getTopic(String name) throws Exception { + getJNDIContext(); + + try { + testTopic = (Topic) jndiContext.lookup(name); + } catch (Exception e) { + TestUtil.logErr("Failed to lookup Topic"); + TestUtil.printStackTrace(e); + throw e; + } + return testTopic; + } + + /** + * This method allows individual implementation to get the + * QueueConnectionFactory + */ + + public QueueConnectionFactory getQueueConnectionFactory(String name) throws Exception { + getJNDIContext(); + + try { + qcf = (QueueConnectionFactory) jndiContext.lookup(name); + } catch (Exception e) { + TestUtil.logErr("Failed to lookup QueueConnectionFactory"); + TestUtil.printStackTrace(e); + throw e; + } + return qcf; + } + + /** + * This method allows individual implementation to get the + * TopicConnectionFactory + */ + + public TopicConnectionFactory getTopicConnectionFactory(String name) throws Exception { + getJNDIContext(); + + try { + tcf = (TopicConnectionFactory) jndiContext.lookup(name); + } catch (Exception e) { + TestUtil.logErr("Failed to lookup TopicConnectionFactory"); + TestUtil.printStackTrace(e); + throw e; + } + return tcf; + } + + /** + * This method allows individual implementation to get the ConnectionFactory + */ + + public ConnectionFactory getConnectionFactory(String name) throws Exception { + getJNDIContext(); + + try { + cf = (ConnectionFactory) jndiContext.lookup(name); + } catch (Exception e) { + TestUtil.logErr("Failed to lookup ConnectionFactory"); + TestUtil.printStackTrace(e); + throw e; + } + return cf; + } } diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueConnection/ClosedQueueConnectionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueConnection/ClosedQueueConnectionTestsIT.java index 27e4ff02b0..4ba924867c 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueConnection/ClosedQueueConnectionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueConnection/ClosedQueueConnectionTestsIT.java @@ -43,6 +43,7 @@ /** * JMS TS tests. Testing method calls on closed QueueConnection objects. */ + public class ClosedQueueConnectionTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.appclient.closedQueueConnection.ClosedQueueConnectionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueReceiver/ClosedQueueReceiverIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueReceiver/ClosedQueueReceiverIT.java index 94d9ace025..d6e7aec503 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueReceiver/ClosedQueueReceiverIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueReceiver/ClosedQueueReceiverIT.java @@ -33,6 +33,7 @@ import jakarta.jms.Message; import jakarta.jms.MessageListener; + public class ClosedQueueReceiverIT { private static final String TestName = "com.sun.ts.tests.jms.core.appclient.closedQueueReceiver.ClosedQueueReceiverTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueSession/ClosedQueueSessionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueSession/ClosedQueueSessionTestsIT.java index 2139445bc4..8527be0e17 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueSession/ClosedQueueSessionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedQueueSession/ClosedQueueSessionTestsIT.java @@ -36,6 +36,7 @@ /** * JMS TS tests. Testing method calls on closed QueueSession objects. */ + public class ClosedQueueSessionTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.appclient.closedQueueSession.ClosedQueueSessionTests"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicConnection/ClosedTopicConnectionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicConnection/ClosedTopicConnectionTestsIT.java index b2b78662e4..ca810c675b 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicConnection/ClosedTopicConnectionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicConnection/ClosedTopicConnectionTestsIT.java @@ -38,6 +38,7 @@ /** * JMS product tests. Testing method calls on closed TopicConnection objects. */ + public class ClosedTopicConnectionTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.appclient.closedTopicConnection.ClosedTopicConnectionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicSession/ClosedTopicSessionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicSession/ClosedTopicSessionTestsIT.java index fe5428dd5e..4ca59884ec 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicSession/ClosedTopicSessionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/closedTopicSession/ClosedTopicSessionTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.Message; import jakarta.jms.MessageListener; + public class ClosedTopicSessionTestsIT { private static final String testName = "com.sun.ts.tests.jms.ee.ejbjspservlet.closedTopicSession.ClosedTopicSessionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/invalidDest/InvalidDestTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/invalidDest/InvalidDestTestsIT.java index bbeec78d1e..360bfaf131 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/invalidDest/InvalidDestTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/invalidDest/InvalidDestTestsIT.java @@ -34,6 +34,7 @@ import jakarta.jms.Session; import jakarta.jms.Topic; + public class InvalidDestTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.appclient.invalidDest.InvalidDestTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queueconn/QueueConnTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queueconn/QueueConnTestsIT.java index 0c8d87ba0a..6a5f3cb755 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queueconn/QueueConnTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queueconn/QueueConnTestsIT.java @@ -37,6 +37,7 @@ import jakarta.jms.Session; import jakarta.jms.TextMessage; + public class QueueConnTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.appclient.queueconn.QueueConnTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queuetests/QueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queuetests/QueueTestsIT.java index 3d2c055abc..768acab373 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queuetests/QueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/queuetests/QueueTestsIT.java @@ -50,6 +50,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.TopicConnection; + public class QueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.appclient.queuetests.QueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/topictests/TopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/topictests/TopicTestsIT.java index 6a54da9602..6327346b1f 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/topictests/TopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/topictests/TopicTestsIT.java @@ -50,6 +50,7 @@ import jakarta.jms.TopicSession; import jakarta.jms.TopicSubscriber; + public class TopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.appclient.topictests.TopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/txtopictests/TxTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/txtopictests/TxTopicTestsIT.java index 44c4cdf302..eab526d4ee 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/txtopictests/TxTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/appclient/txtopictests/TxTopicTestsIT.java @@ -43,6 +43,7 @@ import jakarta.jms.TopicSession; import jakarta.jms.TopicSubscriber; + public class TxTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.ee.ejbjspservlet.txtopictests.TxTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgQueue/BytesMsgQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgQueue/BytesMsgQueueTestsIT.java index 98b343aeb7..451e0d4103 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgQueue/BytesMsgQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgQueue/BytesMsgQueueTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.BytesMessage; import jakarta.jms.MessageNotWriteableException; + public class BytesMsgQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.bytesMsgQueue.BytesMsgQueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgTopic/BytesMsgTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgTopic/BytesMsgTopicTestsIT.java index 035655c7ce..318825ee06 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgTopic/BytesMsgTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/bytesMsgTopic/BytesMsgTopicTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.BytesMessage; import jakarta.jms.MessageNotWriteableException; + public class BytesMsgTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.bytesMsgTopic.BytesMsgTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueConnection/ClosedQueueConnectionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueConnection/ClosedQueueConnectionTestsIT.java index 1b8c7577bd..d0852ef6f9 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueConnection/ClosedQueueConnectionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueConnection/ClosedQueueConnectionTestsIT.java @@ -49,6 +49,7 @@ /** * JMS TS tests. Testing method calls on closed QueueConnection objects. */ + public class ClosedQueueConnectionTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.closedQueueConnection.ClosedQueueConnectionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueReceiver/ClosedQueueReceiverTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueReceiver/ClosedQueueReceiverTestsIT.java index 729ae3e25d..9a4bb088b2 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueReceiver/ClosedQueueReceiverTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueReceiver/ClosedQueueReceiverTestsIT.java @@ -36,6 +36,7 @@ /** * JMS TS tests. Testing method calls on closed QueueReceiver objects. */ + public class ClosedQueueReceiverTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.closedQueueReceiver.ClosedQueueReceiverTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSender/ClosedQueueSenderTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSender/ClosedQueueSenderTestsIT.java index 0546c49a76..7f434f5554 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSender/ClosedQueueSenderTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSender/ClosedQueueSenderTestsIT.java @@ -37,6 +37,7 @@ /** * JMS TS tests. Testing method calls on closed QueueSender objects. */ + public class ClosedQueueSenderTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.closedQueueSender.ClosedQueueSenderTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSession/ClosedQueueSessionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSession/ClosedQueueSessionTestsIT.java index 3d10ca886b..04b153b84b 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSession/ClosedQueueSessionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedQueueSession/ClosedQueueSessionTestsIT.java @@ -46,6 +46,7 @@ /** * JMS TS tests. Testing method calls on closed QueueSession objects. */ + public class ClosedQueueSessionTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.closedQueueSession.ClosedQueueSessionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicConnection/ClosedTopicConnectionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicConnection/ClosedTopicConnectionTestsIT.java index 51ecb35745..e4fe24f4fa 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicConnection/ClosedTopicConnectionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicConnection/ClosedTopicConnectionTestsIT.java @@ -48,6 +48,7 @@ /** * JMS product tests. Testing method calls on closed TopicConnection objects. */ + public class ClosedTopicConnectionTestsIT { private static final String TestName = "com.sun.ts.tests.jms.core.closedTopicConnection.ClosedTopicConnectionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicPublisher/ClosedTopicPublisherTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicPublisher/ClosedTopicPublisherTestsIT.java index e607682b8a..26f160f7cf 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicPublisher/ClosedTopicPublisherTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicPublisher/ClosedTopicPublisherTestsIT.java @@ -34,6 +34,7 @@ import jakarta.jms.Message; import jakarta.jms.Topic; + public class ClosedTopicPublisherTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.closedTopicPublisher.ClosedTopicPublisherIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSession/ClosedTopicSessionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSession/ClosedTopicSessionTestsIT.java index 5e36357218..f8fd306f0f 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSession/ClosedTopicSessionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSession/ClosedTopicSessionTestsIT.java @@ -42,6 +42,7 @@ import jakarta.jms.TopicPublisher; import jakarta.jms.TopicSubscriber; + public class ClosedTopicSessionTestsIT { private static final String lookup = "DURABLE_SUB_CONNECTION_FACTORY"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSubscriber/ClosedTopicSubscriberTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSubscriber/ClosedTopicSubscriberTestsIT.java index 563a421c5b..9de6799145 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSubscriber/ClosedTopicSubscriberTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/closedTopicSubscriber/ClosedTopicSubscriberTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.Message; import jakarta.jms.Topic; + public class ClosedTopicSubscriberTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.closedTopicSubscriber.ClosedTopicSubscriberTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionQueue/ExceptionQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionQueue/ExceptionQueueTestsIT.java index c77b78634e..f3108cf125 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionQueue/ExceptionQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionQueue/ExceptionQueueTestsIT.java @@ -49,6 +49,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ExceptionQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.exceptionQueue.ExceptionQueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionTopic/ExceptionTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionTopic/ExceptionTopicTestsIT.java index b769ec91ac..8302943588 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionTopic/ExceptionTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/exceptionTopic/ExceptionTopicTestsIT.java @@ -47,6 +47,7 @@ import jakarta.jms.TopicPublisher; import jakarta.jms.TopicSubscriber; + public class ExceptionTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.exceptionTopic.ExceptionTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/exceptiontests/ExceptionTestIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/exceptiontests/ExceptionTestIT.java index dbec310dac..49058932e3 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/exceptiontests/ExceptionTestIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/exceptiontests/ExceptionTestIT.java @@ -40,6 +40,7 @@ import jakarta.jms.TransactionInProgressException; import jakarta.jms.TransactionRolledBackException; + public class ExceptionTestIT { private static final String testName = "com.sun.ts.tests.jms.core.exceptiontests.ExceptionTestIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgQueue/ForeignMsgQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgQueue/ForeignMsgQueueTestsIT.java index 1b99907f1d..349f44b879 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgQueue/ForeignMsgQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgQueue/ForeignMsgQueueTestsIT.java @@ -44,6 +44,7 @@ import jakarta.jms.StreamMessage; import jakarta.jms.TextMessage; + public class ForeignMsgQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.foreignMsgQueue.ForeignMsgQueueTests"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTestsIT.java index 81f56b5394..3994709d18 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTestsIT.java @@ -44,6 +44,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ForeignMsgTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.foreignMsgTopic.ForeignMsgTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgQueue/MapMsgQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgQueue/MapMsgQueueTestsIT.java index b7ef2500e1..aa5e8af57e 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgQueue/MapMsgQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgQueue/MapMsgQueueTestsIT.java @@ -35,6 +35,7 @@ import jakarta.jms.MessageFormatException; import jakarta.jms.MessageNotWriteableException; + public class MapMsgQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.mapMsgQueue.MapMsgQueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgTopic/MapMsgTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgTopic/MapMsgTopicTestsIT.java index ac8e9df9b8..921210cb00 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgTopic/MapMsgTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/mapMsgTopic/MapMsgTopicTestsIT.java @@ -34,6 +34,7 @@ import jakarta.jms.MessageFormatException; import jakarta.jms.MessageNotWriteableException; + public class MapMsgTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.mapMsgTopic.MapMsgTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/messageProducer/MessageProducerTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/messageProducer/MessageProducerTestsIT.java index 311df838da..dbfa29f3b8 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/messageProducer/MessageProducerTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/messageProducer/MessageProducerTestsIT.java @@ -36,6 +36,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class MessageProducerTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.messageProducer.MessageProducerTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/messageQueue/MessageQueueTestIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/messageQueue/MessageQueueTestIT.java index 53a91c067f..1cd7f775ed 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/messageQueue/MessageQueueTestIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/messageQueue/MessageQueueTestIT.java @@ -37,6 +37,7 @@ import jakarta.jms.StreamMessage; import jakarta.jms.TextMessage; + public class MessageQueueTestIT { private static final String testName = "com.sun.ts.tests.jms.core.messageQueue.MessageQueueTestIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/messageTopic/MessageTopicTestIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/messageTopic/MessageTopicTestIT.java index ddd8383ce7..2c25491000 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/messageTopic/MessageTopicTestIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/messageTopic/MessageTopicTestIT.java @@ -36,6 +36,7 @@ import jakarta.jms.StreamMessage; import jakarta.jms.TextMessage; + public class MessageTopicTestIT { private static final String testName = "com.sun.ts.tests.jms.core.messageTopic.MessageTopicTestIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgQueue/ObjectMsgQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgQueue/ObjectMsgQueueTestsIT.java index 479ac8983b..979806f23e 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgQueue/ObjectMsgQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgQueue/ObjectMsgQueueTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.MessageNotWriteableException; import jakarta.jms.ObjectMessage; + public class ObjectMsgQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.objectMsgQueue.ObjectMsgQueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgTopic/ObjectMsgTopicTestIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgTopic/ObjectMsgTopicTestIT.java index d9fa18b6d2..b5841b47ed 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgTopic/ObjectMsgTopicTestIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/objectMsgTopic/ObjectMsgTopicTestIT.java @@ -32,6 +32,7 @@ import jakarta.jms.ObjectMessage; + public class ObjectMsgTopicTestIT { private static final String testName = "com.sun.ts.tests.jms.core.objectMsgTopic.ObjectMsgTopicTestIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/queueConnection/QueueConnectionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/queueConnection/QueueConnectionTestsIT.java index a71f1258fc..198e58f390 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/queueConnection/QueueConnectionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/queueConnection/QueueConnectionTestsIT.java @@ -37,6 +37,7 @@ import jakarta.jms.Session; import jakarta.jms.TextMessage; + public class QueueConnectionTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.queueConnection.QueueConnectionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgHeaders/QueueHeaderTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgHeaders/QueueHeaderTestsIT.java index 07a7ff8179..6f4c775fe6 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgHeaders/QueueHeaderTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgHeaders/QueueHeaderTestsIT.java @@ -40,6 +40,7 @@ import jakarta.jms.StreamMessage; import jakarta.jms.TextMessage; + public class QueueHeaderTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.queueMsgHeaders.QueueHeaderTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgProperties/QueuePropertyTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgProperties/QueuePropertyTestsIT.java index 0496def5cf..143ba5dbfa 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgProperties/QueuePropertyTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/queueMsgProperties/QueuePropertyTestsIT.java @@ -36,6 +36,7 @@ import jakarta.jms.MessageNotWriteableException; import jakarta.jms.TextMessage; + public class QueuePropertyTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.queueMsgProperties.QueuePropertyTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/queuetests/QueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/queuetests/QueueTestsIT.java index fbba9d6246..94df4ec3ba 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/queuetests/QueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/queuetests/QueueTestsIT.java @@ -51,6 +51,7 @@ import jakarta.jms.TemporaryQueue; import jakarta.jms.TextMessage; + public class QueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.queuetests.QueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/selectorQueue/MsgSelectorQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/selectorQueue/MsgSelectorQueueTestsIT.java index 3a3991c822..647e64aa51 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/selectorQueue/MsgSelectorQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/selectorQueue/MsgSelectorQueueTestsIT.java @@ -40,6 +40,7 @@ import jakarta.jms.Session; import jakarta.jms.TemporaryQueue; + public class MsgSelectorQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.ee.selectorQueue.MsgSelectorQueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/selectorTopic/MsgSelectorTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/selectorTopic/MsgSelectorTopicTestsIT.java index 811b72545f..19eef73e46 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/selectorTopic/MsgSelectorTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/selectorTopic/MsgSelectorTopicTestsIT.java @@ -40,6 +40,7 @@ import jakarta.jms.TopicSession; import jakarta.jms.TopicSubscriber; + public class MsgSelectorTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.selectorTopic.MsgSelectorTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/sessiontests/SessionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/sessiontests/SessionTestsIT.java index d9c52412e0..1093a41108 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/sessiontests/SessionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/sessiontests/SessionTestsIT.java @@ -43,6 +43,7 @@ import jakarta.jms.Topic; import jakarta.jms.TopicSubscriber; + public class SessionTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.sessiontests.SessionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgQueue/StreamMsgQueueTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgQueue/StreamMsgQueueTestsIT.java index df8f97ee2f..0db667338d 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgQueue/StreamMsgQueueTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgQueue/StreamMsgQueueTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.MessageNotWriteableException; import jakarta.jms.StreamMessage; + public class StreamMsgQueueTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.streamMsgQueue.StreamMsgQueueTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgTopic/StreamMsgTopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgTopic/StreamMsgTopicTestsIT.java index 9f2ef68d0a..45b953410e 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgTopic/StreamMsgTopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/streamMsgTopic/StreamMsgTopicTestsIT.java @@ -33,6 +33,7 @@ import jakarta.jms.MessageNotWriteableException; import jakarta.jms.StreamMessage; + public class StreamMsgTopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.streamMsgTopic.StreamMsgTopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/topicConnection/TopicConnectionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/topicConnection/TopicConnectionTestsIT.java index d2597a44b7..8f5a0338ec 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/topicConnection/TopicConnectionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/topicConnection/TopicConnectionTestsIT.java @@ -38,6 +38,7 @@ import jakarta.jms.TopicSession; import jakarta.jms.TopicSubscriber; + public class TopicConnectionTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.topicConnection.TopicConnectionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTestsIT.java index 1550bb27f0..cc2ca762fb 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTestsIT.java @@ -39,6 +39,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class TopicHeaderTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.topicMsgHeaders.TopicHeaderTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgProperties/TopicPropertyTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgProperties/TopicPropertyTestsIT.java index 40400e8cf8..6cccce4614 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgProperties/TopicPropertyTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/topicMsgProperties/TopicPropertyTestsIT.java @@ -36,6 +36,7 @@ import jakarta.jms.MessageNotWriteableException; import jakarta.jms.TextMessage; + public class TopicPropertyTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.topicMsgProperties.TopicPropertyTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core/topictests/TopicTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core/topictests/TopicTestsIT.java index 0dec9c6415..b2fc4be748 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core/topictests/TopicTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core/topictests/TopicTestsIT.java @@ -44,6 +44,7 @@ import jakarta.jms.TopicSession; import jakarta.jms.TopicSubscriber; + public class TopicTestsIT { private static final String testName = "com.sun.ts.tests.jms.core.topictests.TopicTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmsconsumertests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmsconsumertests/ClientIT.java index 78c9e1ad52..5951cc15c2 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmsconsumertests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmsconsumertests/ClientIT.java @@ -39,6 +39,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.appclient.jmsconsumertests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontextqueuetests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontextqueuetests/ClientIT.java index 65a7e678a3..6e9267be85 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontextqueuetests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontextqueuetests/ClientIT.java @@ -52,6 +52,7 @@ import jakarta.jms.StreamMessage; import jakarta.jms.TextMessage; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.appclient.jmscontextqueuetests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontexttopictests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontexttopictests/ClientIT.java index de095c1af5..68ce6878af 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontexttopictests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/jmscontexttopictests/ClientIT.java @@ -51,6 +51,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.appclient.jmscontexttopictests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/listenerexceptiontests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/listenerexceptiontests/ClientIT.java index 0c4452bf02..c15be6da9a 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/listenerexceptiontests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/listenerexceptiontests/ClientIT.java @@ -43,6 +43,7 @@ import jakarta.jms.Session; import jakarta.jms.TextMessage; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.appclient.listenerexceptiontests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageconsumertests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageconsumertests/ClientIT.java index d287f273a6..b7be3fe5d9 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageconsumertests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageconsumertests/ClientIT.java @@ -38,6 +38,7 @@ import jakarta.jms.Session; import jakarta.jms.TextMessage; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.appclient.messageconsumertests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageproducertests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageproducertests/ClientIT.java index 979cc6e753..05fd5e5ec5 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageproducertests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/appclient/messageproducertests/ClientIT.java @@ -44,6 +44,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.messageproducertests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/connectionfactorytests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/connectionfactorytests/ClientIT.java index cbd2ef7fbe..7e87ade86c 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/connectionfactorytests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/connectionfactorytests/ClientIT.java @@ -41,6 +41,7 @@ import jakarta.jms.TopicConnection; import jakarta.jms.TopicConnectionFactory; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.connectionfactorytests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsconsumertests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsconsumertests/ClientIT.java index 9b36bb7c90..a344409090 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsconsumertests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsconsumertests/ClientIT.java @@ -51,6 +51,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.jmsconsumertests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontextqueuetests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontextqueuetests/ClientIT.java index 99a9a6df5c..bf31e96185 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontextqueuetests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontextqueuetests/ClientIT.java @@ -48,6 +48,7 @@ import jakarta.jms.TemporaryQueue; import jakarta.jms.TextMessage; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.jmscontextqueuetests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontexttopictests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontexttopictests/ClientIT.java index 91b25b7c10..c33e4ea8f6 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontexttopictests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmscontexttopictests/ClientIT.java @@ -50,6 +50,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.jmscontexttopictests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducerqueuetests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducerqueuetests/ClientIT.java index 98af025ce1..96f965688c 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducerqueuetests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducerqueuetests/ClientIT.java @@ -58,6 +58,7 @@ import jakarta.jms.StreamMessage; import jakarta.jms.TextMessage; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.jmsproducerqueuetests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducertopictests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducertopictests/ClientIT.java index ac75fae118..d9762fda15 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducertopictests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/jmsproducertopictests/ClientIT.java @@ -58,6 +58,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.jmsproducertopictests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/messageproducertests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/messageproducertests/ClientIT.java index de5913c4b5..4fe5bc88a9 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/messageproducertests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/messageproducertests/ClientIT.java @@ -42,6 +42,7 @@ import jakarta.jms.TextMessage; import jakarta.jms.Topic; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.messageproducertests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/runtimeexceptiontests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/runtimeexceptiontests/ClientIT.java index fc281ad18c..69ef0e6067 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/runtimeexceptiontests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/runtimeexceptiontests/ClientIT.java @@ -25,6 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.runtimeexceptiontests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/core20/sessiontests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/core20/sessiontests/ClientIT.java index 2f872caf45..290c0b9755 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/core20/sessiontests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/core20/sessiontests/ClientIT.java @@ -53,6 +53,7 @@ import jakarta.jms.Topic; import jakarta.jms.TopicSubscriber; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.core20.sessiontests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/queueCMTTests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/queueCMTTests/ClientIT.java index 2540847fa0..ab0268435d 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/queueCMTTests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/queueCMTTests/ClientIT.java @@ -34,6 +34,7 @@ import jakarta.jms.DeliveryMode; import jakarta.jms.Queue; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.ee.ejb.queueCMTTests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionQtests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionQtests/ClientIT.java index c0e80a19a1..08c1ca288d 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionQtests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionQtests/ClientIT.java @@ -32,6 +32,7 @@ import jakarta.ejb.EJB; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.ee.ejb.sessionQtests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionTtests/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionTtests/ClientIT.java index 849a330214..607879a10a 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionTtests/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejb/sessionTtests/ClientIT.java @@ -37,6 +37,7 @@ import jakarta.jms.Topic; import jakarta.jms.TopicSubscriber; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.ee.ejb.sessionTtests.ClientIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejbweb/xa/TransactionTestsIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejbweb/xa/TransactionTestsIT.java index c191ac1e7e..13b76f5f1c 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/ejbweb/xa/TransactionTestsIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/ejbweb/xa/TransactionTestsIT.java @@ -48,6 +48,7 @@ import jakarta.jms.TopicSubscriber; import jakarta.transaction.UserTransaction; + public class TransactionTestsIT { private static final String testName = "com.sun.ts.tests.jms.ee.ejbweb.xa.TransactionTestsIT"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptQ/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptQ/MDBClientIT.java index 1bc6359f70..8ed7615742 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptQ/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptQ/MDBClientIT.java @@ -28,6 +28,7 @@ import jakarta.jms.Queue; + public class MDBClientIT extends Client { // Naming specific member variables diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptT/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptT/MDBClientIT.java index 51526541e1..ceab4ca9d9 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptT/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_exceptT/MDBClientIT.java @@ -28,6 +28,7 @@ import jakarta.jms.Topic; + public class MDBClientIT extends Client { private Topic bmtT; @@ -304,7 +305,7 @@ public void Test8() throws Exception { * attempts a EJBContext getEJBHome() method. Return verification message that a * java.lang.IllegalStateException was thrown. */ - + @Test public void Test11() throws Exception { String TestCase = "expTest11"; int TestNum = 11; @@ -334,7 +335,7 @@ public void Test11() throws Exception { * attempts a EJBContext getEJBHome() method. Return verification message that a * java.lang.IllegalStateException was thrown. */ - + @Test public void Test12() throws Exception { String TestCase = "expTest12"; int TestNum = 12; @@ -364,6 +365,7 @@ public void Test12() throws Exception { * jakarta.transaction.UserTransaction Verify that the container throws a * jakarta.transaction.NotSupportedException */ + @Test public void Test13() throws Exception { String TestCase = "expTest13"; int TestNum = 13; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrQ/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrQ/MDBClientIT.java index 6b43ce4990..4d8c87180b 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrQ/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrQ/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGHdrQ_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrT/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrT/MDBClientIT.java index e73decd2c8..685e7a020e 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrT/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgHdrT/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGHdrT_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsQ/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsQ/MDBClientIT.java index b121bd22cb..2f98d78ee7 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsQ/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsQ/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGPropsQ_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsT/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsT/MDBClientIT.java index be4f514713..4c41ee21ea 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsT/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgPropsT/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGPropsT_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ1/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ1/MDBClientIT.java index 5716755f25..64aedc1f67 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ1/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ1/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGQ1_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ2/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ2/MDBClientIT.java index 6ad9503fee..357daf1cad 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ2/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ2/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGQ2_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ3/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ3/MDBClientIT.java index 8bd1ebb1d7..db5ccdbbe3 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ3/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesQ3/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGQ3_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT1/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT1/MDBClientIT.java index 17facd1af0..aea333af98 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT1/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT1/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGT1_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT2/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT2/MDBClientIT.java index bd23b9955a..c159950283 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT2/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT2/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGT2_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT3/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT3/MDBClientIT.java index 499ff93c50..575b0c7329 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT3/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_msgTypesT3/MDBClientIT.java @@ -37,6 +37,7 @@ * a queue */ + public class MDBClientIT { @EJB(name = "ejb/MDB_MSGT3_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_rec/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_rec/MDBClientIT.java index 884b786db7..58ea79bf60 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_rec/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_rec/MDBClientIT.java @@ -31,6 +31,7 @@ import jakarta.ejb.EJB; + public class MDBClientIT { @EJB(name = "ejb/MDB_AR_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndQ/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndQ/MDBClientIT.java index 70a9f14bc9..36f9dcda48 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndQ/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndQ/MDBClientIT.java @@ -34,6 +34,7 @@ * messages to a Destination */ + public class MDBClientIT { @EJB(name = "ejb/MDB_SNDQ_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToQueue/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToQueue/MDBClientIT.java index 50faec4925..322fcd1835 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToQueue/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToQueue/MDBClientIT.java @@ -36,6 +36,7 @@ * driven bean to send a text, byte, map, stream, and object message to a queue */ + public class MDBClientIT { @EJB(name = "ejb/MDB_SNDToQueue_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToTopic/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToTopic/MDBClientIT.java index c30c94094c..ec5f08e90b 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToTopic/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_sndToTopic/MDBClientIT.java @@ -36,6 +36,7 @@ * a topic Sun's EJB Reference Implementation. */ + public class MDBClientIT { @EJB(name = "ejb/MDB_SNDToTopic_Test") diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_synchrec/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_synchrec/MDBClientIT.java index 362bea92a8..8c78a15581 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_synchrec/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/mdb_synchrec/MDBClientIT.java @@ -42,6 +42,7 @@ import jakarta.jms.Session; import jakarta.jms.TextMessage; + public class MDBClientIT { // Naming specific member variables diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/xa/MDBClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/xa/MDBClientIT.java index 769592f8a3..e7c2e2c532 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/xa/MDBClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee/mdb/xa/MDBClientIT.java @@ -36,6 +36,7 @@ import jakarta.jms.QueueSession; import jakarta.jms.Topic; + public class MDBClientIT extends Client { private Queue cmtQ; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/ejbweb/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/ejbweb/ClientIT.java index 39e61d0e36..191dbccded 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/ejbweb/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/ejbweb/ClientIT.java @@ -30,6 +30,7 @@ import jakarta.ejb.EJB; + public class ClientIT { // The webserver defaults (overidden by harness properties) private static final String PROTOCOL = "http"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/mdb/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/mdb/ClientIT.java index 2860264ba9..c1413b900d 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/mdb/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/mdb/ClientIT.java @@ -29,8 +29,9 @@ import jakarta.ejb.EJB; + public class ClientIT { - // The webserver defaults (overidden by harness properties) + // The webserver defaults private static final String PROTOCOL = "http"; private static final String HOSTNAME = "localhost"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/usecases/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/usecases/ClientIT.java index c782af884a..9093f4d215 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/usecases/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/cditests/usecases/ClientIT.java @@ -29,6 +29,7 @@ import jakarta.ejb.EJB; + public class ClientIT { // The webserver defaults (overidden by harness properties) private static final String PROTOCOL = "http"; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/common/QueueClientBaseIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/common/QueueClientBaseIT.java index 681a83b0ea..36c19f9f07 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/common/QueueClientBaseIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/common/QueueClientBaseIT.java @@ -97,6 +97,7 @@ public void negativeTest1() throws Exception { * Sends message and waits for response. The message should not reach the target * MDB, and no response should be received by this client. */ + @Test public void negativeTest2() throws Exception { // the next messages should be filtered out by the ActivationConfigBean sendReceiveNegative("negativeTest2", 0); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/annotated/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/annotated/ClientIT.java index 029522aadf..ca57175a12 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/annotated/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/annotated/ClientIT.java @@ -24,12 +24,13 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.QueueClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); /* - * @class.setup_props: jms_timeout; user; password; + * @class.setup_props: jms_timeout; user; password; */ /* diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/descriptor/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/descriptor/ClientIT.java index 7a0b6366e0..890f3c9b59 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/descriptor/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/descriptor/ClientIT.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.QueueClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/annotated/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/annotated/ClientIT.java index 0c261d03ec..a90f1041b9 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/annotated/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/annotated/ClientIT.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.QueueClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/descriptor/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/descriptor/ClientIT.java index 521a5e6804..c68170f6fe 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/descriptor/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/descriptor/ClientIT.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.QueueClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/annotated/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/annotated/ClientIT.java index 8ad4bb1191..2586800d33 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/annotated/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/annotated/ClientIT.java @@ -24,12 +24,13 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.TopicClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); /* - * @class.setup_props: jms_timeout; user; password; + * @class.setup_props: jms_timeout; user; password; */ /* diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/descriptor/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/descriptor/ClientIT.java index 224c61fc60..9452a9636c 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/descriptor/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/descriptor/ClientIT.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.TopicClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/annotated/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/annotated/ClientIT.java index ce9a19e05b..a8a0fcdfe1 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/annotated/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/annotated/ClientIT.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.TopicClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/descriptor/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/descriptor/ClientIT.java index 36ccbbe75d..41c1fc2bc0 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/descriptor/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/descriptor/ClientIT.java @@ -24,12 +24,13 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.TopicClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); /* - * @class.setup_props: jms_timeout; user; password; + * @class.setup_props: jms_timeout; user; password; */ /* diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/annotated/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/annotated/ClientIT.java index ce771b1f36..2e1609ef25 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/annotated/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/annotated/ClientIT.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.TopicClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/descriptor/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/descriptor/ClientIT.java index 33522f7f6d..ea41e6fa6e 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/descriptor/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/descriptor/ClientIT.java @@ -24,12 +24,13 @@ import org.junit.jupiter.api.Test; + public class ClientIT extends com.sun.ts.tests.jms.ee20.ra.activationconfig.common.TopicClientBaseIT { private static final Logger logger = (Logger) System.getLogger(ClientIT.class.getName()); /* - * @class.setup_props: jms_timeout; user; password; + * @class.setup_props: jms_timeout; user; password; */ /* diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/annotations/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/annotations/ClientIT.java index 02d25f3be7..8e5f753b92 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/annotations/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/annotations/ClientIT.java @@ -63,6 +63,7 @@ @JMSConnectionFactoryDefinition(description = "Define Durable TopicConnectionFactory AppClientMyTestDurableTopicConnectionFactory", interfaceName = "jakarta.jms.TopicConnectionFactory", name = "java:comp/env/jms/AppClientMyTestDurableTopicConnectionFactory", user = "j2ee", password = "j2ee", clientId = "MyClientID", properties = { "Property1=10", "Property2=20" }, transactional = false, maxPoolSize = 30, minPoolSize = 20) + public class ClientIT { private static final long serialVersionUID = 1L; diff --git a/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/ClientIT.java b/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/ClientIT.java index 05364682a8..5ff72808d8 100644 --- a/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/ClientIT.java +++ b/jms/src/main/java/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/ClientIT.java @@ -39,6 +39,7 @@ import jakarta.jms.Topic; import jakarta.jms.TopicConnectionFactory; + public class ClientIT { private static final String testName = "com.sun.ts.tests.jms.ee20.resourcedefs.descriptor.Client";