Class DeploymentExpiryServiceWiredTest
- java.lang.Object
-
- it.com.atlassian.bamboo.deployments.expiry.DeploymentExpiryServiceWiredTest
-
public class DeploymentExpiryServiceWiredTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description BackdoorRule
backdoorRule
ImpersonationRule
impersonationRule
-
Constructor Summary
Constructors Constructor Description DeploymentExpiryServiceWiredTest(AdministrationConfigurationAccessor administrationConfigurationAccessor, AdministrationConfigurationPersister administrationConfigurationPersister, DeploymentExpiryService deploymentExpiryService, DeploymentsTestService deploymentsTestService, DeploymentVersionService deploymentVersionService, DeploymentResultService deploymentResultService, PluginHibernateSessionFactory pluginHibernateSessionFactory, StorageLocationService storageLocationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testExpireArtifactsAndLogsOnVariousEnvironments()
void
testExpireLogsWithLogSizeThreshold()
void
testExpireResults()
void
testExpireResultsWithAnyResultsToKeep()
void
testRunDisabledExpiry()
void
testRunExpiryWithNoExpiryTypes()
-
-
-
Field Detail
-
backdoorRule
public BackdoorRule backdoorRule
-
impersonationRule
public ImpersonationRule impersonationRule
-
-
Constructor Detail
-
DeploymentExpiryServiceWiredTest
@Inject public DeploymentExpiryServiceWiredTest(AdministrationConfigurationAccessor administrationConfigurationAccessor, AdministrationConfigurationPersister administrationConfigurationPersister, DeploymentExpiryService deploymentExpiryService, DeploymentsTestService deploymentsTestService, DeploymentVersionService deploymentVersionService, DeploymentResultService deploymentResultService, PluginHibernateSessionFactory pluginHibernateSessionFactory, StorageLocationService storageLocationService)
-
-
Method Detail
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
testExpireArtifactsAndLogsOnVariousEnvironments
public void testExpireArtifactsAndLogsOnVariousEnvironments() throws Exception
- Throws:
Exception
-
testExpireResultsWithAnyResultsToKeep
public void testExpireResultsWithAnyResultsToKeep() throws Exception
- Throws:
Exception
-
testRunExpiryWithNoExpiryTypes
public void testRunExpiryWithNoExpiryTypes() throws Exception
- Throws:
Exception
-
-