org.mule.providers.ssl
Class SslConnectorFunctionalTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.tck.functional.AbstractProviderFunctionalTestCase
                  extended byorg.mule.providers.ssl.SslConnectorFunctionalTestCase
All Implemented Interfaces:
Test
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 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
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
addTest, disposeManager, finalize, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, isDisabledInThisEnvironment, isDisabledInThisEnvironment, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SslConnectorFunctionalTestCase

public SslConnectorFunctionalTestCase()
Method Detail

getInDest

protected org.mule.umo.endpoint.UMOEndpointURI getInDest()

getOutDest

protected org.mule.umo.endpoint.UMOEndpointURI getOutDest()

createConnector

public org.mule.umo.provider.UMOConnector createConnector()
                                                   throws Exception
Throws:
Exception

createSocket

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

doTearDown

protected void doTearDown()
                   throws Exception
Throws:
Exception

sendTestData

protected void sendTestData(int iterations)
                     throws Exception
Throws:
Exception

receiveAndTestResults

protected void receiveAndTestResults()
                              throws Exception
Throws:
Exception

testDispatchAndReply

public void testDispatchAndReply()
                          throws Exception
Throws:
Exception


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