public class org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope extends org.apache.axiom.ts.soap.SOAPTestCase
{
private boolean createDocument;
public void <init>(org.apache.axiom.om.OMMetaFactory, org.apache.axiom.ts.soap.SOAPSpec, boolean)
{
org.apache.axiom.ts.soap.SOAPSpec v;
org.apache.axiom.om.OMMetaFactory v;
org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope v;
boolean v;
v := @this: org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope;
v := @parameter: org.apache.axiom.om.OMMetaFactory;
v := @parameter: org.apache.axiom.ts.soap.SOAPSpec;
v := @parameter: boolean;
specialinvoke v.<org.apache.axiom.ts.soap.SOAPTestCase: void <init>(org.apache.axiom.om.OMMetaFactory,org.apache.axiom.ts.soap.SOAPSpec)>(v, v);
v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: boolean createDocument> = v;
virtualinvoke v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: void addTestParameter(java.lang.String,boolean)>("createDocument", v);
return;
}
protected void runTest() throws java.lang.Throwable
{
org.apache.axiom.om.OMElement v, v, v;
org.apache.axiom.soap.SOAPBody v;
org.apache.axiom.soap.SOAPFactory v, v, v, v, v;
org.apache.axiom.soap.SOAPEnvelope v;
org.apache.axiom.om.xpath.AXIOMXPath v;
org.apache.axiom.om.OMDocument v;
java.lang.Object v;
org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope v;
boolean v;
v := @this: org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope;
v = v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: org.apache.axiom.soap.SOAPFactory soapFactory>;
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPFactory: org.apache.axiom.om.OMElement createOMElement(java.lang.String,org.apache.axiom.om.OMNamespace)>("elem1", null);
v = v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: org.apache.axiom.soap.SOAPFactory soapFactory>;
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPFactory: org.apache.axiom.om.OMElement createOMElement(java.lang.String,org.apache.axiom.om.OMNamespace)>("elem2", null);
v = v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: org.apache.axiom.soap.SOAPFactory soapFactory>;
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPFactory: org.apache.axiom.om.OMElement createOMElement(java.lang.String,org.apache.axiom.om.OMNamespace)>("elem3", null);
interfaceinvoke v.<org.apache.axiom.om.OMElement: void addChild(org.apache.axiom.om.OMNode)>(v);
interfaceinvoke v.<org.apache.axiom.om.OMElement: void addChild(org.apache.axiom.om.OMNode)>(v);
v = v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: org.apache.axiom.soap.SOAPFactory soapFactory>;
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPFactory: org.apache.axiom.soap.SOAPEnvelope getDefaultEnvelope()>();
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPEnvelope: org.apache.axiom.soap.SOAPBody getBody()>();
interfaceinvoke v.<org.apache.axiom.soap.SOAPBody: void addChild(org.apache.axiom.om.OMNode)>(v);
v = v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: boolean createDocument>;
if v == 0 goto label;
v = v.<org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: org.apache.axiom.soap.SOAPFactory soapFactory>;
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPFactory: org.apache.axiom.om.OMDocument createOMDocument()>();
interfaceinvoke v.<org.apache.axiom.om.OMDocument: void addChild(org.apache.axiom.om.OMNode)>(v);
label:
v = new org.apache.axiom.om.xpath.AXIOMXPath;
specialinvoke v.<org.apache.axiom.om.xpath.AXIOMXPath: void <init>(java.lang.String)>("//elem1");
v = virtualinvoke v.<org.apache.axiom.om.xpath.AXIOMXPath: java.lang.Object selectSingleNode(java.lang.Object)>(v);
staticinvoke <org.apache.axiom.ts.soap.xpath.TestXPathAppliedToSOAPEnvelope: void assertNotNull(java.lang.Object)>(v);
return;
}
}