FileDocCategorySizeDatePackage
TestTypesNonBeanCompatible.javaAPI DocApache Axis 1.43228Sat Apr 22 18:57:28 BST 2006test.typedesc

TestTypesNonBeanCompatible

public class TestTypesNonBeanCompatible extends TestCase

Fields Summary
private org.apache.axis.wsdl.fromJava.Types
types
Constructors Summary
Methods Summary
protected voidsetUp()


                Definition def = WSDLFactory.newInstance().newDefinition();
                TypeMapping tm = DefaultTypeMappingImpl.getSingletonDelegate();
                Namespaces namespaces = new Namespaces();
                ServiceDesc serviceDesc = new JavaServiceDesc();
                
                types = new Types(def, tm, tm, namespaces, "any:name.space", new ArrayList(), serviceDesc);
        
public voidtestWriteObjectType()


        String schema = types.writeType(Object.class);
        assertNotNull("Schema should NOT be null for Object class", schema);

        schema = types.writeType(Object[].class);
        assertNotNull("Schema should NOT be be null for Object[] class", schema);