org.mule.providers.ssl
Class SslConnectorFunctionalTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.tck.functional.AbstractProviderFunctionalTestCase
                  extended by org.mule.providers.ssl.SslConnectorFunctionalTestCase
All Implemented Interfaces:
Test, org.mule.tck.TestCaseWatchdogTimeoutHandler
Direct Known Subclasses:
TlsConnectorFunctionalTestCase

public class SslConnectorFunctionalTestCase
extends org.mule.tck.functional.AbstractProviderFunctionalTestCase

Note that this test doesn't test the socket from the connector itself (and so ran with no problems when the connector was not using SSL). Rather than alter this test case (which I don't completely understand, and which may be useful in other ways) I have added an additional test in SslFunctionalTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.functional.AbstractProviderFunctionalTestCase
callbackCalled, callbackCount, connector, descriptor, manager, NUM_MESSAGES_TO_SEND, transacted
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
IGNORED_DOT_MULE_DIRS, logger
 
Constructor Summary
SslConnectorFunctionalTestCase()
           
 
Method Summary
 org.mule.umo.provider.UMOConnector createConnector()
           
protected  Socket createSocket(URI uri)
           
protected  void doTearDown()
           
protected  org.mule.umo.endpoint.UMOEndpointURI getInDest()
           
protected  org.mule.umo.endpoint.UMOEndpointURI getOutDest()
           
protected  void receiveAndTestResults()
           
protected  void sendTestData(int iterations)
           
 void testDispatchAndReply()
           
 
Methods inherited from class org.mule.tck.functional.AbstractProviderFunctionalTestCase
afterInitialise, createEventCallback, createInboundEndpoint, createOutboundEndpoint, doSetUp, getTestDescriptor, initialiseComponent, testSend
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
createTestInfo, createWatchdog, disposeManager, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SslConnectorFunctionalTestCase

public SslConnectorFunctionalTestCase()
Method Detail

getInDest

protected org.mule.umo.endpoint.UMOEndpointURI getInDest()
Specified by:
getInDest in class org.mule.tck.functional.AbstractProviderFunctionalTestCase

getOutDest

protected org.mule.umo.endpoint.UMOEndpointURI getOutDest()
Specified by:
getOutDest in class org.mule.tck.functional.AbstractProviderFunctionalTestCase

createConnector

public org.mule.umo.provider.UMOConnector createConnector()
                                                   throws Exception
Specified by:
createConnector in class org.mule.tck.functional.AbstractProviderFunctionalTestCase
Throws:
Exception

createSocket

protected Socket createSocket(URI uri)
                       throws Exception
Throws:
Exception

doTearDown

protected void doTearDown()
                   throws Exception
Overrides:
doTearDown in class org.mule.tck.functional.AbstractProviderFunctionalTestCase
Throws:
Exception

sendTestData

protected void sendTestData(int iterations)
                     throws Exception
Specified by:
sendTestData in class org.mule.tck.functional.AbstractProviderFunctionalTestCase
Throws:
Exception

receiveAndTestResults

protected void receiveAndTestResults()
                              throws Exception
Specified by:
receiveAndTestResults in class org.mule.tck.functional.AbstractProviderFunctionalTestCase
Throws:
Exception

testDispatchAndReply

public void testDispatchAndReply()
                          throws Exception
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.