public class DeploymentVersionDeletionServiceWiredTest extends Object
Modifier and Type | Field and Description |
---|---|
BackdoorRule |
backdoorRule |
ImpersonationRule |
impersonationRule |
LogTestProgressRule |
logTestProgressRule |
Constructor and Description |
---|
DeploymentVersionDeletionServiceWiredTest(ArtifactLinkManager artifactLinkManager,
CachedPlanManager cachedPlanManager,
DeploymentVersionDeletionService deploymentVersionDeletionService,
DeploymentVersionService deploymentVersionService,
DeploymentsTestService deploymentsTestService,
HibernateMutableAclService aclService,
ImpersonationService impersonationService,
ResultsSummaryManager resultsSummaryManager,
StorageLocationService storageLocationService) |
Modifier and Type | Method and Description |
---|---|
void |
testJoeIsAllowedToDeleteDeploymentVersionWhenHeWasGrantedPermissions() |
void |
testJoeIsIsAllowedToDeleteHisOwnDeploymentVersion() |
void |
testJoeIsNotAllowedToDeleteDeploymentVersion() |
void |
testRemoveDeploymentVersionArtifacts() |
public BackdoorRule backdoorRule
public ImpersonationRule impersonationRule
public final LogTestProgressRule logTestProgressRule
@Inject public DeploymentVersionDeletionServiceWiredTest(ArtifactLinkManager artifactLinkManager, CachedPlanManager cachedPlanManager, DeploymentVersionDeletionService deploymentVersionDeletionService, DeploymentVersionService deploymentVersionService, DeploymentsTestService deploymentsTestService, HibernateMutableAclService aclService, ImpersonationService impersonationService, ResultsSummaryManager resultsSummaryManager, StorageLocationService storageLocationService)
public void testJoeIsNotAllowedToDeleteDeploymentVersion() throws Exception
Exception
public void testJoeIsAllowedToDeleteDeploymentVersionWhenHeWasGrantedPermissions() throws Exception
Exception
public void testJoeIsIsAllowedToDeleteHisOwnDeploymentVersion() throws Exception
Exception
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.