Class DeploymentResultDeletionServiceWiredTest
- java.lang.Object
-
- it.com.atlassian.bamboo.deployments.results.service.DeploymentResultDeletionServiceWiredTest
-
public class DeploymentResultDeletionServiceWiredTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description ImpersonationRule
impersonationRule
static PlanKey
PLAN_KEY
-
Constructor Summary
Constructors Constructor Description DeploymentResultDeletionServiceWiredTest(DeploymentResultDeletionService deploymentResultDeletionService, DeploymentResultService deploymentResultService, DeploymentsTestService deploymentsTestService, EnvironmentService environmentService, HibernateMutableAclService aclService, ImpersonationService impersonationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testJoeIsAllowedToDeleteDeploymentResultWhenHeWasGrantedPermissions()
void
testJoeIsIsAllowedToDeleteHisOwnDeploymentResult()
void
testJoeIsNotAllowedToDeleteDeploymentResult()
-
-
-
Field Detail
-
PLAN_KEY
public static final PlanKey PLAN_KEY
-
impersonationRule
public ImpersonationRule impersonationRule
-
-
Constructor Detail
-
DeploymentResultDeletionServiceWiredTest
@Inject public DeploymentResultDeletionServiceWiredTest(DeploymentResultDeletionService deploymentResultDeletionService, DeploymentResultService deploymentResultService, DeploymentsTestService deploymentsTestService, EnvironmentService environmentService, HibernateMutableAclService aclService, ImpersonationService impersonationService)
-
-
Method Detail
-
testJoeIsNotAllowedToDeleteDeploymentResult
public void testJoeIsNotAllowedToDeleteDeploymentResult() throws Exception
- Throws:
Exception
-
testJoeIsAllowedToDeleteDeploymentResultWhenHeWasGrantedPermissions
public void testJoeIsAllowedToDeleteDeploymentResultWhenHeWasGrantedPermissions() throws Exception
- Throws:
Exception
-
-