Class DeploymentVersionDeletionServiceWiredTest
- java.lang.Object
-
- it.com.atlassian.bamboo.deployments.versions.service.DeploymentVersionDeletionServiceWiredTest
-
public class DeploymentVersionDeletionServiceWiredTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description BackdoorRule
backdoorRule
ImpersonationRule
impersonationRule
LogTestProgressRule
logTestProgressRule
-
Constructor Summary
Constructors Constructor Description DeploymentVersionDeletionServiceWiredTest(ArtifactLinkManager artifactLinkManager, CachedPlanManager cachedPlanManager, DeploymentVersionDeletionService deploymentVersionDeletionService, DeploymentVersionService deploymentVersionService, DeploymentsTestService deploymentsTestService, HibernateMutableAclService aclService, ImpersonationService impersonationService, ResultsSummaryManager resultsSummaryManager, StorageLocationService storageLocationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testJoeIsAllowedToDeleteDeploymentVersionWhenHeWasGrantedPermissions()
void
testJoeIsIsAllowedToDeleteHisOwnDeploymentVersion()
void
testJoeIsNotAllowedToDeleteDeploymentVersion()
void
testRemoveDeploymentVersionArtifacts()
-
-
-
Field Detail
-
backdoorRule
public BackdoorRule backdoorRule
-
impersonationRule
public ImpersonationRule impersonationRule
-
logTestProgressRule
public final LogTestProgressRule logTestProgressRule
-
-
Constructor Detail
-
DeploymentVersionDeletionServiceWiredTest
@Inject public DeploymentVersionDeletionServiceWiredTest(ArtifactLinkManager artifactLinkManager, CachedPlanManager cachedPlanManager, DeploymentVersionDeletionService deploymentVersionDeletionService, DeploymentVersionService deploymentVersionService, DeploymentsTestService deploymentsTestService, HibernateMutableAclService aclService, ImpersonationService impersonationService, ResultsSummaryManager resultsSummaryManager, StorageLocationService storageLocationService)
-
-
Method Detail
-
testJoeIsNotAllowedToDeleteDeploymentVersion
public void testJoeIsNotAllowedToDeleteDeploymentVersion() throws Exception
- Throws:
Exception
-
testJoeIsAllowedToDeleteDeploymentVersionWhenHeWasGrantedPermissions
public void testJoeIsAllowedToDeleteDeploymentVersionWhenHeWasGrantedPermissions() throws Exception
- Throws:
Exception
-
testJoeIsIsAllowedToDeleteHisOwnDeploymentVersion
public void testJoeIsIsAllowedToDeleteHisOwnDeploymentVersion() throws Exception
- Throws:
Exception
-
-