org.apache.axiom.ts.soap.body
Class TestGetFirstElementNSWithParser

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.axiom.testutils.suite.TestCaseEx
              extended by org.apache.axiom.ts.AxiomTestCase
                  extended by org.apache.axiom.ts.soap.SOAPTestCase
                      extended by org.apache.axiom.ts.soap.body.FirstElementNameWithParserTestCase
                          extended by org.apache.axiom.ts.soap.body.TestGetFirstElementNSWithParser
All Implemented Interfaces:
junit.framework.Test

public class TestGetFirstElementNSWithParser
extends FirstElementNameWithParserTestCase

Tests SOAPBody.getFirstElementNS(), in particular the optimization described by AXIOM-282.


Field Summary
 
Fields inherited from class org.apache.axiom.ts.soap.body.FirstElementNameWithParserTestCase
qname
 
Fields inherited from class org.apache.axiom.ts.soap.SOAPTestCase
altSoapFactory, MESSAGE, MESSAGE_WITHOUT_HEADER, SOAP_MESSAGE, soapFactory, spec
 
Fields inherited from class org.apache.axiom.ts.AxiomTestCase
metaFactory, TEST_PARSER_CONFIGURATION
 
Constructor Summary
TestGetFirstElementNSWithParser(OMMetaFactory metaFactory, SOAPSpec spec, QName qname, boolean supportsOptimization)
           
 
Method Summary
protected  void runTest(SOAPBody body)
           
 
Methods inherited from class org.apache.axiom.ts.soap.body.FirstElementNameWithParserTestCase
runTest
 
Methods inherited from class org.apache.axiom.ts.soap.SOAPTestCase
createSOAPHeaderBlock, getBuilderForTestMessage, getTestMessage, setUp
 
Methods inherited from class org.apache.axiom.ts.AxiomTestCase
assertConsumed, getChildrenCount, getNumberOfOccurrences
 
Methods inherited from class org.apache.axiom.testutils.suite.TestCaseEx
addTestProperty, getTestProperties
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestGetFirstElementNSWithParser

public TestGetFirstElementNSWithParser(OMMetaFactory metaFactory,
                                       SOAPSpec spec,
                                       QName qname,
                                       boolean supportsOptimization)
Method Detail

runTest

protected void runTest(SOAPBody body)
                throws Throwable
Specified by:
runTest in class FirstElementNameWithParserTestCase
Throws:
Throwable


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.