From a6261ada0a56abe83378e9f2d1200539fd2ca34a Mon Sep 17 00:00:00 2001 From: bdaniel Date: Mon, 30 Aug 2010 21:29:10 +0000 Subject: Add support for ActivationSpec error conditions git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990951 13f79535-47bb-0310-9956-ffa450edef68 --- otest/newlayout/tuscany-jms-test-runner/pom.xml | 19 +++++++++++++++++++ .../tuscany-oasis-sca-tests-errors.properties | 2 ++ 2 files changed, 21 insertions(+) (limited to 'otest') diff --git a/otest/newlayout/tuscany-jms-test-runner/pom.xml b/otest/newlayout/tuscany-jms-test-runner/pom.xml index 55349fa98a..4116590e14 100644 --- a/otest/newlayout/tuscany-jms-test-runner/pom.xml +++ b/otest/newlayout/tuscany-jms-test-runner/pom.xml @@ -29,6 +29,19 @@ Apache Tuscany SCA Specification Tests for JMS Binding + + + org.apache.tuscany.sca + tuscany-core-spi + 2.0-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-core + 2.0-SNAPSHOT + + org.apache.tuscany.sca tuscany-node-impl @@ -81,6 +94,12 @@ servlet-api 2.5 + + + org.apache.geronimo.specs + geronimo-j2ee-connector_1.5_spec + 2.0.0 + com.sun.xml.ws diff --git a/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties b/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties index 20cfb33893..b5e32a0d55 100644 --- a/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties +++ b/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties @@ -17,6 +17,8 @@ BJM_3014=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS Destination BJM_3014C=org.apache.tuscany.sca.binding.jms.JMSBindingException: JNDI resource 'TEST_BJM_3014_Queue' is not a JMS ConnectionFactory BJM_3014D=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS Destination TEST_BJM_3014_Topic expecting type of queue but found topic while registering service Service1 listener BJM_3015Aa=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3015Aa, Artifact: Test_BJM_3015Aa.composite] - Must specify jndiName attribute when create mode is "never" +BJM_3015Ab=org.apache.tuscany.sca.binding.jms.JMSBindingException: ActivationSpec specifies create mode of "never" but resource does not exist at jndiName DoesntExist +BJM_3015Ac=org.apache.tuscany.sca.binding.jms.JMSBindingException: Incorrect resource type for ActivationSpec: org.apache.activemq.command.ActiveMQQueue BJM_3015Ca=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3015Ca, Artifact: Test_BJM_3015Ca.composite] - Missing ConnectionFactory Name BJM_3015Cb=org.apache.tuscany.sca.binding.jms.JMSBindingException: connection factory not found: DoesntExist BJM_3015Cc=org.apache.tuscany.sca.binding.jms.JMSBindingException: JNDI resource 'TEST_BJM_3015_Queue' is not a JMS ConnectionFactory -- cgit v1.2.3