org.mule.module.jca
Class MuleResourceAdapterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.module.jca.MuleResourceAdapterTestCase
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler

public class MuleResourceAdapterTestCase
extends AbstractMuleTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Constructor Summary
MuleResourceAdapterTestCase()
           
 
Method Summary
protected  void doSetUp()
           
protected  void doTearDown()
           
 void testCreateJcaComponent()
           
 void testCreateMessageInflowEndpoint()
           
protected  void testEndpoint(org.mule.api.endpoint.ImmutableEndpoint endpoint)
           
protected  void testEndpoint(org.mule.api.service.Service service)
           
 void testendpointActivationIncorrectActivationSpec()
           
 void testendpointActivationOK()
           
 void testendpointDeactivationOK()
           
 void testGetJcaModel3ExistingWrongType()
           
 void testGetJcaModelCreateNew()
           
 void testGetJcaModelUseExisting()
           
protected  void testJcaService(org.mule.api.service.Service service)
           
 void testResolveModelModelNameMissing()
           
 void testResolveModelName()
           
 void testResolveModelNameFromActivationSpec()
           
 void testResolveModelNameFromResourceAdaptor()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, getBuilder, getConfigurationResources, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MuleResourceAdapterTestCase

public MuleResourceAdapterTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Overrides:
doSetUp in class AbstractMuleTestCase
Throws:
Exception

doTearDown

protected void doTearDown()
                   throws Exception
Overrides:
doTearDown in class AbstractMuleTestCase
Throws:
Exception

testResolveModelName

public void testResolveModelName()
                          throws ResourceException
Throws:
ResourceException

testResolveModelNameFromResourceAdaptor

public void testResolveModelNameFromResourceAdaptor()
                                             throws ResourceException
Throws:
ResourceException

testResolveModelNameFromActivationSpec

public void testResolveModelNameFromActivationSpec()
                                            throws ResourceException
Throws:
ResourceException

testResolveModelModelNameMissing

public void testResolveModelModelNameMissing()

testGetJcaModelCreateNew

public void testGetJcaModelCreateNew()
                              throws org.mule.api.MuleException,
                                     ResourceException
Throws:
org.mule.api.MuleException
ResourceException

testGetJcaModelUseExisting

public void testGetJcaModelUseExisting()
                                throws org.mule.api.MuleException,
                                       ResourceException
Throws:
org.mule.api.MuleException
ResourceException

testGetJcaModel3ExistingWrongType

public void testGetJcaModel3ExistingWrongType()
                                       throws org.mule.api.MuleException
Throws:
org.mule.api.MuleException

testCreateMessageInflowEndpoint

public void testCreateMessageInflowEndpoint()
                                     throws org.mule.api.MuleException
Throws:
org.mule.api.MuleException

testCreateJcaComponent

public void testCreateJcaComponent()
                            throws Exception
Throws:
Exception

testendpointActivationOK

public void testendpointActivationOK()
                              throws Exception
Throws:
Exception

testendpointActivationIncorrectActivationSpec

public void testendpointActivationIncorrectActivationSpec()

testendpointDeactivationOK

public void testendpointDeactivationOK()
                                throws ResourceException
Throws:
ResourceException

testEndpoint

protected void testEndpoint(org.mule.api.service.Service service)

testEndpoint

protected void testEndpoint(org.mule.api.endpoint.ImmutableEndpoint endpoint)

testJcaService

protected void testJcaService(org.mule.api.service.Service service)


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