incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r499104 - in /incubator/yoko/trunk/bindings/src: main/java/org/apache/yoko/bindings/corba/ main/java/org/apache/yoko/bindings/corba/interceptors/ main/java/org/apache/yoko/bindings/corba/types/ test/java/org/apache/yoko/bindings/corba/
Date Tue, 23 Jan 2007 19:28:25 GMT
Author: bravi
Date: Tue Jan 23 11:28:24 2007
New Revision: 499104

URL: http://svn.apache.org/viewvc?view=rev&rev=499104
Log:
[YOKO-170] - Fixing the nested array type & enabling the test case.

Modified:
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaOutInterceptor.java
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaObjectHandler.java
    incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java?view=diff&rev=499104&r1=499103&r2=499104
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
Tue Jan 23 11:28:24 2007
@@ -120,7 +120,6 @@
 
     public CorbaObjectHandler readObjectFromStax(XMLEventReader reader, 
                                                  QName idlType,
-                                                 boolean isWrapped,
                                                  boolean isNested)
         throws CorbaBindingException {
         CorbaObjectHandler obj = null;
@@ -132,10 +131,6 @@
                     reader.nextEvent();
                 }
             }
-            if (isWrapped) {
-                //read the wrapped type
-                reader.nextEvent();
-            }
         } catch (XMLStreamException ex) {
             throw new CorbaBindingException("Unable to locate start of object", ex);
         }
@@ -164,7 +159,7 @@
                 break;
             case TCKind._tk_sequence:
                 LOG.log(Level.INFO, "Reading sequence type from XML reader");
-                obj = readSequenceFromStax(reader, idlType, tc);
+                obj = readSequenceFromStax(reader, idlType, tc, !isNested);
                 break;
             case TCKind._tk_string:
             case TCKind._tk_wstring:
@@ -188,7 +183,9 @@
         return obj;
     }
 
-    public void writeObjectToStax(CorbaObjectHandler obj, XMLEventWriter writer, XMLEventFactory
factory,
+    public void writeObjectToStax(CorbaObjectHandler obj,
+                                  XMLEventWriter writer,
+                                  XMLEventFactory factory,
                                   boolean isNested) {
         try {
             if (obj != null) {
@@ -215,7 +212,7 @@
                         break;
                     case TCKind._tk_sequence:
                         LOG.log(Level.INFO, "Writing sequence type to XML writer");
-                        writeSequenceToStax(obj, writer, factory);
+                        writeSequenceToStax(obj, writer, factory, !isNested);
                         break;
                     case TCKind._tk_struct:
                         LOG.log(Level.INFO, "Writing struct type to XML writer");
@@ -240,6 +237,7 @@
             LOG.log(Level.SEVERE, "Object being written: " + obj);
             throw new CorbaBindingException("writeObjectToStax STAX exception", ex);
         } catch (java.lang.Exception ex) {
+            ex.printStackTrace();
             LOG.log(Level.SEVERE, "Non-STAX exception while writing to STAX event writer:
" + ex.toString());
             LOG.log(Level.SEVERE, "Object being written: " + obj);
             throw new CorbaBindingException("writeObjectToStax exception", ex);
@@ -259,11 +257,7 @@
                 charEl = event.asCharacters();
             }                                    
                                     
-            reader.nextEvent().asEndElement();
-            /*event = reader.nextEvent();
-            if (event.isEndElement()) {
-                event.asEndElement();
-            } */               
+            reader.nextEvent().asEndElement();             
 
             if (tc.kind().value() == TCKind._tk_any) {
                 Iterator attrIter = startEl.getAttributes();
@@ -288,6 +282,7 @@
                 return obj;
             }
         } catch (java.lang.Exception ex) {
+            ex.printStackTrace();
             LOG.log(Level.SEVERE, "Error: Object not correctly defined in the XML reader");
             throw new CorbaBindingException("Invalid XML event read", ex);
         }
@@ -383,7 +378,7 @@
             StartElement arrayStartEl = reader.nextEvent().asStartElement();
             obj = new CorbaArrayHandler(arrayStartEl.getName(), idlType, tc, typeDefinition);
             for (int i = 0; i < arrayBound; ++i) {
-                CorbaObjectHandler element = readObjectFromStax(reader, arrayElemType, false,
true);
+                CorbaObjectHandler element = readObjectFromStax(reader, arrayElemType, true);
                 obj.addElement(element);
             }
             reader.nextEvent().asEndElement();
@@ -454,7 +449,6 @@
             for (int i = 0; i < exMembers.size(); ++i) {
                 CorbaObjectHandler member = readObjectFromStax(reader,
                                                                exMembers.get(i).getIdltype(),
-                                                               false,
                                                                true);
                 obj.addMember(member);
             }
@@ -481,7 +475,10 @@
         writer.add(endEl); 
     }
 
-    public CorbaObjectHandler readSequenceFromStax(XMLEventReader reader, QName idlType,
TypeCode tc)
+    public CorbaObjectHandler readSequenceFromStax(XMLEventReader reader,
+                                                   QName idlType,
+                                                   TypeCode tc,
+                                                   boolean isTopLevel)
         throws CorbaBindingException {
         CorbaSequenceHandler obj = null;
         CorbaTypeImpl typeDefinition = CorbaUtils.getCorbaType(idlType, typeMaps);
@@ -498,23 +495,49 @@
                 seqElementType = seqType.getElemtype();
                 bound = seqType.getBound();
             }
-            obj = new CorbaSequenceHandler(new QName("", typeDefinition.getName()),
+            QName name = new QName("", typeDefinition.getName());
+            if (isTopLevel) {
+                StartElement el = reader.nextEvent().asStartElement();
+                name = el.getName();
+            }
+
+            obj = new CorbaSequenceHandler(name,
                                            idlType,
                                            tc,
                                            typeDefinition);
+            boolean nestedSequence = isNestedSequence(seqElementType);
             if (bound == 0) {
                 LOG.log(Level.INFO, "Unbounded sequence found");
                 while (reader.peek().getEventType() == XMLStreamConstants.START_ELEMENT)
{
-                    CorbaObjectHandler element = readObjectFromStax(reader, seqElementType,
false, true);
+                    QName elName = null;
+                    if (nestedSequence) {
+                        elName = reader.nextEvent().asStartElement().getName();
+                    }
+                    CorbaObjectHandler element = readObjectFromStax(reader, seqElementType,
true);
+                    if (nestedSequence) {
+                        element.setName(elName);
+                        reader.nextEvent().asEndElement();
+                    }
                     obj.addElement(element);
                 }
             } else {
                 LOG.log(Level.INFO, "Bounded sequence found");
                 for (long i = 0; i < bound; ++i) {
-                    CorbaObjectHandler element = readObjectFromStax(reader, seqElementType,
false, true);
+                    QName elName = null;
+                    if (nestedSequence) {
+                        elName = reader.nextEvent().asStartElement().getName();
+                    }
+                    CorbaObjectHandler element = readObjectFromStax(reader, seqElementType,
true);
+                    if (nestedSequence) {
+                        element.setName(elName);
+                        reader.nextEvent().asEndElement();
+                    }
                     obj.addElement(element);
                 }
             }
+            if (isTopLevel) {
+                reader.nextEvent().asEndElement();
+            }
         } catch (java.lang.Exception ex) {
             LOG.log(Level.SEVERE, "Received exception while reading object of type " + idlType);
             throw new CorbaBindingException("Error while reading sequence corba type", ex);
@@ -523,16 +546,41 @@
         return obj;
     }
 
-    public void writeSequenceToStax(CorbaObjectHandler obj, XMLEventWriter writer, XMLEventFactory
factory) 
+    public void writeSequenceToStax(CorbaObjectHandler obj,
+                                    XMLEventWriter writer,
+                                    XMLEventFactory factory,
+                                    boolean isTopLevel) 
         throws XMLStreamException {
+        QName name = obj.getName();
+        if (isTopLevel) {
+            StartElement startEl = factory.createStartElement(name, null, null);
+            writer.add(startEl);
+        }
         CorbaSequenceHandler seqHandler = (CorbaSequenceHandler)obj;
         List<CorbaObjectHandler> elements = seqHandler.getElements();
         for (Iterator<CorbaObjectHandler> elementsIter = elements.iterator(); elementsIter.hasNext();)
{
-            writeObjectToStax(elementsIter.next(), writer, factory, true);
+            CorbaObjectHandler handler = elementsIter.next();
+            QName objName = handler.getName();
+            boolean nestedSequence = isNestedSequence(handler.getTypeCode());
+            if (nestedSequence) {               
+                StartElement startEl = factory.createStartElement(objName, null, null);
+                writer.add(startEl);
+            }
+            writeObjectToStax(handler, writer, factory, true);
+            if (nestedSequence) {
+                EndElement endEl = factory.createEndElement(objName, null);
+                writer.add(endEl);
+            }
+        }
+        if (isTopLevel) {
+            EndElement endEl = factory.createEndElement(name, null);
+            writer.add(endEl); 
         }
     }
 
-    public CorbaObjectHandler readStructFromStax(XMLEventReader reader, QName idlType, TypeCode
tc)
+    public CorbaObjectHandler readStructFromStax(XMLEventReader reader,
+                                                 QName idlType,
+                                                 TypeCode tc)
         throws CorbaBindingException {
         CorbaStructHandler obj = null;
         CorbaTypeImpl typeDefinition = CorbaUtils.getCorbaType(idlType, typeMaps);
@@ -545,7 +593,6 @@
             for (int i = 0; i < structMembers.size(); ++i) {
                 CorbaObjectHandler member = readObjectFromStax(reader, 
                                                                structMembers.get(i).getIdltype(),

-                                                               false,
                                                                true);
                 obj.addMember(member);
             }
@@ -601,7 +648,7 @@
                 Unionbranch branch = branchesIter.next();
                 CorbaObjectHandler branchObj = null;
                 if (branch.getName().equals(branchName)) {
-                    branchObj = readObjectFromStax(reader, branch.getIdltype(), false, true);
+                    branchObj = readObjectFromStax(reader, branch.getIdltype(), true);
                     // We also need to set the discriminator since this is the branch with
the actual
                     // union value
                     CorbaObjectHandler discObj = 
@@ -688,5 +735,18 @@
         writer.add(charEvt);
         EndElement endEl = factory.createEndElement(objName, null);
         writer.add(endEl); 
-    }    
+    }
+
+    private boolean isNestedSequence(TypeCode tc) {
+        boolean result = false;
+        if (tc.kind().value() == TCKind._tk_sequence) {
+            result = true;
+        }
+        return result;
+    }
+
+    private boolean isNestedSequence(QName seqElType) {
+        TypeCode tc = CorbaUtils.getTypeCode(orb, seqElType, typeMaps);
+        return isNestedSequence(tc);
+    }
 }

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java?view=diff&rev=499104&r1=499103&r2=499104
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
Tue Jan 23 11:28:24 2007
@@ -183,7 +183,7 @@
         LOG.log(Level.INFO, "Found exception in the raises list.  Marshalling.");
         ByteArrayInputStream inStream = new ByteArrayInputStream(outStream.toByteArray());
         XMLEventReader evtReader = inputFactory.createXMLEventReader(inStream);
-        CorbaObjectHandler obj = corbaStaxObject.readObjectFromStax(evtReader, exIdlType,
false, false);
+        CorbaObjectHandler obj = corbaStaxObject.readObjectFromStax(evtReader, exIdlType,
false);
         CorbaStreamable streamable = new CorbaStreamable(obj, elName);
         message.setStreamableException(streamable);
     }

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaOutInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaOutInterceptor.java?view=diff&rev=499104&r1=499103&r2=499104
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaOutInterceptor.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaOutInterceptor.java
Tue Jan 23 11:28:24 2007
@@ -31,6 +31,7 @@
 import javax.xml.stream.XMLEventWriter;
 import javax.xml.stream.XMLInputFactory;
 import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamConstants;
 
 import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.databinding.DataWriter;
@@ -179,7 +180,13 @@
             ByteArrayInputStream inStream = new ByteArrayInputStream(outStream.toByteArray());
             XMLEventReader evtReader = inputFactory.createXMLEventReader(inStream);
 
-            boolean topLevelWrapper = boi.isUnwrappedCapable();
+            if (boi.isUnwrappedCapable()) {
+                //read the wrapper element from the reader
+                while (evtReader.peek().getEventType() != XMLStreamConstants.START_ELEMENT)
{
+                    evtReader.nextEvent();
+                }
+                evtReader.nextEvent();
+            }
 
             for (Iterator<ParamType> iter = params.iterator(); iter.hasNext();) {
                 ParamType param = iter.next();
@@ -191,9 +198,7 @@
                 } else {
                     obj = corbaStaxObject.readObjectFromStax(evtReader,
                                                              idlType,
-                                                             topLevelWrapper,
                                                              false);
-                    topLevelWrapper = false;
                 }
                 CorbaStreamable streamable = new CorbaStreamable(obj, elName);
                 ModeType paramMode = param.getMode();
@@ -228,10 +233,16 @@
                 Object partValue = args.get(i);
                 writer.write(partValue, part, evtWriter);
             }
-            boolean topLevelWrapper = boi.isUnwrappedCapable();
-
             ByteArrayInputStream inStream = new ByteArrayInputStream(outStream.toByteArray());
             XMLEventReader evtReader = inputFactory.createXMLEventReader(inStream);
+
+            if (boi.isUnwrappedCapable()) {
+                //read the wrapper element from the reader
+                while (evtReader.peek().getEventType() != XMLStreamConstants.START_ELEMENT)
{
+                    evtReader.nextEvent();
+                }
+                evtReader.nextEvent();
+            }
             
             ArgType returnParam = opType.getReturn();
             if (returnParam != null) {
@@ -239,9 +250,7 @@
                 QName retName = new QName("", returnParam.getName());
                 CorbaObjectHandler obj = corbaStaxObject.readObjectFromStax(evtReader,
                                                                             retIdlType,
-                                                                            topLevelWrapper,
                                                                             false);
-                topLevelWrapper = false;
                 CorbaStreamable streamable = new CorbaStreamable(obj, retName);
                 message.setStreamableReturn(streamable);
             }
@@ -257,9 +266,7 @@
                 } else {
                     obj = corbaStaxObject.readObjectFromStax(evtReader,
                                                              idlType,
-                                                             topLevelWrapper,
                                                              false);
-                    topLevelWrapper = false;
                 }
 
                 CorbaStreamable streamable = new CorbaStreamable(obj, elName);

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java?view=diff&rev=499104&r1=499103&r2=499104
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
Tue Jan 23 11:28:24 2007
@@ -37,8 +37,13 @@
 import org.apache.schemas.yoko.bindings.corba.Unionbranch;
 
 import org.apache.ws.commons.schema.XmlSchema;
+import org.apache.ws.commons.schema.XmlSchemaComplexType;
+import org.apache.ws.commons.schema.XmlSchemaElement;
 import org.apache.ws.commons.schema.XmlSchemaExternal;
 import org.apache.ws.commons.schema.XmlSchemaForm;
+import org.apache.ws.commons.schema.XmlSchemaObjectCollection;
+import org.apache.ws.commons.schema.XmlSchemaSequence;
+import org.apache.ws.commons.schema.XmlSchemaType;
 
 import org.apache.yoko.bindings.corba.CorbaTypeMap;
 import org.apache.yoko.bindings.corba.CorbaUtils;
@@ -148,6 +153,15 @@
         QName arrayElementType = null;
         long arrayBound = 0;
         CorbaTypeImpl baseType = obj.getType();
+        XmlSchemaType schemaType = getXmlSchemaType(serviceInfo, baseType.getType());
+        String elName = "item";
+        if ((schemaType != null) && (schemaType instanceof XmlSchemaComplexType))
{
+            XmlSchemaSequence seq = (XmlSchemaSequence) ((XmlSchemaComplexType) schemaType).getParticle();
+            XmlSchemaObjectCollection col = seq.getItems();
+            if (col.getCount() > 0) {
+                elName = ((XmlSchemaElement) col.getItem(0)).getName();
+            }       
+        }
         if (baseType instanceof Array) {
             Array arrayType = (Array)baseType;
             arrayElementType = arrayType.getElemtype();
@@ -158,7 +172,7 @@
             arrayBound = anonArrayType.getBound();
         }
         for (int i = 0; i < arrayBound; ++i) {
-            QName elementName = new QName(name.getNamespaceURI(), "item");
+            QName elementName = new QName(name.getNamespaceURI(), elName);
             CorbaObjectHandler elementObj = 
                 initializeObjectHandler(orb, elementName, arrayElementType, typeMaps, serviceInfo);
             ((CorbaArrayHandler)obj).addElement(elementObj);
@@ -191,6 +205,15 @@
         QName seqElementType = null;
         long seqBound = 0;
         CorbaTypeImpl baseType = obj.getType();
+        XmlSchemaType schemaType = getXmlSchemaType(serviceInfo, baseType.getType());
+        String elName = name.getLocalPart();
+        if ((schemaType != null) && (schemaType instanceof XmlSchemaComplexType))
{
+            XmlSchemaSequence seq = (XmlSchemaSequence) ((XmlSchemaComplexType) schemaType).getParticle();
+            XmlSchemaObjectCollection col = seq.getItems();
+            if (col.getCount() > 0) {
+                elName = ((XmlSchemaElement) col.getItem(0)).getName();
+            }       
+        }
         if (baseType instanceof Sequence) {
             Sequence seqType = (Sequence)baseType;
             seqElementType = seqType.getElemtype();
@@ -203,13 +226,13 @@
         if (seqBound == 0) {
             // This is an unbounded sequence.  Store a 'template' object that we can use
to create
             // new objects as needed
-            QName elementName = new QName(name.getNamespaceURI(), name.getLocalPart());
+            QName elementName = new QName(name.getNamespaceURI(), elName);
             CorbaObjectHandler elementObj = 
                 initializeObjectHandler(orb, elementName, seqElementType, typeMaps, serviceInfo);
             ((CorbaSequenceHandler)obj).setTemplateElement(elementObj);
         }
         for (int i = 0; i < seqBound; ++i) {
-            QName elementName = new QName(name.getNamespaceURI(), name.getLocalPart());
+            QName elementName = new QName(name.getNamespaceURI(), elName);
             CorbaObjectHandler elementObj = 
                 initializeObjectHandler(orb, elementName, seqElementType, typeMaps, serviceInfo);
             ((CorbaSequenceHandler)obj).addElement(elementObj);
@@ -260,6 +283,7 @@
         }
     }
 
+    //Change this method to access the XmlSchemaCollection.
     public static String getNamespaceURI(ServiceInfo serviceInfo, QName typeName) {
         String nsUri = "";
         if (typeName != null) {
@@ -275,7 +299,8 @@
         return nsUri;
     }
 
-    public static boolean isElementFormQualified(ServiceInfo serviceInfo, String uri) {
+    //Change this method to access the XmlSchemaCollection.
+    private static boolean isElementFormQualified(ServiceInfo serviceInfo, String uri) {
         Iterator<SchemaInfo> it = serviceInfo.getSchemas().iterator();
         while (it.hasNext()) {
             XmlSchema schema = it.next().getSchema();
@@ -284,7 +309,8 @@
         return false;
     }
 
-    public static boolean isElementFormQualified(XmlSchema schema, String uri) {
+    //Change this method to access the XmlSchemaCollection.
+    private static boolean isElementFormQualified(XmlSchema schema, String uri) {
         if (uri.equals(schema.getTargetNamespace())) {
             return schema.getElementFormDefault().getValue().equals(XmlSchemaForm.QUALIFIED);
         }
@@ -294,5 +320,30 @@
             return isElementFormQualified(extSchema.getSchema(), uri);
         }
         return false;
+    }
+
+    //Change this method to access the XmlSchemaCollection.
+    public static XmlSchemaType getXmlSchemaType(ServiceInfo serviceInfo, QName name) {
+        if (name != null) {
+            Iterator<SchemaInfo> it = serviceInfo.getSchemas().iterator();
+            while (it.hasNext()) {
+                XmlSchema schema = it.next().getSchema();
+                return getXmlSchemaType(schema, name);
+            }
+        }
+        return null;
+    }
+
+    //Change this method to access the XmlSchemaCollection.    
+    private static XmlSchemaType getXmlSchemaType(XmlSchema schema, QName name) {
+        XmlSchemaType result = schema.getTypeByName(name);
+        if (result == null) {
+            Iterator it = schema.getIncludes().getIterator();
+            while (it.hasNext()) {
+                XmlSchemaExternal extSchema = (XmlSchemaExternal) it.next();
+                return getXmlSchemaType(extSchema.getSchema(), name);
+            }
+        }
+        return result;
     }
 }

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaObjectHandler.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaObjectHandler.java?view=diff&rev=499104&r1=499103&r2=499104
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaObjectHandler.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaObjectHandler.java
Tue Jan 23 11:28:24 2007
@@ -49,6 +49,10 @@
     public QName getName() {
         return name;
     }
+
+    public void setName(QName qname) {
+        name = qname;
+    }
     
     public String getSimpleName() {
         return name.getLocalPart();

Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java?view=diff&rev=499104&r1=499103&r2=499104
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
(original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
Tue Jan 23 11:28:24 2007
@@ -79,15 +79,7 @@
     public void testStructWithNillables() throws Exception  {
     }
 
-    public void testBoundedArray() throws Exception  {
-	//super.testBoundedArray();
-    }
-
-    public void testUnboundedArray() throws Exception  {
-    }
     public void testCompoundArray() throws Exception  {
-    }
-    public void testNestedArray() throws Exception  {
     }
 
     public void testAnonymousStruct() throws Exception {



Mime
View raw message