org.mule.util
Class TimedSocketTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.util.TimedSocketTestCase

public class TimedSocketTestCase
extends AbstractMuleTestCase

Note:

These test cases do not cover all possible connection failures. It is e.g. not easily possible to simulate an unplugged cable.

Note: this test will fail if off-line.


Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
TimedSocketTestCase()
           
 
Method Summary
 void testConnectionTimeoutInterruptionOnReachableHostnameAndUnreachablePort()
           
 void testConnectionTimeoutInterruptionOnUnreachableHostnameAndPost()
           
 void testWorkingConnection()
           
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedSocketTestCase

public TimedSocketTestCase()
Method Detail

testWorkingConnection

public void testWorkingConnection()
                           throws Exception
Throws:
Exception

testConnectionTimeoutInterruptionOnReachableHostnameAndUnreachablePort

public void testConnectionTimeoutInterruptionOnReachableHostnameAndUnreachablePort()
                                                                            throws Exception
Throws:
Exception

testConnectionTimeoutInterruptionOnUnreachableHostnameAndPost

public void testConnectionTimeoutInterruptionOnUnreachableHostnameAndPost()
                                                                   throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.