public class TestIssueSecurityActions extends BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestIssueSecurityActions() |
Modifier and Type | Method and Description |
---|---|
String |
addVersion(String project,
String name,
String description) |
void |
issueSecurityAddGroupToSecurityLevel() |
void |
issueSecurityAddSecurityLevel() |
void |
issueSecurityAssociateSchemeToProject() |
void |
issueSecurityCreateIssueWithoutIssueSecurity()
Tests if the 'Security Level' field is available with an project WITHOUT an associated 'Issue Security Scheme'
|
String |
issueSecurityCreateIssueWithSecurity()
Creating issue with issue security settings
|
void |
issueSecurityCreateIssueWithSecurityRequired()
Tests for error handling with 'Security Level' required
|
void |
issueSecurityCreateScheme() |
void |
issueSecurityCreateSubTaskWithSecurity(String issueKey)
Tests if a sub task has its security level automatically allocated
|
void |
issueSecurityDeleteScheme() |
void |
issueSecurityDeleteSecurityLevel() |
void |
issueSecurityEditIssueWithIssueSecurity(String issueKey)
Tests if the user is able to alter the security level of an issue
|
void |
issueSecurityEditIssueWithoutIssueSecurity(String issueKey)
Tests if the 'Security Level' Link is available with an project WITHOUT an associated 'Issue Security Scheme'
|
void |
issueSecurityEditIssueWithSecurityRequired(String issueKey)
Tests for error handling with 'Security Level' required
|
void |
issueSecurityFieldSchemesAddDuplicateScheme()
Tests the error handling if a duplicate scheme is made
|
void |
issueSecurityFieldSchemesAddInvalidScheme()
Tests the error handling if a scheme with an invalid nameis made
|
void |
issueSecurityMoveIssueAwayFromIssueSecurity(String issueKey)
Tests the availabilty of 'Issue Security' when moving an issue to a project WITHOUT issue security
|
void |
issueSecurityMoveIssueToIssueSecurity(String issueKey)
Tests the availabilty of 'Issue Security' when moving an issue to a project WITH issue security
|
void |
issueSecurityMoveIssueWithDefaultSecurity(String issueKey)
Tests that default security level is used if user does not have permission to set security
|
void |
issueSecurityMoveIssueWithSameSecurity(String issueKey)
Test that security level stays the same if moved between the same security scheme
|
void |
issueSecurityRemoveAssociationWithProject() |
void |
issueSecurityRemoveGroupFromSecurityLevel() |
void |
issueSecuritySecurityViolation(String issueKey)
Tests if a user can breach Issue Security()
|
void |
removeGroupFromSecurityLevel(String scheme_name,
String level_name,
String groupName) |
boolean |
securtiySchemeExists(String securityScheme) |
void |
setUp() |
void |
testIssueSecurityActions() |
void |
testProjectRoleIssueSecurityType() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public void setUp()
public void testIssueSecurityActions()
public void testProjectRoleIssueSecurityType()
public boolean securtiySchemeExists(String securityScheme)
public void issueSecurityCreateScheme()
public void issueSecurityDeleteScheme()
public void issueSecurityAddSecurityLevel()
public void issueSecurityDeleteSecurityLevel()
public void issueSecurityAssociateSchemeToProject()
public void issueSecurityRemoveAssociationWithProject()
public void issueSecurityAddGroupToSecurityLevel()
public void issueSecurityRemoveGroupFromSecurityLevel()
public void issueSecurityFieldSchemesAddDuplicateScheme()
public void issueSecurityFieldSchemesAddInvalidScheme()
public String issueSecurityCreateIssueWithSecurity()
public void issueSecurityCreateIssueWithoutIssueSecurity()
public void issueSecurityCreateIssueWithSecurityRequired()
public void issueSecurityEditIssueWithIssueSecurity(String issueKey)
public void issueSecurityEditIssueWithoutIssueSecurity(String issueKey)
public void issueSecurityEditIssueWithSecurityRequired(String issueKey)
public void issueSecuritySecurityViolation(String issueKey)
public void issueSecurityMoveIssueAwayFromIssueSecurity(String issueKey)
public void issueSecurityMoveIssueToIssueSecurity(String issueKey)
public void issueSecurityMoveIssueWithDefaultSecurity(String issueKey)
public void issueSecurityMoveIssueWithSameSecurity(String issueKey)
public void issueSecurityCreateSubTaskWithSecurity(String issueKey)
Copyright © 2002-2021 Atlassian. All Rights Reserved.