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();
}
Aggregations