Search in sources :

Example 1 with ObsProjectTree

use of alma.demo.ObsProjectTree in project ACS by ACS-Community.

the class DynamicProxyFactoryTest method testCallGetEntireTreeInAStruct.

public void testCallGetEntireTreeInAStruct() throws DynWrapperException {
    XmlComponentOperations serverProxy = createServerProxy();
    assertNotNull(serverProxy);
    ObsProjectTree struct = serverProxy.getEntireTreeInAStruct();
    assertNotNull("returned ObsProjectTree object not null", struct);
    assertNotNull("ObsProposal not null", struct.prop);
    System.out.println("received ObsProposal as XML: " + struct.prop.xmlString);
    assertNotNull("SchedBlockArray not null", struct.schedBlocks);
    assertTrue("SchedBlockArray not empty", struct.schedBlocks.length > 0);
//		System.out.println();
}
Also used : XmlComponentOperations(alma.demo.XmlComponentOperations) ObsProjectTree(alma.demo.ObsProjectTree)

Aggregations

ObsProjectTree (alma.demo.ObsProjectTree)1 XmlComponentOperations (alma.demo.XmlComponentOperations)1