summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-05-16 08:44:44 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-05-16 08:44:44 +0000
commit3d3b8834b93b98cc7d7534e693e937179067eb58 (patch)
tree1c31b939872ea8455118a16009a2abb96179ecf1 /branches/sca-java-1.5/itest/validation/src/test/java/binding/jms
parent86101a456fb21b25abc09533769805911efd1c7f (diff)
Delete previous 1.5 branch thats now old and unused and will be replaced with the current 1.x trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5/itest/validation/src/test/java/binding/jms')
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessDestinationTypeTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessHeadersTestCase.java62
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessResponseDestinationTypeTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidCorrelationSchemeTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSDeliveryModeTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSPriorityTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidResponseDestinationTypeTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingActivationSpecNameTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingConnectionFactoryNameTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseActivationSpecTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseConnectionFactoryTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MustStartWithSchemaTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnexpectedElementTestCase.java60
-rw-r--r--branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnknownTokenInURITestCase.java60
14 files changed, 0 insertions, 842 deletions
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessDestinationTypeTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessDestinationTypeTestCase.java
deleted file mode 100644
index d32bb33d93..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessDestinationTypeTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class DoesntProcessDestinationTypeTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite",
- "TestContribution", "src/main/resources/bindingjms/DoesntProcessDestinationType/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("DoesntProcessDestinationType", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessHeadersTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessHeadersTestCase.java
deleted file mode 100644
index 2ba2e6cd12..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessHeadersTestCase.java
+++ /dev/null
@@ -1,62 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-import org.junit.Ignore;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class DoesntProcessHeadersTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/DoesntProcessHeaders/service.composite",
- "TestContribution", "src/main/resources/bindingjms/DoesntProcessHeaders/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- @Ignore("TUSCANY-2532")
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
-// assertEquals("DoesntProcessHeaders", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessResponseDestinationTypeTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessResponseDestinationTypeTestCase.java
deleted file mode 100644
index 011d9e427d..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/DoesntProcessResponseDestinationTypeTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class DoesntProcessResponseDestinationTypeTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite",
- "TestContribution", "src/main/resources/bindingjms/DoesntProcessResponseDestinationType/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("DoesntProcessResponseDestinationType", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidCorrelationSchemeTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidCorrelationSchemeTestCase.java
deleted file mode 100644
index f0b798c2e4..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidCorrelationSchemeTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class InvalidCorrelationSchemeTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite",
- "TestContribution", "src/main/resources/bindingjms/InvalidCorrelationScheme/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("InvalidCorrelationScheme", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSDeliveryModeTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSDeliveryModeTestCase.java
deleted file mode 100644
index a114501098..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSDeliveryModeTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class InvalidJMSDeliveryModeTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite",
- "TestContribution", "src/main/resources/bindingjms/InvalidJMSDeliveryMode/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("InvalidJMSDeliveryMode", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSPriorityTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSPriorityTestCase.java
deleted file mode 100644
index d31e02054a..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidJMSPriorityTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class InvalidJMSPriorityTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/InvalidJMSPriority/service.composite",
- "TestContribution", "src/main/resources/bindingjms/InvalidJMSPriority/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("InvalidJMSPriority", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidResponseDestinationTypeTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidResponseDestinationTypeTestCase.java
deleted file mode 100644
index 1727217fe0..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/InvalidResponseDestinationTypeTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class InvalidResponseDestinationTypeTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite",
- "TestContribution", "src/main/resources/bindingjms/InvalidResponseDestinationType/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("InvalidResponseDestinationType", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingActivationSpecNameTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingActivationSpecNameTestCase.java
deleted file mode 100644
index 33bf2882e5..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingActivationSpecNameTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class MissingActivationSpecNameTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/MissingActivationSpecName/service.composite",
- "TestContribution", "src/main/resources/bindingjms/MissingActivationSpecName/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getProblems().get(1);
-
- assertNotNull(problem);
- assertEquals("MissingActivationSpecName", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingConnectionFactoryNameTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingConnectionFactoryNameTestCase.java
deleted file mode 100644
index fcb4345293..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingConnectionFactoryNameTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class MissingConnectionFactoryNameTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite",
- "TestContribution", "src/main/resources/bindingjms/MissingConnectionFactoryName/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getProblems().get(1);
-
- assertNotNull(problem);
- assertEquals("MissingConnectionFactoryName", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseActivationSpecTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseActivationSpecTestCase.java
deleted file mode 100644
index 04d1ba1055..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseActivationSpecTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class MissingResponseActivationSpecTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite",
- "TestContribution", "src/main/resources/bindingjms/MissingResponseActivationSpec/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getProblems().get(1);
-
- assertNotNull(problem);
- assertEquals("MissingResponseActivationSpec", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseConnectionFactoryTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseConnectionFactoryTestCase.java
deleted file mode 100644
index 8725a714e8..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MissingResponseConnectionFactoryTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class MissingResponseConnectionFactoryTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite",
- "TestContribution", "src/main/resources/bindingjms/MissingResponseConnectionFactory/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getProblems().get(1);
-
- assertNotNull(problem);
- assertEquals("MissingResponseConnectionFactory", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MustStartWithSchemaTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MustStartWithSchemaTestCase.java
deleted file mode 100644
index b62cd22d6f..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/MustStartWithSchemaTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class MustStartWithSchemaTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/MustStartWithSchema/service.composite",
- "TestContribution", "src/main/resources/bindingjms/MustStartWithSchema/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("MustStartWithSchema", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnexpectedElementTestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnexpectedElementTestCase.java
deleted file mode 100644
index 90a82ebe1f..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnexpectedElementTestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class UnexpectedElementTestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/UnexpectedElement/service.composite",
- "TestContribution", "src/main/resources/bindingjms/UnexpectedElement/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("UnexpectedElement", problem.getMessageId());
- }
-}
diff --git a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnknownTokenInURITestCase.java b/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnknownTokenInURITestCase.java
deleted file mode 100644
index df86fe1564..0000000000
--- a/branches/sca-java-1.5/itest/validation/src/test/java/binding/jms/UnknownTokenInURITestCase.java
+++ /dev/null
@@ -1,60 +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 binding.jms;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.monitor.Monitor;
-import org.apache.tuscany.sca.monitor.Problem;
-import org.apache.tuscany.sca.monitor.impl.DefaultMonitorImpl;
-
-import domain.CustomCompositeBuilder;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class UnknownTokenInURITestCase extends TestCase {
-
- private CustomCompositeBuilder customDomain;
-
- @Override
- protected void setUp() throws Exception
- {
- customDomain = CustomCompositeBuilder.getInstance();
- try {
- customDomain.loadContribution("src/main/resources/bindingjms/UnknownTokenInURI/service.composite",
- "TestContribution", "src/main/resources/bindingjms/UnknownTokenInURI/");
- } catch (Exception ex){
- //throw ex;
- }
- }
-
- @Override
- protected void tearDown() throws Exception {
- //node.stop();
- }
-
- public void testCalculator() {
- Monitor monitor = customDomain.getMonitorInstance();
- Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem();
-
- assertNotNull(problem);
- assertEquals("UnknownTokenInURI", problem.getMessageId());
- }
-}