org.apache.axiom.ts.soap
Class SOAPTestCase

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
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CloneTestCase, FirstElementNameWithParserTestCase, SOAPRoleTest, TestAddDetailEntry, TestAddFault1, TestAddFault2, TestAddHeaderBlock, TestAddHeaderBlockWithoutNamespace1, TestAddHeaderBlockWithoutNamespace2, TestAddHeaderToIncompleteEnvelope, TestAddSOAPText, TestAddSOAPText, TestAddSOAPTextWithSOAPVersionMismatch, TestBodyHeaderOrder, TestByteArrayDS, TestClone, TestCloneIncomplete, TestCommentInEpilog, TestCommentInProlog, TestCreateSOAPEnvelope, TestCreateSOAPEnvelopeWithCustomPrefix, TestCreateSOAPFault, TestCreateSOAPFaultDetail, TestCreateSOAPFaultSubCode, TestDetach, TestDetailEntriesUsingDefaultNamespaceWithParser, TestDiscardIncomplete, TestDiscardPartiallyBuilt, TestDTD, TestExamineAllHeaderBlocks, TestExamineAllHeaderBlocksWithParser, TestExamineAllHeaderBlocksWithParser, TestExamineAllHeaderBlocksWithParser, TestExamineHeaderBlocks, TestExamineHeaderBlocksWithParser, TestExamineHeaderBlocksWithParser, TestExamineMustUnderstandHeaderBlocks, TestExamineMustUnderstandHeaderBlocksWithParser, TestExamineMustUnderstandHeaderBlocksWithParser, TestExtractAllHeaderBlocks, TestFactoryIsSingleton, TestGetAllDetailEntries, TestGetAllDetailEntriesWithParser, TestGetBody, TestGetBodyOnEmptyEnvelope, TestGetBodyOnEnvelopeWithHeaderOnly, TestGetBodyWithParser, TestGetCharsetEncodingWithParser, TestGetCode, TestGetCodeWithParser, TestGetDefaultEnvelope, TestGetDefaultFaultEnvelope, TestGetDetail, TestGetDetailWithParser, TestGetException, TestGetFault, TestGetFaultFakeFault, TestGetFaultNoFault, TestGetFaultWithParser, TestGetFirstElementLocalNameEmptyBody, TestGetFirstElementNSEmptyBody, TestGetFirstSOAPText, TestGetFirstSOAPText, TestGetFirstSOAPTextWithParser, TestGetHeader, TestGetHeaderBlocksWithNSURI, TestGetHeaderBlocksWithNSURIWithParser, TestGetHeaderBlocksWithNSURIWithParser, TestGetHeaderWithParser, TestGetLangWithParser, TestGetMetaFactory, TestGetMustUnderstand, TestGetNamespace, TestGetNode, TestGetNode, TestGetNodeWithParser, TestGetOMFactoryWithParser, TestGetReason, TestGetReasonWithParser, TestGetRole, TestGetRole, TestGetRoleWithParser, TestGetSOAPBodyFirstElementLocalNameAndNS, TestGetSOAPBodyFirstElementLocalNameAndNSWithParser, TestGetSubCodeNestedWithParser, TestGetSubCodeWithParser, TestGetSubCodeWithParser, TestGetTextWithCDATA, TestGetValue, TestGetValueAsQName, TestGetValueAsQNameWithParser, TestGetValueAsQNameWithParser, TestGetValueNestedWithParser, TestGetValueWithParser, TestGetValueWithParser, TestGetValueWithParser, TestGetVersion, TestGetXMLStreamReaderWithoutCachingWithPartiallyBuiltHeaderBlock, TestHasFault, TestHasFault, TestHasFaultAfterReplace, TestHasFaultFakeFault, TestHasFaultNoFault, TestHasFaultWithOMSEUnknownName, TestHasFaultWithParser, TestHasFaultWithParser, TestHasFaultWithParserOptimized, TestMoreChildrenAddition, TestRegisterCustomBuilderForPayloadAfterSOAPFaultCheck, TestSerialization, TestSerializeAndConsumeWithOMSEInBody, TestSetCode, TestSetDetail, TestSetException, TestSetLang, TestSetMustUnderstandBoolean, TestSetMustUnderstandString01, TestSetMustUnderstandWithInvalidValue, TestSetNode, TestSetNode, TestSetReason, TestSetRole, TestSetRole, TestSetValueFromQName, TestSetValueFromQName, TestSetValueFromQNameWithExistingValue, TestWrongParent1, TestWrongParent1, TestWrongParent2, TestWrongParent2, TestWrongParent3, TestWrongParent3, TestWSCommons202, TestXPathAppliedToSOAPEnvelope

public abstract class SOAPTestCase
extends AxiomTestCase


Field Summary
protected  SOAPFactory altSoapFactory
           
protected static String MESSAGE
           
protected static String MESSAGE_WITHOUT_HEADER
           
protected static String SOAP_MESSAGE
           
protected  SOAPFactory soapFactory
           
protected  SOAPSpec spec
           
 
Fields inherited from class org.apache.axiom.ts.AxiomTestCase
metaFactory, TEST_PARSER_CONFIGURATION
 
Constructor Summary
SOAPTestCase(OMMetaFactory metaFactory, SOAPSpec spec)
           
 
Method Summary
protected  SOAPHeaderBlock createSOAPHeaderBlock()
           
protected  SOAPModelBuilder getBuilderForTestMessage(String name)
           
protected  SOAPEnvelope getTestMessage(String name)
           
protected  void 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, runTest
 
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
 

Field Detail

MESSAGE

protected static final String MESSAGE
See Also:
Constant Field Values

MESSAGE_WITHOUT_HEADER

protected static final String MESSAGE_WITHOUT_HEADER
See Also:
Constant Field Values

SOAP_MESSAGE

protected static final String SOAP_MESSAGE
See Also:
Constant Field Values

spec

protected final SOAPSpec spec

soapFactory

protected SOAPFactory soapFactory

altSoapFactory

protected SOAPFactory altSoapFactory
Constructor Detail

SOAPTestCase

public SOAPTestCase(OMMetaFactory metaFactory,
                    SOAPSpec spec)
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

getBuilderForTestMessage

protected SOAPModelBuilder getBuilderForTestMessage(String name)

getTestMessage

protected SOAPEnvelope getTestMessage(String name)

createSOAPHeaderBlock

protected SOAPHeaderBlock createSOAPHeaderBlock()


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