org.mule.management.agents
Class JmxAgentTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.management.agents.JmxAgentTestCase
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler

public class JmxAgentTestCase
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
JmxAgentTestCase()
           
 
Method Summary
protected  void configureMuleContext(org.mule.api.context.MuleContextBuilder contextBuilder)
          Override this method to set properties of the MuleContextBuilder before it is used to create the MuleContext.
protected  void configureProperties()
           
protected  void doSetUp()
           
protected  void doTearDown()
           
protected  Map getValidCredentials()
           
 void testDefaultProperties()
           
 void testNoCredentialsProvided()
           
 void testNonRestrictedAccess()
           
 void testSuccessfulRemoteConnection()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
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

JmxAgentTestCase

public JmxAgentTestCase()
Method Detail

configureMuleContext

protected void configureMuleContext(org.mule.api.context.MuleContextBuilder contextBuilder)
Description copied from class: AbstractMuleTestCase
Override this method to set properties of the MuleContextBuilder before it is used to create the MuleContext.

Overrides:
configureMuleContext in class AbstractMuleTestCase

doSetUp

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

doTearDown

protected void doTearDown()
Overrides:
doTearDown in class AbstractMuleTestCase

testDefaultProperties

public void testDefaultProperties()
                           throws Exception
Throws:
Exception

testSuccessfulRemoteConnection

public void testSuccessfulRemoteConnection()
                                    throws Exception
Throws:
Exception

testNoCredentialsProvided

public void testNoCredentialsProvided()
                               throws Exception
Throws:
Exception

testNonRestrictedAccess

public void testNonRestrictedAccess()
                             throws Exception
Throws:
Exception

getValidCredentials

protected Map getValidCredentials()

configureProperties

protected void configureProperties()


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