|
||||||||||
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.bulk.BulkChangeIssues
public abstract class BulkChangeIssues
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
JIRAWebTest.ParameterEnterer |
Field Summary | |
---|---|
protected static String |
ERROR_NEXT_CHOOSE_ISSUE
Constant Error Strings caused from clicking 'Next' in the steps without completing the required fields. |
protected static String |
ERROR_NEXT_CHOOSE_OPERATION
|
protected static String |
ERROR_NEXT_OPERATION_DETAILS
|
protected static String |
FIELD_SEARCH_STRING
|
protected static String |
FIELDS_UPDATE_AUTO
|
protected static String |
FORM_QUICK_SEARCH
|
protected static String |
NOTE_MULTIPLE_PROJECTS
|
protected static int |
NUM_RESULTS_PER_PG
This is the number of issues displayed in one result page of the issue navigator |
protected static String |
OPTION_COMPONENT_ONE
|
protected static String |
OPTION_PRIORITY_FIVE
|
protected static String |
OPTION_PRIORITY_FOUR
|
protected static String |
OPTION_PRIORITY_ONE
|
protected static String |
OPTION_PRIORITY_THREE
|
protected static String |
OPTION_PRIORITY_TWO
|
protected static String |
OPTION_UNASSIGNED
|
protected static String |
OPTION_VERSION_ONE
|
protected static String |
OPTION_VERSION_TWO
|
protected static String |
TYPE_PRIORITY_FIVE
|
protected static String |
TYPE_PRIORITY_FOUR
|
protected static String |
TYPE_PRIORITY_ONE
|
protected static String |
TYPE_PRIORITY_THREE
|
protected static String |
TYPE_PRIORITY_TWO
|
Fields inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
administration, assertions, backdoor, BULK_TRANSITION_ELEMENT_NAME, environmentData, FIELD_SCOPE_GLOBAL, form, issueTableAssertions, issueTableClient, 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 | |
---|---|
BulkChangeIssues(String name)
|
Method Summary | |
---|---|
protected void |
addCurrentPageLink()
Adds an issue until the issue navigator has a next page |
protected String |
addIssue(String summary)
adds a new issue with the given 'summary' |
protected IssueCreateResponse |
addIssueForResponse(String summary)
adds a new issue with the given 'summary', returning IssueCreateResponse |
protected String |
addIssueInProject(String summary,
String project,
String projectKey)
adds a issue with the given summary in the given project |
protected void |
addIssues(int numOfIssues)
adds new random issues ('numOfIssues' times) these issues are not 'known' types. |
protected void |
addIssues(String prefix,
int numOfIssues)
adds new random issues ('numOfIssues' times) these issues are not 'known' types. |
protected void |
bulkChangeNextWithoutFormCompletionStepChooseIssue()
Error checking for clicking next without completing the step: Choose Issue |
protected void |
bulkChangeNextWithoutFormCompletionStepChooseOperation()
Error checking for clicking next without completing the step: Choose Operation |
protected void |
bulkChangeNextWithoutFormCompletionStepOperationDetails()
Error checking for clicking next without completing the step: Operation Details |
protected void |
bulkChangeSetup()
|
protected boolean |
checkIssueIsDeleted(String summary)
does a quick search with the given summary, and checks if the issue with the summary exists (deleted or not). |
protected void |
checkIssuesAreListed(String prefix,
int max)
Checks that issues with summary equal to the 'prefix' + i [0..max] are present |
protected void |
checkIssuesAreNotListed(String prefix,
int max)
Checks that issues with summary equal to the 'prefix' + i [0..max] are NOT present |
protected void |
checkLabelForStepIssueNavigator(int page,
int totalIssues)
Checks if the issue navigator displays the correct dynamic label regarding the number of issues/results on display. Also checks if there is the link to bulk change all and bulk change current if there is more than one page of issues/results |
protected void |
checkLinkToStepChooseIssues()
Returns to Step Choose Issues using the side menu from the wizard and checks that the link is correct |
protected void |
checkLinkToStepChooseOperation()
Returns to Step Choose Operations using the side menu from the wizard and checks that the link is correct |
protected void |
checkLinkToStepOperationDetails()
Returns to Step Operation Details using the side menu from the wizard and checks that the link is correct |
protected void |
checkMultipleProjectNote()
|
protected void |
checkSideBarLinksInStepChooseIssues()
Checks the side menu links for whether they have the correct links available or not, and also if it is for the correct step. |
protected void |
checkSideBarLinksInStepChooseOperation()
Checks the side menu links for whether they have the correct links available or not, and also if it is for the correct step. |
protected void |
checkSideBarLinksInStepConfirmationForDeleteOp()
Checks the side menu links for whether they have the correct links available or not, and also if it is for the correct step. |
protected void |
checkSideBarLinksInStepConfirmationForEditOp()
Checks the side menu links for whether they have the correct links available or not, and also if it is for the correct step. This is for the step Confirmation with operation as edit |
protected void |
checkSideBarLinksInStepOperationDetails()
Checks the side menu links for whether they have the correct links available or not, and also if it is for the correct step. This is for the step Operations Details |
void |
setUp()
|
void |
tearDown()
|
Methods inherited from class com.atlassian.jira.webtests.WebTestCaseWrapper |
---|
assertElementNotPresent, assertElementNotPresentBy, assertElementPresent, assertElementPresentBy, 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 |
Field Detail |
---|
protected static final int NUM_RESULTS_PER_PG
protected static final String ERROR_NEXT_CHOOSE_ISSUE
protected static final String ERROR_NEXT_CHOOSE_OPERATION
protected static final String ERROR_NEXT_OPERATION_DETAILS
protected static final String NOTE_MULTIPLE_PROJECTS
protected static final String FORM_QUICK_SEARCH
protected static final String FIELD_SEARCH_STRING
protected static final String OPTION_VERSION_ONE
protected static final String OPTION_VERSION_TWO
protected static final String OPTION_COMPONENT_ONE
protected static final String OPTION_UNASSIGNED
protected static final String OPTION_PRIORITY_ONE
protected static final String OPTION_PRIORITY_TWO
protected static final String OPTION_PRIORITY_THREE
protected static final String OPTION_PRIORITY_FOUR
protected static final String OPTION_PRIORITY_FIVE
protected static final String TYPE_PRIORITY_ONE
protected static final String TYPE_PRIORITY_TWO
protected static final String TYPE_PRIORITY_THREE
protected static final String TYPE_PRIORITY_FOUR
protected static final String TYPE_PRIORITY_FIVE
protected static final String FIELDS_UPDATE_AUTO
Constructor Detail |
---|
public BulkChangeIssues(String name)
Method Detail |
---|
public void setUp()
setUp
in class JIRAWebTest
public void tearDown()
tearDown
in class JIRAWebTest
protected void bulkChangeSetup()
protected String addIssue(String summary)
summary
- protected IssueCreateResponse addIssueForResponse(String summary)
summary
- protected void addIssues(int numOfIssues)
numOfIssues
- protected void addIssues(String prefix, int numOfIssues)
numOfIssues
- protected String addIssueInProject(String summary, String project, String projectKey)
protected void addCurrentPageLink()
protected boolean checkIssueIsDeleted(String summary)
summary
-
protected void bulkChangeNextWithoutFormCompletionStepChooseIssue()
protected void bulkChangeNextWithoutFormCompletionStepChooseOperation()
protected void bulkChangeNextWithoutFormCompletionStepOperationDetails()
protected void checkLabelForStepIssueNavigator(int page, int totalIssues)
page
- protected void checkIssuesAreListed(String prefix, int max)
prefix
- protected void checkIssuesAreNotListed(String prefix, int max)
prefix
- protected void checkSideBarLinksInStepChooseIssues()
protected void checkSideBarLinksInStepChooseOperation()
protected void checkSideBarLinksInStepOperationDetails()
protected void checkSideBarLinksInStepConfirmationForDeleteOp()
protected void checkSideBarLinksInStepConfirmationForEditOp()
protected void checkMultipleProjectNote()
protected void checkLinkToStepChooseIssues()
protected void checkLinkToStepChooseOperation()
protected void checkLinkToStepOperationDetails()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |