Author: jochen
Date: Wed Aug 30 07:51:32 2006
New Revision: 438505

URL: http://svn.apache.org/viewvc?rev=438505&view=rev
Log:
Test suite bug fix

Added:
    
webservices/jaxme/branches/MAVEN/projects/jm/src/test/resources/bindings/imported.xsi
Modified:
    
webservices/jaxme/branches/MAVEN/projects/jm/src/test/java/org/apache/ws/jaxme/junit/BindingsTest.java
    
webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/junit/BindingsTest.java
    webservices/jaxme/branches/b0_5/src/test/jaxb/bindings/bindings.jxb

Modified: 
webservices/jaxme/branches/MAVEN/projects/jm/src/test/java/org/apache/ws/jaxme/junit/BindingsTest.java
URL: 
http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/projects/jm/src/test/java/org/apache/ws/jaxme/junit/BindingsTest.java?rev=438505&r1=438504&r2=438505&view=diff
==============================================================================
--- 
webservices/jaxme/branches/MAVEN/projects/jm/src/test/java/org/apache/ws/jaxme/junit/BindingsTest.java
 (original)
+++ 
webservices/jaxme/branches/MAVEN/projects/jm/src/test/java/org/apache/ws/jaxme/junit/BindingsTest.java
 Wed Aug 30 07:51:32 2006
@@ -55,7 +55,7 @@
        public void testBindings() throws Exception {
                FooType foo = new ObjectFactory().createFoo();
                foo.setBar(YesNoTypeClass.YES);
-               ImpFooType impFoo = new ObjectFactory().createImpFooType();
+               ImpFooType impFoo = new 
org.apache.ws.jaxme.test.bindings.imported.vo.ObjectFactory().createImpFoo();
                
impFoo.setXyz(org.apache.ws.jaxme.test.bindings.imported.vo.YesNoTypeClass.NO);
        }
 }

Added: 
webservices/jaxme/branches/MAVEN/projects/jm/src/test/resources/bindings/imported.xsi
URL: 
http://svn.apache.org/viewvc/webservices/jaxme/branches/MAVEN/projects/jm/src/test/resources/bindings/imported.xsi?rev=438505&view=auto
==============================================================================
--- 
webservices/jaxme/branches/MAVEN/projects/jm/src/test/resources/bindings/imported.xsi
 (added)
+++ 
webservices/jaxme/branches/MAVEN/projects/jm/src/test/resources/bindings/imported.xsi
 Wed Aug 30 07:51:32 2006
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2003, 2004  The Apache Software Foundation
+ 
+ Licensed 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.
+-->
+<xs:schema
+    xmlns:xs="http://www.w3.org/2001/XMLSchema";
+    targetNamespace="http://ws.apache.org/jaxme/test/bindings/imported";
+    xmlns:imp="http://ws.apache.org/jaxme/test/bindings/imported";
+    elementFormDefault="qualified"
+    attributeFormDefault="unqualified">
+  <xs:element name="blubb">
+    <xs:complexType>
+      <xs:attribute name="blabb" type="imp:YesNoType"/>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:simpleType name="YesNoType">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="YES"/>
+      <xs:enumeration value="NO"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:element name="foo">
+    <xs:complexType>
+      <xs:attribute name="xyz" type="imp:YesNoType"/>
+    </xs:complexType>
+  </xs:element>
+</xs:schema>

Modified: 
webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/junit/BindingsTest.java
URL: 
http://svn.apache.org/viewvc/webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/junit/BindingsTest.java?rev=438505&r1=438504&r2=438505&view=diff
==============================================================================
--- 
webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/junit/BindingsTest.java
 (original)
+++ 
webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/junit/BindingsTest.java
 Wed Aug 30 07:51:32 2006
@@ -55,7 +55,7 @@
        public void testBindings() throws Exception {
                FooType foo = new ObjectFactory().createFoo();
                foo.setBar(YesNoTypeClass.YES);
-               ImpFooType impFoo = new ObjectFactory().createImpFooType();
+               ImpFooType impFoo = new 
org.apache.ws.jaxme.test.bindings.imported.vo.ObjectFactory().createImpFoo();
                
impFoo.setXyz(org.apache.ws.jaxme.test.bindings.imported.vo.YesNoTypeClass.NO);
        }
 }

Modified: webservices/jaxme/branches/b0_5/src/test/jaxb/bindings/bindings.jxb
URL: 
http://svn.apache.org/viewvc/webservices/jaxme/branches/b0_5/src/test/jaxb/bindings/bindings.jxb?rev=438505&r1=438504&r2=438505&view=diff
==============================================================================
--- webservices/jaxme/branches/b0_5/src/test/jaxb/bindings/bindings.jxb 
(original)
+++ webservices/jaxme/branches/b0_5/src/test/jaxb/bindings/bindings.jxb Wed Aug 
30 07:51:32 2006
@@ -35,7 +35,7 @@
       <jxb:typesafeEnumClass/>
     </jxb:bindings>
     <jxb:bindings node="xs:[EMAIL PROTECTED]'foo']">
-      <jxb:class name="impFoo"/>
+      <jxb:class name="ImpFoo"/>
     </jxb:bindings>
   </jxb:bindings>
 </jxb:bindings>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to