|
||||||||||
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 com.atlassian.jira.webtests.ztests.bulk.TestBulkChangeIssues
public class TestBulkChangeIssues
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
JIRAWebTest.ParameterEnterer |
Field Summary | |
---|---|
protected static String[] |
issueID
|
protected static int |
MAX
MAX is the number of 'known' issues to add 'known' issues are issues that are used to control some of the events and to validate through the bulk edit process |
protected static String |
PREFIX_ISSUE_ON_CURR_PG
|
Fields inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
administration, assertions, 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 | |
---|---|
TestBulkChangeIssues(String name)
|
Method Summary | |
---|---|
void |
_testCancelLinkForStepChooseIssues()
Goes to Step Choose Issues and checks that the cancel button works properly |
void |
_testCancelLinkForStepChooseOperation()
Goes to Step Choose Operation and checks that the cancel button works properly |
void |
_testCancelLinkForStepConfirmationDelete()
Goes to Step Confirmation Delete and checks that the cancel button works properly |
void |
_testCancelLinkForStepConfirmationEdit()
Goes to Step Confirmation Edit and checks that the cancel button works properly |
void |
_testCancelLinkForStepOperationDetails()
Goes to Step Operation Details and checks that the cancel button works properly |
void |
_testCheckIssueContentIncludeAllPageFromCurrentPage()
Includes All the pages from the current page and checks that ISSUE_ON_NEXT_PAGE is included for bulk change, and that issues with the prefix PREFIX_ISSUE_ON_CURR_PG are also included. |
void |
_testCheckIssueContentIncludeAllPageFromNextPage()
Includes all the pages from the next page and checks that ISSUE_ON_NEXT_PAGE is included for bulk change, and that issues with the prefix PREFIX_ISSUE_ON_CURR_PG are also included |
void |
_testCheckIssueContentIncludeCurrentPageFromCurrentPage()
Includes the Current page and checks that ISSUE_ON_NEXT_PAGE is not included for bulk change, and that issues with the prefix PREFIX_ISSUE_ON_CURR_PG are in the same page. |
void |
_testCheckIssueContentIncludeCurrentPageFromNextPage()
Includes the Current page from the next page and checks that ISSUE_ON_NEXT_PAGE is included for bulk change, and that issues with the prefix PREFIX_ISSUE_ON_CURR_PG are NOT included. |
void |
_testCheckLabelForStepIssueNavigator()
cycles through all the results pages of the issue navigator checking that the correct label is displayed. |
void |
_testCheckLabelsSelectIssuesAllMultipleProject()
test to check each dynamic labels in each step. |
void |
_testCheckLabelsSelectIssuesAllSingleProject()
test to check each dynamic labels in each step. |
void |
_testCheckLabelsSelectIssuesOneSingleProject()
test to check each dynamic labels in each step. |
void |
_testCheckLabelsSelectIssuesSomeMultipleProject()
test to check each dynamic labels in each step. selected SOME issues from a MULTIPLE projects |
void |
_testCheckLabelsSelectIssuesSomeSingleProject()
test to check each dynamic labels in each step. selected SOME issues from a SINGLE project |
void |
_testCheckOperationDetailsContent()
adds a temporary project and a issue (since its new, it has no versions and components) checks that in step Operation details, the version and component fields are not present |
void |
_testClickNextWithoutFormCompletionForOperationDelete()
Tests if the correct Error message is displayed when clicking Next without any required fields completed for delete operations |
void |
_testClickNextWithoutFormCompletionForOperationEdit()
Tests if the correct Error message is displayed when clicking Next without any required fields completed for edit operations |
void |
_testSideBarLinks()
Tests if each side menu links are working correctly |
protected void |
bulkChangeChooseIssuesSome()
selects the checkbox's of the 'known' issues Used in the Step Choose Issues |
void |
setUp()
|
void |
tearDown()
|
void |
testBulkChangeIssues()
|
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 |
Field Detail |
---|
protected static final int MAX
protected static final String PREFIX_ISSUE_ON_CURR_PG
protected static String[] issueID
Constructor Detail |
---|
public TestBulkChangeIssues(String name)
Method Detail |
---|
public void setUp()
setUp
in class BulkChangeIssues
public void tearDown()
tearDown
in class BulkChangeIssues
public void testBulkChangeIssues()
public void _testCheckLabelForStepIssueNavigator()
public void _testCheckLabelsSelectIssuesOneSingleProject()
public void _testCheckLabelsSelectIssuesSomeSingleProject()
public void _testCheckLabelsSelectIssuesAllSingleProject()
public void _testCheckLabelsSelectIssuesSomeMultipleProject()
public void _testCheckLabelsSelectIssuesAllMultipleProject()
public void _testCheckOperationDetailsContent()
public void _testClickNextWithoutFormCompletionForOperationEdit()
public void _testClickNextWithoutFormCompletionForOperationDelete()
public void _testCancelLinkForStepChooseIssues()
public void _testCancelLinkForStepChooseOperation()
public void _testCancelLinkForStepOperationDetails()
public void _testCancelLinkForStepConfirmationEdit()
public void _testCancelLinkForStepConfirmationDelete()
public void _testSideBarLinks()
public void _testCheckIssueContentIncludeCurrentPageFromCurrentPage()
public void _testCheckIssueContentIncludeCurrentPageFromNextPage()
public void _testCheckIssueContentIncludeAllPageFromCurrentPage()
public void _testCheckIssueContentIncludeAllPageFromNextPage()
protected void bulkChangeChooseIssuesSome()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |