Examples of FooType


Examples of org.apache.cxf.test.assertions.foo.FooType

        Element elem =  DOMUtils.findAllElementsByTagNameNS((Element)doc.getDocumentElement(),
                                                          "http://cxf.apache.org/test/assertions/foo",
                                                          "foo").get(0);
        PolicyAssertion a = ab.build(elem);
        JaxbAssertion<FooType> jba = JaxbAssertion.cast(a, FooType.class);
        FooType foo = jba.getData();
        assertEquals("CXF", foo.getName());
        assertEquals(2, foo.getNumber().intValue());        
    }
View Full Code Here

Examples of org.apache.ws.jaxme.test.bindings.vo.FooType

  /**
   * Tests, whether the binding has moved the schema to the proper
   * package and whether the string constants have been created.
   */
  public void testBindings() throws Exception {
    FooType foo = new ObjectFactory().createFoo();
    foo.setBar(YesNoTypeClass.YES);
    foo.setBool(Boolean.TRUE);
    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);
    impFoo.setRequiredLong(1L);
        impFoo.setOptionalLong(new Long(1));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.