|
||||||||||
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.workflow.AbstractTestWorkflowSchemeMigration
public abstract class AbstractTestWorkflowSchemeMigration
Nested Class Summary | |
---|---|
static class |
AbstractTestWorkflowSchemeMigration.IssueAssertions
|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
JIRAWebTest.ParameterEnterer |
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 | |
---|---|
AbstractTestWorkflowSchemeMigration(String name)
|
Method Summary | |
---|---|
protected void |
assertIssuesAfterMigrationWithUnupdatedWorkflowScheme()
|
protected void |
assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination()
|
protected void |
assertIssuesMigratedAndChangeHistory(String projectKey)
|
protected void |
assertIssueVerifierErrorMessages(String projectKey)
|
protected void |
assertJqlResults(String jql,
String... expectedKeys)
|
protected void |
assertMappingAndSelectOptionsForHalfMigratedDataNewDestination()
|
protected void |
assertStandardIssues(String projectKey)
|
protected void |
checkIssuesInTestProjectAfterHalfMigratedDataNewDestination()
|
protected Map<String,String> |
createTestWorkflowMigrationMapping()
|
protected com.atlassian.jira.testkit.client.restclient.Issue |
getIssue(String issueKey)
|
protected static com.atlassian.jira.testkit.client.restclient.ChangeLog.HistoryItem |
item(String field,
String from,
String to)
|
List<com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration.IssueTypeMapping> |
mappings()
|
protected void |
waitForFailedMigration()
|
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 String TEST_PROJECT_NAME
protected static final String TEST_PROJECT_KEY
protected static final String HOMOSAPIEN_PROJECT_NAME
protected static final String SOURCE_WORKFLOW_SCHEME
protected static final String DESTINATION_WORKFLOW_SCHEME
protected static final String REOPENED_STATUS_NAME
protected static final String WORKFLOW_HOMOSAPIEN_SOURCE_1
protected static final String WORKFLOW_HOMOSPIEN_DESTINATION
protected static final String WORKFLOW_HOMOSAPIEN_SOURCE_2
protected static final String WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_SOURCE
protected static final String WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_DESTINATION
protected static final String TRANSITION_NAME_GO_CUSTOM
protected static final String ACKNOWLEDGE
protected static final String DONE
protected static final String WORKFLOW_FIELD_ID
protected static final String SUMMARY_FIELD_ID
protected static final String RESOLUTION_FIELD_ID
protected static final String STATUS_FIELD_ID
protected static final String FIX_VERSIONS_FIELD_ID
protected static final String CUSTOM_STATUS_1
protected static final String CUSTOM_STATUS_2
protected static final String CUSTOM_STATUS_3
protected static final String CUSTOM_STATUS_4
protected static final String RESOLVED_STATUS_NAME
protected static final String CLOSED_STATUS_NAME
protected static final String IN_PROGRESS_STATUS_NAME
protected static final String DESTINATION_WORKFLOW
protected static final String JIRA_DEFAULT_WORKFLOW
protected static final String SOURCE_WORKFLOW_1
protected static final String SOURCE_WORKFLOW_2
Constructor Detail |
---|
public AbstractTestWorkflowSchemeMigration(String name)
Method Detail |
---|
protected Map<String,String> createTestWorkflowMigrationMapping()
protected void assertStandardIssues(String projectKey)
protected static com.atlassian.jira.testkit.client.restclient.ChangeLog.HistoryItem item(String field, String from, String to)
protected com.atlassian.jira.testkit.client.restclient.Issue getIssue(String issueKey)
protected void assertJqlResults(String jql, String... expectedKeys)
protected void assertIssuesAfterMigrationWithUnupdatedWorkflowScheme()
protected void assertIssuesMigratedAndChangeHistory(String projectKey)
protected void assertMappingAndSelectOptionsForHalfMigratedDataNewDestination() throws SAXException
SAXException
protected void assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination()
protected void checkIssuesInTestProjectAfterHalfMigratedDataNewDestination()
protected void waitForFailedMigration()
protected void assertIssueVerifierErrorMessages(String projectKey)
public List<com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration.IssueTypeMapping> mappings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |