Repository: qpid-jms Updated Branches: refs/heads/master c755787d7 -> fd0cd2c79
Break up Joram tests for easier debug of issues Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/fd0cd2c7 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/fd0cd2c7 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/fd0cd2c7 Branch: refs/heads/master Commit: fd0cd2c7987a984fa3909763a8627780f40f570b Parents: c755787 Author: Timothy Bish <tabish...@gmail.com> Authored: Fri Jan 9 16:28:12 2015 -0500 Committer: Timothy Bish <tabish...@gmail.com> Committed: Fri Jan 9 16:28:12 2015 -0500 ---------------------------------------------------------------------- .../qpid/jms/joram/JoramConnectionTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramJMSXPropertyTest.java | 56 +++++++++++++ .../org/apache/qpid/jms/joram/JoramJmsTest.java | 86 -------------------- .../qpid/jms/joram/JoramMessageBodyTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramMessageDefaultTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramMessageHeaderTest.java | 56 +++++++++++++ .../JoramMessagePropertyConversionTest.java | 56 +++++++++++++ .../jms/joram/JoramMessagePropertyTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramMessageTypeTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramQueueBrowserTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramQueueSessionTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramSelectorSyntaxTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramSelectorTest.java | 56 +++++++++++++ .../apache/qpid/jms/joram/JoramSessionTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramTemporaryQueueTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramTemporaryTopicTest.java | 56 +++++++++++++ .../jms/joram/JoramTopicConnectionTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramTopicSessionTest.java | 56 +++++++++++++ .../qpid/jms/joram/JoramUnifiedSessionTest.java | 56 +++++++++++++ 19 files changed, 1008 insertions(+), 86 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramConnectionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramConnectionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramConnectionTest.java new file mode 100644 index 0000000..8f8c031 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramConnectionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.connection.ConnectionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram ConnectionTest + */ +public class JoramConnectionTest extends ConnectionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramConnectionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramConnectionTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJMSXPropertyTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJMSXPropertyTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJMSXPropertyTest.java new file mode 100644 index 0000000..013c968 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJMSXPropertyTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram JMSXPropertyTest + */ +public class JoramJMSXPropertyTest extends JMSXPropertyTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramJMSXPropertyTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramJMSXPropertyTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJmsTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJmsTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJmsTest.java deleted file mode 100644 index c8cf620..0000000 --- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramJmsTest.java +++ /dev/null @@ -1,86 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.qpid.jms.joram; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -import org.objectweb.jtests.jms.conform.connection.ConnectionTest; -import org.objectweb.jtests.jms.conform.connection.TopicConnectionTest; -import org.objectweb.jtests.jms.conform.message.MessageBodyTest; -import org.objectweb.jtests.jms.conform.message.MessageDefaultTest; -import org.objectweb.jtests.jms.conform.message.MessageTypeTest; -import org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest; -import org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest; -import org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest; -import org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest; -import org.objectweb.jtests.jms.conform.queue.QueueBrowserTest; -import org.objectweb.jtests.jms.conform.queue.TemporaryQueueTest; -import org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest; -import org.objectweb.jtests.jms.conform.selector.SelectorTest; -import org.objectweb.jtests.jms.conform.session.QueueSessionTest; -import org.objectweb.jtests.jms.conform.session.SessionTest; -import org.objectweb.jtests.jms.conform.session.TopicSessionTest; -import org.objectweb.jtests.jms.conform.session.UnifiedSessionTest; -import org.objectweb.jtests.jms.conform.topic.TemporaryTopicTest; - -public class JoramJmsTest extends TestCase { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - // Connection - suite.addTestSuite(ConnectionTest.class); - suite.addTestSuite(TopicConnectionTest.class); - - //Message - suite.addTestSuite(MessageBodyTest.class); - suite.addTestSuite(MessageDefaultTest.class); - suite.addTestSuite(MessageTypeTest.class); - - //Message Headers - suite.addTestSuite(MessageHeaderTest.class); - - //Message Properties - suite.addTestSuite(JMSXPropertyTest.class); - suite.addTestSuite(MessagePropertyConversionTest.class); - suite.addTestSuite(MessagePropertyTest.class); - - //Queue - suite.addTestSuite(QueueBrowserTest.class); - suite.addTestSuite(TemporaryQueueTest.class); - - //Selector - suite.addTestSuite(SelectorSyntaxTest.class); - suite.addTestSuite(SelectorTest.class); - - //Session - suite.addTestSuite(QueueSessionTest.class); - suite.addTestSuite(SessionTest.class); - suite.addTestSuite(TopicSessionTest.class); - suite.addTestSuite(UnifiedSessionTest.class); - - //Topic - suite.addTestSuite(TemporaryTopicTest.class); - return suite; - } - - public static void main(String[] args) { - junit.textui.TestRunner.run(suite()); - } -} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageBodyTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageBodyTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageBodyTest.java new file mode 100644 index 0000000..ad718f1 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageBodyTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.MessageBodyTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram JMS MessageBodyTest + */ +public class JoramMessageBodyTest extends MessageBodyTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramMessageBodyTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramMessageBodyTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageDefaultTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageDefaultTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageDefaultTest.java new file mode 100644 index 0000000..1a62f52 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageDefaultTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.MessageDefaultTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram MessageDefaultTest + */ +public class JoramMessageDefaultTest extends MessageDefaultTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramMessageDefaultTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramMessageDefaultTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageHeaderTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageHeaderTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageHeaderTest.java new file mode 100644 index 0000000..1f99dbb --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageHeaderTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram MessageHeaderTest + */ +public class JoramMessageHeaderTest extends MessageHeaderTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramMessageHeaderTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramMessageHeaderTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyConversionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyConversionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyConversionTest.java new file mode 100644 index 0000000..437149e --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyConversionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram MessagePropertyConversionTest + */ +public class JoramMessagePropertyConversionTest extends MessagePropertyConversionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramMessagePropertyConversionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramMessagePropertyConversionTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyTest.java new file mode 100644 index 0000000..23860ac --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessagePropertyTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram JoramMessagePropertyTest + */ +public class JoramMessagePropertyTest extends MessagePropertyTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramMessagePropertyTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramMessagePropertyTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageTypeTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageTypeTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageTypeTest.java new file mode 100644 index 0000000..71d5484 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramMessageTypeTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.message.MessageTypeTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram MessageTypeTest + */ +public class JoramMessageTypeTest extends MessageTypeTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramMessageTypeTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramMessageTypeTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueBrowserTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueBrowserTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueBrowserTest.java new file mode 100644 index 0000000..849eece --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueBrowserTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.queue.QueueBrowserTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram QueueBrowserTest + */ +public class JoramQueueBrowserTest extends QueueBrowserTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramQueueBrowserTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramQueueBrowserTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueSessionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueSessionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueSessionTest.java new file mode 100644 index 0000000..888263a --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramQueueSessionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.session.QueueSessionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram QueueSessionTest + */ +public class JoramQueueSessionTest extends QueueSessionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramQueueSessionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramQueueSessionTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorSyntaxTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorSyntaxTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorSyntaxTest.java new file mode 100644 index 0000000..2f2d696 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorSyntaxTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram SelectorSyntaxTest + */ +public class JoramSelectorSyntaxTest extends SelectorSyntaxTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramSelectorSyntaxTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramSelectorSyntaxTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorTest.java new file mode 100644 index 0000000..890ffd9 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSelectorTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.selector.SelectorTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram SelectorTest + */ +public class JoramSelectorTest extends SelectorTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramSelectorTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramSelectorTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSessionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSessionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSessionTest.java new file mode 100644 index 0000000..fe054f2 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramSessionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.session.SessionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram SessionTest + */ +public class JoramSessionTest extends SessionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramSessionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramSessionTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryQueueTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryQueueTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryQueueTest.java new file mode 100644 index 0000000..4d7dee2 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryQueueTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.queue.TemporaryQueueTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram TemporaryQueueTest + */ +public class JoramTemporaryQueueTest extends TemporaryQueueTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramTemporaryQueueTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramTemporaryQueueTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryTopicTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryTopicTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryTopicTest.java new file mode 100644 index 0000000..1995bc0 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTemporaryTopicTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.topic.TemporaryTopicTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram TemporaryTopicTest + */ +public class JoramTemporaryTopicTest extends TemporaryTopicTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramTemporaryTopicTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramTemporaryTopicTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicConnectionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicConnectionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicConnectionTest.java new file mode 100644 index 0000000..eef8f75 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicConnectionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.connection.TopicConnectionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram TopicConnectionTest + */ +public class JoramTopicConnectionTest extends TopicConnectionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramTopicConnectionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramTopicConnectionTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicSessionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicSessionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicSessionTest.java new file mode 100644 index 0000000..07a9d20 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramTopicSessionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.session.TopicSessionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram TopicSessionTest + */ +public class JoramTopicSessionTest extends TopicSessionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramTopicSessionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramTopicSessionTest.class); + } +} http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd0cd2c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramUnifiedSessionTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramUnifiedSessionTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramUnifiedSessionTest.java new file mode 100644 index 0000000..c06e2a4 --- /dev/null +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/joram/JoramUnifiedSessionTest.java @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.qpid.jms.joram; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.junit.After; +import org.junit.Before; +import org.objectweb.jtests.jms.conform.session.UnifiedSessionTest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Runs the Joram UnifiedSessionTest + */ +public class JoramUnifiedSessionTest extends UnifiedSessionTest { + + private final Logger LOG = LoggerFactory.getLogger(getClass()); + + public JoramUnifiedSessionTest(String name) { + super(name); + } + + @Before + @Override + public void setUp() throws Exception { + LOG.info("========== Starting test: " + getName() + " =========="); + super.setUp(); + } + + @After + @Override + public void tearDown() throws Exception { + LOG.info("========== Finsished test: " + getName() + " =========="); + super.tearDown(); + } + + public static Test suite() { + return new TestSuite(JoramUnifiedSessionTest.class); + } +} --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org