org.mule.util
Class TimedSocketTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
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.
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 |
TimedSocketTestCase
public TimedSocketTestCase()
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.