|
||||||||||
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 com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.subtask.TestClosedParent
public class TestClosedParent
A FuncTest that covers JRA-14032 Ensure that .. you can't create subtasks for an issue that is closed. .. you can't close a task/issue that has open subtasks. (sub task blocking condition has to be activated) .. you can't convert a task to a sub-task and assign it to a parent that is closed .. you can't change the parent of a subtask through the move operation to a parent that is closed. Overall we try to avoid to end up with a closed parent issue that has open subtasks.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestClosedParent()
|
Method Summary | |
---|---|
void |
testCantChangeAssigneeWhenIssueIsClosed()
|
void |
testCantCloseParentWithOpenSubTasks()
|
void |
testCantCreateSubtaskWhenParentClosed()
|
void |
testConvertIssueToSubtask()
|
void |
testMoveSubtaskToClosedParent()
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, setUpTest, shouldSkipSetup, tearDown, tearDownTest, xpath |
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 TestClosedParent()
Method Detail |
---|
public void testCantCreateSubtaskWhenParentClosed()
public void testCantCloseParentWithOpenSubTasks()
public void testConvertIssueToSubtask()
public void testMoveSubtaskToClosedParent()
public void testCantChangeAssigneeWhenIssueIsClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |