Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 74791 invoked from network); 25 Jun 2009 12:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 12:06:18 -0000 Received: (qmail 65638 invoked by uid 500); 25 Jun 2009 12:06:29 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 65458 invoked by uid 500); 25 Jun 2009 12:06:28 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 65449 invoked by uid 500); 25 Jun 2009 12:06:28 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 65446 invoked by uid 99); 25 Jun 2009 12:06:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 12:06:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 12:06:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 911082388876; Thu, 25 Jun 2009 12:06:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r788335 - in /webservices/axis2/trunk/java/modules/adb-codegen: sub-build.xml test-resources/testsuite/unqualified.xsd test/org/apache/axis2/schema/unqualified/ test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java Date: Thu, 25 Jun 2009 12:06:05 -0000 To: axis2-cvs@ws.apache.org From: veithen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090625120605.911082388876@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: veithen Date: Thu Jun 25 12:06:05 2009 New Revision: 788335 URL: http://svn.apache.org/viewvc?rev=788335&view=rev Log: Added a simple test case for schemas with elementFormDefault="unqualified". Added: webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/unqualified.xsd webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java (with props) Modified: webservices/axis2/trunk/java/modules/adb-codegen/sub-build.xml Modified: webservices/axis2/trunk/java/modules/adb-codegen/sub-build.xml URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/sub-build.xml?rev=788335&r1=788334&r2=788335&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/adb-codegen/sub-build.xml (original) +++ webservices/axis2/trunk/java/modules/adb-codegen/sub-build.xml Thu Jun 25 12:06:05 2009 @@ -81,6 +81,7 @@ + Added: webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/unqualified.xsd URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/unqualified.xsd?rev=788335&view=auto ============================================================================== --- webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/unqualified.xsd (added) +++ webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/unqualified.xsd Thu Jun 25 12:06:05 2009 @@ -0,0 +1,32 @@ + + + + + + + + + + + + \ No newline at end of file Added: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java?rev=788335&view=auto ============================================================================== --- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java (added) +++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java Thu Jun 25 12:06:05 2009 @@ -0,0 +1,31 @@ +/* + * 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.axis2.schema.unqualified; + +import org.apache.axis2.schema.AbstractTestCase; + +public class UnqualifiedTest extends AbstractTestCase { + public void test() throws Exception { + TestElement testElement = new TestElement(); + testElement.setElement1("element1"); + testElement.setElement2("element2"); + testSerializeDeserialize(testElement); + } +} Propchange: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java ------------------------------------------------------------------------------ svn:eol-style = native