public class

AbstractTestIssueNavigatorView

extends JIRAWebTest
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.AbstractTestIssueNavigatorView
Known Direct Subclasses

Summary

Nested Classes
class AbstractTestIssueNavigatorView.Comment  
class AbstractTestIssueNavigatorView.CustomField  
class AbstractTestIssueNavigatorView.IssueLink  
class AbstractTestIssueNavigatorView.IssueLinks  
class AbstractTestIssueNavigatorView.Item Just a helper bean to keep the data encapsulated for each item  
Constants
String ATT_ASSIGNEE
String ATT_DATE_CREATED
String ATT_DATE_DUE
String ATT_DATE_RESOLVED
String ATT_DATE_UPDATED
String ATT_DESCRIPTION
String ATT_ENVIRONMENT
String ATT_FIX_VERSION
String ATT_KEY
String ATT_LAST_VIEWED
String ATT_LINK
String ATT_PRIORITY
String ATT_PROJECT
String ATT_REMAINING_ESTIMATE
String ATT_REMAINING_ESTIMATE_DAYS
String ATT_REMAINING_ESTIMATE_HOURS
String ATT_REPORTER
String ATT_RESOLUTION
String ATT_SECURITY_LEVEL
String ATT_STATUS
String ATT_SUMMARY
String ATT_TIMEORIGINALESTIMATE
String ATT_TIMEORIGINALESTIMATE_DAYS
String ATT_TIMEORIGINALESTIMATE_HOURS
String ATT_TIMESPENT
String ATT_TIMESPENT_DAYS
String ATT_TIMESPENT_HOURS
String ATT_TITLE
String ATT_TYPE
String ATT_VERSION
String ATT_VOTES
String ATT_WATCHES
String ATT_WORK_RATIO
String CF_CASCADING_SELECT_FIELD
String CF_DATE_PICKER_FIELD
String CF_DATE_TIME_FIELD
String CF_FREE_TEXT_FIELD
String CF_GROUP_PICKER_FIELD
String CF_IMPORT_ID_FIELD
String CF_MULTI_CHECKBOXES_FIELD
String CF_MULTI_GROUP_PICKER_FIELD
String CF_MULTI_SELECT_FIELD
String CF_MULTI_USER_PICKER_FIELD
String CF_NUMBER_FIELD
String CF_PROJECT_PICKER_FIELD
String CF_RADIO_BUTTONS_FIELD
String CF_RO_TEXT_FIELD
String CF_SELECT_LIST
String CF_SINGLE_VERSION_PICKER_FIELD
String CF_TEXT_FIELD255
String CF_URLFIELD
String CF_USER_PICKER_FIELD
String CF_VERSION_PICKER_FIELD
String ISSUE_AFFECTS_VERSIONS
String ISSUE_ASSIGNEE
String ISSUE_CASCADING_SELECT_FIELD
String ISSUE_COMPONENTS
String ISSUE_CREATED
String ISSUE_DATE_PICKER_FIELD
String ISSUE_DATE_TIME_FIELD
String ISSUE_DESCRIPTION
String ISSUE_DUE
String ISSUE_ENVIRONMENT
String ISSUE_FIX_VERSIONS
String ISSUE_FREE_TEXT_FIELD
String ISSUE_GROUP_PICKER_FIELD
String ISSUE_IMAGES
String ISSUE_IMPORT_ID_FIELD
String ISSUE_KEY
String ISSUE_LABELS
String ISSUE_LAST_VIEWED
String ISSUE_LINKS
String ISSUE_MULTI_CHECKBOXES_FIELD
String ISSUE_MULTI_GROUP_PICKER_FIELD
String ISSUE_MULTI_SELECT_FIELD
String ISSUE_MULTI_USER_PICKER_FIELD
String ISSUE_NUMBER_FIELD
String ISSUE_ORIGINAL_ESTIMATE
String ISSUE_PRIORITY
String ISSUE_PROGRESS
String ISSUE_PROJECT
String ISSUE_PROJECT_PICKER_FIELD
String ISSUE_RADIO_BUTTONS_FIELD
String ISSUE_REMAINING_ESTIMATE
String ISSUE_REPORTER
String ISSUE_RESOLUTION
String ISSUE_RESOLVED
String ISSUE_ROTEXT_FIELD
String ISSUE_SECURITY_LEVEL
String ISSUE_SELECT_LIST
String ISSUE_SINGLE_VERSION_PICKER_FIELD
String ISSUE_STATUS
String ISSUE_SUMMARY
String ISSUE_TEXT_FIELD255
String ISSUE_TIME_SPENT
String ISSUE_TYPE
String ISSUE_UPDATED
String ISSUE_URL_FIELD
String ISSUE_USER_PICKER_FIELD
String ISSUE_VERSION_PICKER_FIELD
String ISSUE_VOTES
String ISSUE_WATCHES
String ISSUE_WORK_RATIO
String LAST_VIEWED
String NOT_TESTED
String PICTURE_ATTACHMENT_JPG
String PRIORITY_MAJOR
String PRIORITY_MINOR
String PRIORITY_TRIVIAL
String TYPE_CASCADINGSELECT
String TYPE_DATEPICKER
String TYPE_DATETIME
String XML_DESCRIPTION_MULTIPLE
String XML_DESCRIPTION_SINGLE
String XML_LANGUAGE
String XML_LINK_COMMENT
String XML_LINK_MULTIPLE
String XML_TITLE
[Expand]
Inherited Constants
From class com.atlassian.jira.webtests.JIRAWebTest
From interface com.atlassian.jira.functest.framework.FunctTestConstants
Fields
protected static final Map<StringString> ISSUE_PRIORITY_IMAGE_MAP
protected Administration administration
protected AbstractTestIssueNavigatorView.Item commentItem1
protected AbstractTestIssueNavigatorView.Item commentItem2
protected AbstractTestIssueNavigatorView.Item commentItem3
protected AbstractTestIssueNavigatorView.Item commentItem4
protected final List<AbstractTestIssueNavigatorView.Item> commentItems
protected final List<String> issueFieldColumnMap
protected AbstractTestIssueNavigatorView.Item item1
protected AbstractTestIssueNavigatorView.Item item2
protected AbstractTestIssueNavigatorView.Item item3
protected final List<AbstractTestIssueNavigatorView.Item> items
protected String timeFormat
[Expand]
Inherited Fields
From class com.atlassian.jira.webtests.JIRAWebTest
From class net.sourceforge.jwebunit.WebTestCase
From interface com.atlassian.jira.functest.framework.FunctTestConstants
Public Constructors
AbstractTestIssueNavigatorView(String name)
Public Methods
void reconfigureTimetracking(String format)
change the time tracking format (timetracking must be on before this call)
void setUp()
Protected Methods
AbstractTestIssueNavigatorView.Item createItem1()
AbstractTestIssueNavigatorView.Item createItem2()
AbstractTestIssueNavigatorView.Item createItem3()
void initFieldColumnMap()
void subTaskify(String issueKey, String parentKey)
Convert the given issue into a subtask of the given parent issue.
[Expand]
Inherited Methods
From class com.atlassian.jira.webtests.JIRAWebTest
From class com.atlassian.jira.webtests.AbstractAtlassianWebTestCase
From class com.atlassian.jira.webtests.WebTestCaseWrapper
From class net.sourceforge.jwebunit.WebTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface com.atlassian.jira.webtests.util.EnvironmentAware
From interface junit.framework.Test

Constants

protected static final String ATT_ASSIGNEE

Constant Value: "assignee"

protected static final String ATT_DATE_CREATED

Constant Value: "created"

protected static final String ATT_DATE_DUE

Constant Value: "due"

protected static final String ATT_DATE_RESOLVED

Constant Value: "resolved"

protected static final String ATT_DATE_UPDATED

Constant Value: "updated"

protected static final String ATT_DESCRIPTION

Constant Value: "description"

protected static final String ATT_ENVIRONMENT

Constant Value: "environment"

protected static final String ATT_FIX_VERSION

Constant Value: "fixVersion"

protected static final String ATT_KEY

Constant Value: "key"

protected static final String ATT_LAST_VIEWED

Constant Value: "lastViewed"

protected static final String ATT_LINK

Constant Value: "link"

protected static final String ATT_PRIORITY

Constant Value: "priority"

protected static final String ATT_PROJECT

Constant Value: "project"

protected static final String ATT_REMAINING_ESTIMATE

Constant Value: "timeestimate"

protected static final String ATT_REMAINING_ESTIMATE_DAYS

Constant Value: "timeestimateDays"

protected static final String ATT_REMAINING_ESTIMATE_HOURS

Constant Value: "timeestimateHours"

protected static final String ATT_REPORTER

Constant Value: "reporter"

protected static final String ATT_RESOLUTION

Constant Value: "resolution"

protected static final String ATT_SECURITY_LEVEL

Constant Value: "securityLevel"

protected static final String ATT_STATUS

Constant Value: "status"

protected static final String ATT_SUMMARY

Constant Value: "summary"

protected static final String ATT_TIMEORIGINALESTIMATE

Constant Value: "timeoriginalestimate"

protected static final String ATT_TIMEORIGINALESTIMATE_DAYS

Constant Value: "timeoriginalestimateDays"

protected static final String ATT_TIMEORIGINALESTIMATE_HOURS

Constant Value: "timeoriginalestimateHours"

protected static final String ATT_TIMESPENT

Constant Value: "timespent"

protected static final String ATT_TIMESPENT_DAYS

Constant Value: "timespentDays"

protected static final String ATT_TIMESPENT_HOURS

Constant Value: "timespentHours"

protected static final String ATT_TITLE

Constant Value: "title"

protected static final String ATT_TYPE

Constant Value: "type"

protected static final String ATT_VERSION

Constant Value: "version"

protected static final String ATT_VOTES

Constant Value: "votes"

protected static final String ATT_WATCHES

Constant Value: "watches"

protected static final String ATT_WORK_RATIO

Constant Value: "workRatio"

protected static final String CF_CASCADING_SELECT_FIELD

Constant Value: "CascadingSelectField"

protected static final String CF_DATE_PICKER_FIELD

Constant Value: "DatePickerField"

protected static final String CF_DATE_TIME_FIELD

Constant Value: "DateTimeField"

protected static final String CF_FREE_TEXT_FIELD

Constant Value: "FreeTextField"

protected static final String CF_GROUP_PICKER_FIELD

Constant Value: "GroupPickerField"

protected static final String CF_IMPORT_ID_FIELD

Constant Value: "ImportIdField"

protected static final String CF_MULTI_CHECKBOXES_FIELD

Constant Value: "MultiCheckboxesField"

protected static final String CF_MULTI_GROUP_PICKER_FIELD

Constant Value: "MultiGroupPickerField"

protected static final String CF_MULTI_SELECT_FIELD

Constant Value: "MultiSelectField"

protected static final String CF_MULTI_USER_PICKER_FIELD

Constant Value: "MultiUserPickerField"

protected static final String CF_NUMBER_FIELD

Constant Value: "NumberField"

protected static final String CF_PROJECT_PICKER_FIELD

Constant Value: "ProjectPickerField"

protected static final String CF_RADIO_BUTTONS_FIELD

Constant Value: "RadioButtonsField"

protected static final String CF_RO_TEXT_FIELD

Constant Value: "ROTextField"

protected static final String CF_SELECT_LIST

Constant Value: "SelectList"

protected static final String CF_SINGLE_VERSION_PICKER_FIELD

Constant Value: "SingleVersionPickerField"

protected static final String CF_TEXT_FIELD255

Constant Value: "TextField255"

protected static final String CF_URLFIELD

Constant Value: "URLField"

protected static final String CF_USER_PICKER_FIELD

Constant Value: "UserPickerField"

protected static final String CF_VERSION_PICKER_FIELD

Constant Value: "VersionPickerField"

protected static final String ISSUE_AFFECTS_VERSIONS

Constant Value: "issueAffectsVersions"

protected static final String ISSUE_ASSIGNEE

Constant Value: "issueAssignee"

protected static final String ISSUE_CASCADING_SELECT_FIELD

Constant Value: "issueCascadingSelectField"

protected static final String ISSUE_COMPONENTS

Constant Value: "issueComponents"

protected static final String ISSUE_CREATED

Constant Value: "issueCreated"

protected static final String ISSUE_DATE_PICKER_FIELD

Constant Value: "issueDatePickerField"

protected static final String ISSUE_DATE_TIME_FIELD

Constant Value: "issueDateTimeField"

protected static final String ISSUE_DESCRIPTION

Constant Value: "issueDescription"

protected static final String ISSUE_DUE

Constant Value: "issueDue"

protected static final String ISSUE_ENVIRONMENT

Constant Value: "issueEnvironment"

protected static final String ISSUE_FIX_VERSIONS

Constant Value: "issueFixVersions"

protected static final String ISSUE_FREE_TEXT_FIELD

Constant Value: "issueFreeTextField"

protected static final String ISSUE_GROUP_PICKER_FIELD

Constant Value: "issueGroupPickerField"

protected static final String ISSUE_IMAGES

Constant Value: "issueImages"

protected static final String ISSUE_IMPORT_ID_FIELD

Constant Value: "issueImportIdField"

protected static final String ISSUE_KEY

Constant Value: "issueKey"

protected static final String ISSUE_LABELS

Constant Value: "issueLabels"

protected static final String ISSUE_LAST_VIEWED

Constant Value: "lastViewed"

protected static final String ISSUE_LINKS

Constant Value: "issueLinks"

protected static final String ISSUE_MULTI_CHECKBOXES_FIELD

Constant Value: "issueMultiCheckboxesField"

protected static final String ISSUE_MULTI_GROUP_PICKER_FIELD

Constant Value: "issueMultiGroupPickerField"

protected static final String ISSUE_MULTI_SELECT_FIELD

Constant Value: "issueMultiSelectField"

protected static final String ISSUE_MULTI_USER_PICKER_FIELD

Constant Value: "issueMultiUserPickerField"

protected static final String ISSUE_NUMBER_FIELD

Constant Value: "issueNumberField"

protected static final String ISSUE_ORIGINAL_ESTIMATE

Constant Value: "issueOriginalEstimate"

protected static final String ISSUE_PRIORITY

Constant Value: "issuePriority"

protected static final String ISSUE_PROGRESS

Constant Value: "issueTimeTrackingProgress"

protected static final String ISSUE_PROJECT

Constant Value: "issueProject"

protected static final String ISSUE_PROJECT_PICKER_FIELD

Constant Value: "issueProjectPickerField"

protected static final String ISSUE_RADIO_BUTTONS_FIELD

Constant Value: "issueRadioButtonsField"

protected static final String ISSUE_REMAINING_ESTIMATE

Constant Value: "issueRemainingEstimate"

protected static final String ISSUE_REPORTER

Constant Value: "issueReporter"

protected static final String ISSUE_RESOLUTION

Constant Value: "issueResolution"

protected static final String ISSUE_RESOLVED

Constant Value: "issueResolved"

protected static final String ISSUE_ROTEXT_FIELD

Constant Value: "issueROTextField"

protected static final String ISSUE_SECURITY_LEVEL

Constant Value: "issueSecurityLevel"

protected static final String ISSUE_SELECT_LIST

Constant Value: "issueSelectList"

protected static final String ISSUE_SINGLE_VERSION_PICKER_FIELD

Constant Value: "issueSingleVersionPickerField"

protected static final String ISSUE_STATUS

Constant Value: "issueStatus"

protected static final String ISSUE_SUMMARY

Constant Value: "issueSummary"

protected static final String ISSUE_TEXT_FIELD255

Constant Value: "issueTextField255"

protected static final String ISSUE_TIME_SPENT

Constant Value: "issueTimeSpent"

protected static final String ISSUE_TYPE

Constant Value: "issueType"

protected static final String ISSUE_UPDATED

Constant Value: "issueUpdated"

protected static final String ISSUE_URL_FIELD

Constant Value: "issueURLField"

protected static final String ISSUE_USER_PICKER_FIELD

Constant Value: "issueUserPickerField"

protected static final String ISSUE_VERSION_PICKER_FIELD

Constant Value: "issueVersionPickerField"

protected static final String ISSUE_VOTES

Constant Value: "issueVotes"

protected static final String ISSUE_WATCHES

Constant Value: "issueWatches"

protected static final String ISSUE_WORK_RATIO

Constant Value: "issueWorkRatio"

protected static final String LAST_VIEWED

Constant Value: "lastViewed"

protected static final String NOT_TESTED

Constant Value: "NOT TESTED"

protected static final String PICTURE_ATTACHMENT_JPG

Constant Value: "picture-attachment.jpg"

protected static final String PRIORITY_MAJOR

Constant Value: "Major"

protected static final String PRIORITY_MINOR

Constant Value: "Minor"

protected static final String PRIORITY_TRIVIAL

Constant Value: "Trivial"

protected static final String TYPE_CASCADINGSELECT

Constant Value: "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect"

protected static final String TYPE_DATEPICKER

Constant Value: "com.atlassian.jira.plugin.system.customfieldtypes:datepicker"

protected static final String TYPE_DATETIME

Constant Value: "com.atlassian.jira.plugin.system.customfieldtypes:datetime"

protected static final String XML_DESCRIPTION_MULTIPLE

Constant Value: "An XML representation of a search request"

protected static final String XML_DESCRIPTION_SINGLE

Constant Value: "This file is an XML representation of an issue"

protected static final String XML_LANGUAGE

Constant Value: "en-uk"

protected static final String XML_LINK_COMMENT

Constant Value: "/secure/IssueNavigator.jspa?reset=true&jqlQuery="

protected static final String XML_LINK_MULTIPLE

Constant Value: "/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+HSP"

protected static final String XML_TITLE

Constant Value: "Your Company JIRA"

Fields

protected static final Map<StringString> ISSUE_PRIORITY_IMAGE_MAP

protected Administration administration

protected AbstractTestIssueNavigatorView.Item commentItem1

protected AbstractTestIssueNavigatorView.Item commentItem2

protected AbstractTestIssueNavigatorView.Item commentItem3

protected AbstractTestIssueNavigatorView.Item commentItem4

protected final List<AbstractTestIssueNavigatorView.Item> commentItems

protected final List<String> issueFieldColumnMap

protected final List<AbstractTestIssueNavigatorView.Item> items

protected String timeFormat

Public Constructors

public AbstractTestIssueNavigatorView (String name)

Public Methods

public void reconfigureTimetracking (String format)

change the time tracking format (timetracking must be on before this call)

public void setUp ()

Protected Methods

protected AbstractTestIssueNavigatorView.Item createItem1 ()

protected AbstractTestIssueNavigatorView.Item createItem2 ()

protected AbstractTestIssueNavigatorView.Item createItem3 ()

protected void initFieldColumnMap ()

protected void subTaskify (String issueKey, String parentKey)

Convert the given issue into a subtask of the given parent issue.

Parameters
issueKey issue key
parentKey parent issue key