|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sourceforge.jwebunit.WebTestCase com.atlassian.jira.webtests.WebTestCaseWrapper com.atlassian.jira.webtests.AbstractAtlassianWebTestCase com.atlassian.jira.webtests.JIRAWebTest com.atlassian.jira.webtests.ztests.issue.TestIssueSecurityActions
public class TestIssueSecurityActions
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
JIRAWebTest.ParameterEnterer |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
administration, assertions, backdoor, BULK_TRANSITION_ELEMENT_NAME, environmentData, FIELD_SCOPE_GLOBAL, form, JDK_1_5_VERSION, locator, log, navigation, page, PAGE_ENTERPRISE_FIELD_CONFIGURATIONS, PAGE_ISSUE_TYPE_SCREEN_SCHEMES, PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES, PAGE_USER_BROWSER, parse, text |
Fields inherited from class net.sourceforge.jwebunit.WebTestCase |
---|
tester |
Constructor Summary | |
---|---|
TestIssueSecurityActions(String name)
|
Method Summary | |
---|---|
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 |
setUp()
|
void |
tearDown()
|
void |
testIssueSecurityActions()
|
void |
testProjectRoleIssueSecurityType()
|
Methods inherited from class com.atlassian.jira.webtests.WebTestCaseWrapper |
---|
assertElementNotPresent, assertElementPresent, assertOptionValueNotPresent, assertOptionValuePresent, assertTextInTable, assertTextNotPresent, assertTextPresent, clickCancelButton, log, log, log, logSection, raiseRuntimeException, selectMultiOption, selectMultiOptionByValue, selectOption, submit |
Methods inherited from class net.sourceforge.jwebunit.WebTestCase |
---|
assertButtonNotPresent, assertButtonPresent, assertCheckboxNotSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertFormElementEmpty, assertFormElementEquals, assertFormElementNotPresent, assertFormElementNotPresentWithLabel, assertFormElementPresent, assertFormElementPresentWithLabel, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyPresent, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithText, assertOptionEquals, assertOptionsEqual, assertOptionsNotEqual, assertOptionValuesEqual, assertOptionValuesNotEqual, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonValue, assertTableEquals, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowsEqual, assertTableRowsEqual, assertTextInElement, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTitleEquals, assertTitleEqualsKey, assertWindowPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickLink, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickLinkWithTextAfterText, dumpCookies, dumpCookies, dumpResponse, dumpTable, dumpTable, getDialog, getMessage, getTestContext, gotoFrame, gotoRootWindow, gotoWindow, reset, setFormElement, setFormElementWithLabel, setWorkingForm, submit, uncheckCheckbox, uncheckCheckbox |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestIssueSecurityActions(String name)
Method Detail |
---|
public void setUp()
setUp
in class JIRAWebTest
public void tearDown()
tearDown
in class JIRAWebTest
public void testIssueSecurityActions()
public void testProjectRoleIssueSecurityType()
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |