public class org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace extends org.apache.axiom.ts.AxiomTestCase
{
private final org.apache.axiom.ts.dimension.AddAttributeStrategy addAttributeStrategy;
private final org.apache.axiom.ts.dimension.NoNamespaceStrategy noNamespaceStrategy;
public void <init>(org.apache.axiom.om.OMMetaFactory, org.apache.axiom.ts.dimension.AddAttributeStrategy, org.apache.axiom.ts.dimension.NoNamespaceStrategy)
{
org.apache.axiom.om.OMMetaFactory v;
org.apache.axiom.ts.dimension.NoNamespaceStrategy v;
org.apache.axiom.ts.dimension.AddAttributeStrategy v;
org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace v;
v := @this: org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace;
v := @parameter: org.apache.axiom.om.OMMetaFactory;
v := @parameter: org.apache.axiom.ts.dimension.AddAttributeStrategy;
v := @parameter: org.apache.axiom.ts.dimension.NoNamespaceStrategy;
specialinvoke v.<org.apache.axiom.ts.AxiomTestCase: void <init>(org.apache.axiom.om.OMMetaFactory)>(v);
v.<org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: org.apache.axiom.ts.dimension.AddAttributeStrategy addAttributeStrategy> = v;
v.<org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: org.apache.axiom.ts.dimension.NoNamespaceStrategy noNamespaceStrategy> = v;
virtualinvoke v.<org.apache.axiom.ts.dimension.AddAttributeStrategy: void addTestParameters(org.apache.axiom.testutils.suite.MatrixTestCase)>(v);
virtualinvoke v.<org.apache.axiom.ts.dimension.NoNamespaceStrategy: void addTestParameters(org.apache.axiom.testutils.suite.MatrixTestCase)>(v);
return;
}
protected void runTest() throws java.lang.Throwable
{
org.apache.axiom.om.OMElement v;
java.util.Iterator v, v;
org.apache.axiom.ts.dimension.AddAttributeStrategy v;
org.apache.axiom.om.OMMetaFactory v;
org.apache.axiom.om.OMNamespace v, v;
java.lang.Object v, v;
org.apache.axiom.om.OMFactory v;
org.apache.axiom.ts.dimension.NoNamespaceStrategy v;
org.apache.axiom.om.OMAttribute v;
org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace v;
boolean v, v;
v := @this: org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace;
v = v.<org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: org.apache.axiom.om.OMMetaFactory metaFactory>;
v = interfaceinvoke v.<org.apache.axiom.om.OMMetaFactory: org.apache.axiom.om.OMFactory getOMFactory()>();
v = interfaceinvoke v.<org.apache.axiom.om.OMFactory: org.apache.axiom.om.OMElement createOMElement(java.lang.String,java.lang.String,java.lang.String)>("test", "urn:test", "");
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: java.util.Iterator getAllDeclaredNamespaces()>();
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: org.apache.axiom.ts.dimension.AddAttributeStrategy addAttributeStrategy>;
v = v.<org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: org.apache.axiom.ts.dimension.NoNamespaceStrategy noNamespaceStrategy>;
v = virtualinvoke v.<org.apache.axiom.ts.dimension.NoNamespaceStrategy: org.apache.axiom.om.OMNamespace createOMNamespace(org.apache.axiom.om.OMFactory)>(v);
v = virtualinvoke v.<org.apache.axiom.ts.dimension.AddAttributeStrategy: org.apache.axiom.om.OMAttribute addAttribute(org.apache.axiom.om.OMElement,java.lang.String,org.apache.axiom.om.OMNamespace,java.lang.String)>(v, "test", v, "test");
v = interfaceinvoke v.<org.apache.axiom.om.OMAttribute: org.apache.axiom.om.OMNamespace getNamespace()>();
staticinvoke <org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: void assertNull(java.lang.Object)>(v);
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: java.util.Iterator getAllDeclaredNamespaces()>();
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
staticinvoke <org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: void assertTrue(boolean)>(v);
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
staticinvoke <org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
staticinvoke <org.apache.axiom.ts.om.element.TestAddAttributeWithoutNamespace: void assertFalse(boolean)>(v);
return;
}
}