org.mule.components.script.refreshable
Class GroovyRefreshableBeanTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.tck.FunctionalTestCase
                  extended by org.mule.components.script.refreshable.AbstractRefreshableBeanTestCase
                      extended by org.mule.components.script.refreshable.GroovyRefreshableBeanTestCase
All Implemented Interfaces:
junit.framework.Test, TestCaseWatchdogTimeoutHandler

public class GroovyRefreshableBeanTestCase
extends AbstractRefreshableBeanTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
static java.lang.String NAME_BEAN
           
static java.lang.String NAME_CALLABLE
           
static java.lang.String NAME_CHANGE_INTERFACE
           
static java.lang.String ON_CALL_RECEIVED
           
static java.lang.String ON_CALL_RECEIVED2
           
static java.lang.String PAYLOAD
           
static java.lang.String RECEIVE_RECEIVED
           
static java.lang.String RECEIVE_RECEIVED2
           
static java.lang.String RECEIVED
           
static java.lang.String RECEIVED2
           
 
Fields inherited from class org.mule.components.script.refreshable.AbstractRefreshableBeanTestCase
WAIT_TIME
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs
 
Constructor Summary
GroovyRefreshableBeanTestCase()
           
 
Method Summary
protected  java.lang.String getConfigResources()
           
 void testCallFirstTest()
           
 void testFirstChangeInterfaces()
           
 void testFirstOnCallRefresh()
           
 void testFirstPojoRefresh()
           
 void testSecondChangeInterfaces()
           
 void testSecondOnCallRefresh()
           
 void testSecondPojoRefresh()
           
 
Methods inherited from class org.mule.components.script.refreshable.AbstractRefreshableBeanTestCase
nameToPath, runScriptTest, writeScript
 
Methods inherited from class org.mule.tck.FunctionalTestCase
getBuilder, getComponent, getComponent, getFunctionalTestComponent, loadResource, loadResourceAsString
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addBuilders, checkPorts, configureMuleContext, createMuleContext, createObject, createObject, createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, findFreePorts, getConfigurationResources, getPorts, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInboundEvent, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTimeoutSecs, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, giveTheTestSomeTimeToCleanUpAndThenKillIt, handleTimeout, initialiseObject, initTestTimeoutSecs, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isGracefulShutdown, isOffline, isPortFree, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setFailOnTimeout, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runTest, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RECEIVED

public static final java.lang.String RECEIVED
See Also:
Constant Field Values

RECEIVED2

public static final java.lang.String RECEIVED2
See Also:
Constant Field Values

PAYLOAD

public static final java.lang.String PAYLOAD
See Also:
Constant Field Values

NAME_CALLABLE

public static final java.lang.String NAME_CALLABLE
See Also:
Constant Field Values

NAME_BEAN

public static final java.lang.String NAME_BEAN
See Also:
Constant Field Values

NAME_CHANGE_INTERFACE

public static final java.lang.String NAME_CHANGE_INTERFACE
See Also:
Constant Field Values

ON_CALL_RECEIVED

public static final java.lang.String ON_CALL_RECEIVED
See Also:
Constant Field Values

ON_CALL_RECEIVED2

public static final java.lang.String ON_CALL_RECEIVED2

RECEIVE_RECEIVED

public static final java.lang.String RECEIVE_RECEIVED
See Also:
Constant Field Values

RECEIVE_RECEIVED2

public static final java.lang.String RECEIVE_RECEIVED2
Constructor Detail

GroovyRefreshableBeanTestCase

public GroovyRefreshableBeanTestCase()
Method Detail

getConfigResources

protected java.lang.String getConfigResources()
Specified by:
getConfigResources in class FunctionalTestCase

testFirstOnCallRefresh

public void testFirstOnCallRefresh()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testCallFirstTest

public void testCallFirstTest()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSecondOnCallRefresh

public void testSecondOnCallRefresh()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testFirstPojoRefresh

public void testFirstPojoRefresh()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSecondPojoRefresh

public void testSecondPojoRefresh()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testFirstChangeInterfaces

public void testFirstChangeInterfaces()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testSecondChangeInterfaces

public void testSecondChangeInterfaces()
                                throws java.lang.Exception
Throws:
java.lang.Exception


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