public class DeploymentServiceTestCase extends AbstractMuleContextTestCase
Modifier and Type | Class and Description |
---|---|
static class |
DeploymentServiceTestCase.ArtifactDescriptor |
static class |
DeploymentServiceTestCase.WaitComponent |
Modifier and Type | Field and Description |
---|---|
protected DeploymentListener |
applicationDeploymentListener |
protected File |
appsDir |
SystemProperty |
changeChangeInterval |
protected static int |
DEPLOYMENT_TIMEOUT |
protected MuleDeploymentService |
deploymentService |
protected DeploymentListener |
domainDeploymentListener |
protected File |
domainsDir |
protected File |
muleHome |
protected static String[] |
NONE |
protected static int |
ONE_HOUR_IN_MILLISECONDS |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
DeploymentServiceTestCase() |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
protected static final int DEPLOYMENT_TIMEOUT
protected static final String[] NONE
protected static final int ONE_HOUR_IN_MILLISECONDS
protected File muleHome
protected File appsDir
protected File domainsDir
protected MuleDeploymentService deploymentService
protected DeploymentListener applicationDeploymentListener
protected DeploymentListener domainDeploymentListener
public SystemProperty changeChangeInterval
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the test caseprotected void doTearDown() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.disposeContextPerTest()
.
Under normal circumstances this method could be replace with a
@After
annotated method.
doTearDown
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the testcasepublic void deploysExplodedAppAndVerifyAnchorFileIsCreatedAfterDeploymentEnds() throws Exception
Exception
public void deploysPackagedAppAndVerifyAnchorFileIsCreatedAfterDeploymentEnds() throws Exception
Exception
public void deploysAppZipAfterStartup() throws Exception
Exception
public void deploysBrokenAppZipOnStartup() throws Exception
Exception
public void dontRetryBrokenAppWithFunkyName() throws Exception
Exception
public void deploysBrokenAppZipAfterStartup() throws Exception
Exception
public void redeploysAppZipDeployedOnStartup() throws Exception
Exception
public void redeploysAppZipDeployedAfterStartup() throws Exception
Exception
public void deploysExplodedAppOnStartup() throws Exception
Exception
public void deploysPackagedAppOnStartupWhenExplodedAppIsAlsoPresent() throws Exception
Exception
public void deploysExplodedAppAfterStartup() throws Exception
Exception
public void deploysInvalidExplodedAppOnStartup() throws Exception
Exception
public void deploysInvalidExplodedAppAfterStartup() throws Exception
Exception
public void deploysInvalidExplodedOnlyOnce() throws Exception
Exception
public void deploysBrokenExplodedAppOnStartup() throws Exception
Exception
public void deploysBrokenExplodedAppAfterStartup() throws Exception
Exception
public void redeploysExplodedAppOnStartup() throws Exception
Exception
public void redeploysExplodedAppAfterStartup() throws Exception
Exception
public void redeploysBrokenExplodedAppOnStartup() throws Exception
Exception
public void redeploysBrokenExplodedAppAfterStartup() throws Exception
Exception
public void redeploysInvalidExplodedAppAfterSuccessfulDeploymentOnStartup() throws IOException, URISyntaxException
IOException
URISyntaxException
public void redeploysInvalidExplodedAppAfterSuccessfulDeploymentAfterStartup() throws IOException, URISyntaxException
IOException
URISyntaxException
public void redeploysFixedAppAfterBrokenExplodedAppOnStartup() throws Exception
Exception
public void redeploysFixedAppAfterBrokenExplodedAppAfterStartup() throws Exception
Exception
public void redeploysZipAppOnConfigChanges() throws Exception
Exception
public void testBrokenAppArchiveWithoutArgument() throws Exception
Exception
public void testBrokenAppArchiveAsArgument() throws Exception
Exception
public void deploysInvalidZipAppOnStartup() throws Exception
Exception
public void deploysInvalidZipAppAfterStartup() throws Exception
Exception
public void testDeployAppNameWithZipSuffix() throws Exception
Exception
public void deploysPackedAppsInOrderWhenAppArgumentIsUsed() throws Exception
Exception
public void deploysExplodedAppsInOrderWhenAppArgumentIsUsed() throws Exception
Exception
public void tracksAppConfigUpdateTime() throws Exception
Exception
public void redeployedFailedAppAfterTouched() throws Exception
Exception
public void receivesMuleContextDeploymentNotifications() throws Exception
Exception
public void undeploysApplicationRemovingAnchorFile() throws Exception
Exception
public void undeploysAppCompletelyEvenOnStoppingException() throws Exception
Exception
public void undeploysAppCompletelyEvenOnDisposingException() throws Exception
Exception
public void deploysIncompleteZipAppOnStartup() throws Exception
Exception
public void deploysIncompleteZipAppAfterStartup() throws Exception
Exception
public void mantainsAppFolderOnExplodedAppDeploymentError() throws Exception
Exception
public void redeploysZipAppAfterDeploymentErrorOnStartup() throws Exception
Exception
public void redeploysZipAppAfterDeploymentErrorAfterStartup() throws Exception
Exception
public void redeploysInvalidZipAppAfterSuccessfulDeploymentOnStartup() throws IOException
IOException
public void redeploysInvalidZipAppAfterSuccessfulDeploymentAfterStartup() throws IOException
IOException
public void redeploysInvalidZipAppAfterFailedDeploymentOnStartup() throws IOException
IOException
public void redeploysInvalidZipAppAfterFailedDeploymentAfterStartup() throws IOException
IOException
public void redeploysExplodedAppAfterDeploymentError() throws Exception
Exception
public void synchronizesDeploymentOnStart() throws Exception
Exception
public void deploysDomainZipOnStartup() throws Exception
Exception
public void deploysPackagedDomainAndVerifyAnchorFileIsCreatedAfterDeploymentEnds() throws Exception
Exception
public void deploysExplodedDomainAndVerifyAnchorFileIsCreatedAfterDeploymentEnds() throws Exception
Exception
public void deploysExplodedDomainBundleOnStartup() throws Exception
Exception
public void deploysExplodedDomainBundleAfterStartup() throws Exception
Exception
public void deploysDomainBundleZipOnStartup() throws Exception
Exception
public void deploysDomainBundleZipAfterStartup() throws Exception
Exception
public void deploysInvalidExplodedDomainBundleOnStartup() throws Exception
Exception
public void deploysInvalidExplodedDomainBundleAfterStartup() throws Exception
Exception
public void deploysInvalidDomainBundleZipOnStartup() throws Exception
Exception
public void deploysInvalidDomainBundleZipAfterStartup() throws Exception
Exception
public void deploysDomainZipAfterStartup() throws Exception
Exception
public void deploysBrokenDomainZipOnStartup() throws Exception
Exception
public void deploysBrokenDomainZipAfterStartup() throws Exception
Exception
public void redeploysDomainZipDeployedOnStartup() throws Exception
Exception
public void redeploysDomainZipDeployedAfterStartup() throws Exception
Exception
public void deploysExplodedDomainOnStartup() throws Exception
Exception
public void deploysPackagedDomainOnStartupWhenExplodedDomainIsAlsoPresent() throws Exception
Exception
public void deploysExplodedDomainAfterStartup() throws Exception
Exception
public void deploysInvalidExplodedDomainOnStartup() throws Exception
Exception
public void deploysInvalidExplodedDomainAfterStartup() throws Exception
Exception
public void deploysInvalidExplodedDomainOnlyOnce() throws Exception
Exception
public void deploysBrokenExplodedDomainOnStartup() throws Exception
Exception
public void deploysBrokenExplodedDomainAfterStartup() throws Exception
Exception
public void receivesDomainMuleContextDeploymentNotifications() throws Exception
Exception
public void undeploysDomainRemovingAnchorFile() throws Exception
Exception
public void undeploysDomainAndDomainsApps() throws Exception
Exception
public void undeploysDomainAndDomainsAppsRemovingAnchorFile() throws Exception
Exception
public void undeployDomainDoesNotDeployAllApplications() throws Exception
Exception
public void findDomainApplicationsWillNullDomainFails()
public void findDomainApplicationsWillNonExistentDomainReturnsEmptyCollection()
public void undeploysDomainCompletelyEvenOnStoppingException() throws Exception
Exception
public void undeploysDomainCompletelyEvenOnDisposingException() throws Exception
Exception
public void deploysIncompleteZipDomainOnStartup() throws Exception
Exception
public void deploysIncompleteZipDomainAfterStartup() throws Exception
Exception
public void mantainsDomainFolderOnExplodedAppDeploymentError() throws Exception
Exception
public void redeploysZipDomainAfterDeploymentErrorOnStartup() throws Exception
Exception
public void redeploysZipDomainAfterDeploymentErrorAfterStartup() throws Exception
Exception
public void redeploysInvalidZipDomainAfterSuccessfulDeploymentOnStartup() throws IOException
IOException
public void redeploysInvalidZipDomainAfterSuccessfulDeploymentAfterStartup() throws IOException
IOException
public void redeploysInvalidZipDomainAfterFailedDeploymentOnStartup() throws IOException
IOException
public void redeploysInvalidZipDomainAfterFailedDeploymentAfterStartup() throws IOException
IOException
public void redeploysExplodedDomainAfterDeploymentError() throws Exception
Exception
public void redeploysFixedDomainAfterBrokenExplodedDomainOnStartup() throws Exception
Exception
public void redeploysFixedDomainAfterBrokenExplodedDomainAfterStartup() throws Exception
Exception
public void redeploysDomainAndItsApplications() throws Exception
Exception
public void redeploysDomainWithOneApplicationFailedOnFirstDeployment() throws Exception
Exception
public void redeploysDomainWithOneApplicationFailedAfterRedeployment() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.