|
||||||||||
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.factory.TestFactoryIsSingleton
public class TestFactoryIsSingleton
Tests that the SOAP factories returned by OMMetaFactory
are singletons. More precisely
this unit test checks that subsequent calls to OMMetaFactory.getSOAP11Factory()
and
OMMetaFactory.getSOAP12Factory()
return the same instances.
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 | |
---|---|
TestFactoryIsSingleton(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 TestFactoryIsSingleton(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 |