org.mule.management.agents
Class FixedHostRmiClienSocketFactoryTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.management.agents.FixedHostRmiClienSocketFactoryTestCase

public class FixedHostRmiClienSocketFactoryTestCase
extends AbstractMuleTestCase


Field Summary
 DynamicPort dynamicPort
           
protected  ServerSocket serverSocket
           
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
FixedHostRmiClienSocketFactoryTestCase()
           
 
Method Summary
 void setupDummyServer()
          Simple socket to have something to ping.
 void stopServerSocke()
           
 void testHostConstructorOverride()
           
 void testHostSetterOverride()
          Setter property may be used to dynamically switch the client socket host.
 
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
 

Field Detail

dynamicPort

public DynamicPort dynamicPort

serverSocket

protected volatile ServerSocket serverSocket
Constructor Detail

FixedHostRmiClienSocketFactoryTestCase

public FixedHostRmiClienSocketFactoryTestCase()
Method Detail

stopServerSocke

public void stopServerSocke()
                     throws IOException
Throws:
IOException

testHostConstructorOverride

public void testHostConstructorOverride()
                                 throws Exception
Throws:
Exception

testHostSetterOverride

public void testHostSetterOverride()
                            throws Exception
Setter property may be used to dynamically switch the client socket host.

Throws:
Exception

setupDummyServer

public void setupDummyServer()
                      throws IOException
Simple socket to have something to ping.

Throws:
IOException


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