From eb1a1e010f96565ba8441f4cdc2654a31af2d570 Mon Sep 17 00:00:00 2001 From: beckerdo Date: Wed, 11 Mar 2009 16:02:30 +0000 Subject: TUSCANY-2907 Stest code git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@752484 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/client/ASM_0027_TestCase.java | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 branches/sca-java-1.x/stest/sampleTest/src/test/java/client/ASM_0027_TestCase.java (limited to 'branches/sca-java-1.x/stest/sampleTest/src/test/java/client/ASM_0027_TestCase.java') diff --git a/branches/sca-java-1.x/stest/sampleTest/src/test/java/client/ASM_0027_TestCase.java b/branches/sca-java-1.x/stest/sampleTest/src/test/java/client/ASM_0027_TestCase.java new file mode 100644 index 0000000000..86d8f51288 --- /dev/null +++ b/branches/sca-java-1.x/stest/sampleTest/src/test/java/client/ASM_0027_TestCase.java @@ -0,0 +1,60 @@ +/* + * 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 client; + + +import test.ASM_0002_Client; +import testClient.TestInvocation; + +/** + * Client for ASM_0027_TestCase, which tests that where a has + * 2 or more child elements that each element has a + * unique @name attribute value + */ +public class ASM_0027_TestCase extends BaseJAXWSTestCase { + + + /** + *

+ * OSOA + * No corresponding declaration for this feature. + *

+ * OASIS + *

+ * ASM50030 + * A element MUST NOT contain two subelements with the + * same value of the @name attribute. + *

+ * Jira issue: + * https://issues.apache.org/jira/browse/TUSCANY-2863 + * + */ + protected TestConfiguration getTestConfiguration() { + TestConfiguration config = new TestConfiguration(); + config.testName = "ASM_0027"; + config.input = "request"; + config.output = "exception"; + config.composite = "Test_ASM_0027.composite"; + config.testServiceName = "TestClient"; + config.testClass = ASM_0002_Client.class; + config.serviceInterface = TestInvocation.class; + return config; + } + +} // end class Test_ASM_0027 -- cgit v1.2.3