|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.axiom.testutils.suite.TestCaseEx
org.apache.axiom.ts.AxiomTestCase
org.apache.axiom.ts.soap.SOAPTestCase
org.apache.axiom.ts.soap.body.TestHasFaultAfterReplace
public class TestHasFaultAfterReplace
Tests that SOAPBody.hasFault()
returns the correct value after a SOAPFault
child
has been replaced by an OMElement
that is not a SOAPFault
. Earlier versions of
Axiom attempted to cache the result of SOAPBody.hasFault()
, but this cached value was not
updated correctly in all situations. This is a regression test for this issue.
Field Summary |
---|
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 | |
---|---|
TestHasFaultAfterReplace(OMMetaFactory metaFactory,
SOAPSpec spec)
|
Method Summary | |
---|---|
protected void |
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 |
---|
public TestHasFaultAfterReplace(OMMetaFactory metaFactory, SOAPSpec spec)
Method Detail |
---|
protected void runTest() throws Throwable
runTest
in class org.apache.axiom.testutils.suite.TestCaseEx
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |