public class TestMoveIssueAndRemoveFields extends BaseJiraFuncTest
This func test was written as part of the fix for JRA-13479. When an issue was moved to an Issue Type or Project and afteer the move there are hidden fields that were not hidden before the move, the values would remain in those fields.
The following cases are tested:
assertions, backdoor, environmentData, initClass, navigation, tester, testRule| Constructor and Description |
|---|
TestMoveIssueAndRemoveFields() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertTableCellHasImageInContext(com.meterware.httpunit.WebTable table,
int row,
int col,
String path)
This method will use the test properties context to make a safe check for an image.
|
void |
setUp() |
void |
testBulkMigrate_AltersIssue() |
void |
testBulkMigrate_AltersSubtask() |
void |
testBulkMoveIssueType() |
void |
testBulkMoveIssueTypeOnSubtask() |
void |
testBulkMoveProject() |
void |
testConvertIssueToSubtaskOfIssueWithNoSecurity() |
void |
testConvertIssueToSubtaskOfIssueWithSecurity() |
void |
testConvertSubtaskToIssue() |
void |
testMoveIssueType() |
void |
testMoveIssueTypeOnSubtask() |
void |
testMoveProject() |
void |
testMoveSubtaskToNewParentWithHiddenSecurity() |
void |
testMoveSubtaskWithHiddenSecurityToNewParent() |
getAssertions, getBackdoor, getEnvironmentData, getTesterpublic void setUp()
public void testMoveIssueType()
throws SAXException
SAXExceptionpublic void testMoveIssueTypeOnSubtask()
throws SAXException
SAXExceptionpublic void testMoveProject()
throws SAXException
SAXExceptionpublic void testBulkMoveIssueType()
throws SAXException
SAXExceptionpublic void testBulkMoveIssueTypeOnSubtask()
throws SAXException
SAXExceptionpublic void testBulkMoveProject()
throws SAXException
SAXExceptionpublic void testBulkMigrate_AltersIssue()
throws SAXException
SAXExceptionpublic void testBulkMigrate_AltersSubtask()
throws SAXException
SAXExceptionpublic void testConvertSubtaskToIssue()
throws SAXException
SAXExceptionpublic void testConvertIssueToSubtaskOfIssueWithNoSecurity()
throws SAXException
SAXExceptionpublic void testConvertIssueToSubtaskOfIssueWithSecurity()
throws SAXException
SAXExceptionpublic void testMoveSubtaskToNewParentWithHiddenSecurity()
throws SAXException
SAXExceptionpublic void testMoveSubtaskWithHiddenSecurityToNewParent()
throws SAXException
SAXExceptionprotected void assertTableCellHasImageInContext(com.meterware.httpunit.WebTable table,
int row,
int col,
String path)
table - WebTablerow - Index of the rowcol - Index of the columnpath - Image path relative to context.Copyright © 2002-2019 Atlassian. All Rights Reserved.