public class org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding extends org.apache.axiom.ts.AxiomTestCase
{
private final boolean cache;
public void <init>(org.apache.axiom.om.OMMetaFactory, boolean)
{
org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding v;
org.apache.axiom.om.OMMetaFactory v;
boolean v;
v := @this: org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding;
v := @parameter: org.apache.axiom.om.OMMetaFactory;
v := @parameter: boolean;
specialinvoke v.<org.apache.axiom.ts.AxiomTestCase: void <init>(org.apache.axiom.om.OMMetaFactory)>(v);
v.<org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: boolean cache> = v;
virtualinvoke v.<org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: void addTestParameter(java.lang.String,boolean)>("cache", v);
return;
}
protected void runTest() throws java.lang.Throwable
{
org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding v;
javax.xml.stream.XMLStreamReader v;
int v, v;
java.lang.String v;
boolean v, v;
org.apache.axiom.om.OMElement v;
org.apache.axiom.om.OMNode v, v;
org.apache.axiom.om.OMXMLParserWrapper v;
org.apache.axiom.om.OMMetaFactory v;
java.io.StringReader v;
org.apache.axiom.om.OMFactory v;
javax.xml.namespace.QName v, v;
v := @this: org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding;
v = v.<org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: org.apache.axiom.om.OMMetaFactory metaFactory>;
v = interfaceinvoke v.<org.apache.axiom.om.OMMetaFactory: org.apache.axiom.om.OMFactory getOMFactory()>();
v = new java.io.StringReader;
specialinvoke v.<java.io.StringReader: void <init>(java.lang.String)>("<root><a><b>some text</b></a><c>content</c></root>");
v = staticinvoke <org.apache.axiom.om.OMXMLBuilderFactory: org.apache.axiom.om.OMXMLParserWrapper createOMBuilder(org.apache.axiom.om.OMFactory,java.io.Reader)>(v, v);
v = interfaceinvoke v.<org.apache.axiom.om.OMXMLParserWrapper: org.apache.axiom.om.OMElement getDocumentElement()>();
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: org.apache.axiom.om.OMNode getFirstOMChild()>();
v = v.<org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: boolean cache>;
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: javax.xml.stream.XMLStreamReader getXMLStreamReader(boolean)>(v);
v = interfaceinvoke v.<javax.xml.stream.XMLStreamReader: int next()>();
staticinvoke <org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: void assertEquals(int,int)>(1, v);
v = interfaceinvoke v.<javax.xml.stream.XMLStreamReader: int next()>();
staticinvoke <org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: void assertEquals(int,int)>(1, v);
v = new javax.xml.namespace.QName;
specialinvoke v.<javax.xml.namespace.QName: void <init>(java.lang.String)>("b");
v = interfaceinvoke v.<javax.xml.stream.XMLStreamReader: javax.xml.namespace.QName getName()>();
staticinvoke <org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
interfaceinvoke v.<javax.xml.stream.XMLStreamReader: void close()>();
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: boolean isComplete()>();
staticinvoke <org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: void assertFalse(boolean)>(v);
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: org.apache.axiom.om.OMNode getNextOMSibling()>();
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: java.lang.String getText()>();
staticinvoke <org.apache.axiom.ts.om.element.sr.TestCloseAndContinueBuilding: void assertEquals(java.lang.String,java.lang.String)>("content", v);
return;
}
}