public class org.apache.axiom.ts.dom.builder.TestWhitespaceAroundDocumentElement extends org.apache.axiom.ts.dom.DOMTestCase
{
public void <init>(javax.xml.parsers.DocumentBuilderFactory)
{
org.apache.axiom.ts.dom.builder.TestWhitespaceAroundDocumentElement v;
javax.xml.parsers.DocumentBuilderFactory v;
v := @this: org.apache.axiom.ts.dom.builder.TestWhitespaceAroundDocumentElement;
v := @parameter: javax.xml.parsers.DocumentBuilderFactory;
specialinvoke v.<org.apache.axiom.ts.dom.DOMTestCase: void <init>(javax.xml.parsers.DocumentBuilderFactory)>(v);
return;
}
protected void runTest() throws java.lang.Throwable
{
org.apache.axiom.ts.dom.builder.TestWhitespaceAroundDocumentElement v;
java.lang.Integer v, v;
org.w3c.dom.Document v;
org.w3c.dom.Node v, v, v;
int v;
com.google.common.truth.IntegerSubject v;
org.xml.sax.InputSource v;
org.w3c.dom.NodeList v;
com.google.common.truth.Subject v, v, v;
org.w3c.dom.Element v;
java.io.StringReader v;
javax.xml.parsers.DocumentBuilder v;
javax.xml.parsers.DocumentBuilderFactory v;
v := @this: org.apache.axiom.ts.dom.builder.TestWhitespaceAroundDocumentElement;
v = v.<org.apache.axiom.ts.dom.builder.TestWhitespaceAroundDocumentElement: javax.xml.parsers.DocumentBuilderFactory dbf>;
v = virtualinvoke v.<javax.xml.parsers.DocumentBuilderFactory: javax.xml.parsers.DocumentBuilder newDocumentBuilder()>();
v = new org.xml.sax.InputSource;
v = new java.io.StringReader;
specialinvoke v.<java.io.StringReader: void <init>(java.lang.String)>(" <!-- --> <root/> ");
specialinvoke v.<org.xml.sax.InputSource: void <init>(java.io.Reader)>(v);
v = virtualinvoke v.<javax.xml.parsers.DocumentBuilder: org.w3c.dom.Document parse(org.xml.sax.InputSource)>(v);
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.Node getFirstChild()>();
label:
v = staticinvoke <com.google.common.truth.Truth: com.google.common.truth.Subject assertThat(java.lang.Object)>(v);
virtualinvoke v.<com.google.common.truth.Subject: void isNotInstanceOf(java.lang.Class)>(class "Lorg/w3c/dom/Text;");
v = interfaceinvoke v.<org.w3c.dom.Node: org.w3c.dom.Node getNextSibling()>();
if v != null goto label;
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.Node getLastChild()>();
label:
v = staticinvoke <com.google.common.truth.Truth: com.google.common.truth.Subject assertThat(java.lang.Object)>(v);
virtualinvoke v.<com.google.common.truth.Subject: void isNotInstanceOf(java.lang.Class)>(class "Lorg/w3c/dom/Text;");
v = interfaceinvoke v.<org.w3c.dom.Node: org.w3c.dom.Node getPreviousSibling()>();
if v != null goto label;
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.NodeList getChildNodes()>();
v = interfaceinvoke v.<org.w3c.dom.NodeList: int getLength()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = staticinvoke <com.google.common.truth.Truth: com.google.common.truth.IntegerSubject assertThat(java.lang.Integer)>(v);
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
virtualinvoke v.<com.google.common.truth.IntegerSubject: void isEqualTo(java.lang.Object)>(v);
v = interfaceinvoke v.<org.w3c.dom.NodeList: org.w3c.dom.Node item(int)>(1);
v = staticinvoke <com.google.common.truth.Truth: com.google.common.truth.Subject assertThat(java.lang.Object)>(v);
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.Element getDocumentElement()>();
virtualinvoke v.<com.google.common.truth.Subject: void isSameInstanceAs(java.lang.Object)>(v);
return;
}
}