com.atlassian.jira.webtest.selenium.gadgets
Class StatsTestBase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.selenium.SeleniumTest
              extended by com.atlassian.jira.webtest.selenium.JiraSeleniumTest
                  extended by com.atlassian.jira.webtest.selenium.gadgets.GadgetTest
                      extended by com.atlassian.jira.webtest.selenium.gadgets.BaseChartGadgetTest
                          extended by com.atlassian.jira.webtest.selenium.gadgets.StatsTestBase
All Implemented Interfaces:
EnvironmentAware, com.atlassian.performance.junit.PerformanceTest, junit.framework.Test
Direct Known Subclasses:
TestProjectGadget, TestStatsGadget

public class StatsTestBase
extends BaseChartGadgetTest

Base class for constants used when testing the standard statistics type selector


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
JiraSeleniumTest.Check
 
Field Summary
protected static String ADMIN_NAME
           
protected static String BLARGH
           
protected static String COMPONENTS_COLUMN
           
protected static String FIX_VERSIONS_COLUMN
           
protected static String FRED_NAME
           
protected static String FRED_USERNAME
           
protected static String HOMOSAPIEN
           
protected static String HSP
           
protected static String ISSUE_TYPE_BUG
           
protected static String ISSUE_TYPE_FEATURE
           
protected static String ISSUE_TYPE_IMPROVEMENT
           
protected static String ISSUE_TYPE_TASK
           
protected static String ISSUETYPE_COLUMN
           
protected static String JIRA_DEVELOPERS
           
protected static String MKY
           
protected static String MONKEY
           
protected static String NEW_COMPONENT_1
           
protected static String NEW_COMPONENT_2
           
protected static String NEW_COMPONENT_3
           
protected static String NEW_VERSION_1
           
protected static String NEW_VERSION_4
           
protected static String NEW_VERSION_5
           
protected static String PRIORITY_BLOCKER
           
protected static String PRIORITY_COLUMN
           
protected static String PRIORITY_CRITICAL
           
protected static String PRIORITY_MAJOR
           
protected static String PRIORITY_MINOR
           
protected static String PRIORITY_TRIVIAL
           
protected static String REPORTER_COLUMN
           
protected static String RESOLUTION_CANNOT_REPRODUCE
           
protected static String RESOLUTION_COLUMN
           
protected static String RESOLUTION_DUPLICATE
           
protected static String RESOLUTION_FIXED
           
protected static String RESOLUTION_INCOMPLETE
           
protected static String RESOLUTION_WON_T_FIX
           
protected static String STATUS_COLUMN
           
protected static String TYPE_BUG
           
protected static String TYPE_IMPROVEMENT
           
protected static String TYPE_NEW_FEATURE
           
protected static String TYPE_TASK
           
protected static String VERSIONS_COLUMN
           
 
Fields inherited from class com.atlassian.jira.webtest.selenium.gadgets.BaseChartGadgetTest
DAILY_PERIOD, DF_DAILY_CHART, DF_HOURLY_CHART, DF_MONTHLY_CHART, DF_QUARTERLY_CHART, DF_WEEKLY_CHART, DF_YEAR_CHART, HOURLY_PERIOD, MONTHLY_PERIOD, QUARTERLY_PERIOD, REFRESH_NEVER, WEEKLY_PERIOD, YEARLY_PERIOD
 
Fields inherited from class com.atlassian.jira.webtest.selenium.gadgets.GadgetTest
GADGET_DIRECTORY_TIMEOUT, openDropdownLocator, TIMEOUT, title
 
Fields inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
ADMIN_PASSWORD, ADMIN_USERNAME, backdoor, DROP_DOWN_WAIT, environmentData, HSP_1, logger, MKY_1, PAGE_LOAD_WAIT, PAGE_LOAD_WAIT_TIME, PRESENT_TO_VISIBLE_DELAY, VK_DOWN, VK_ESC, VK_UP
 
Fields inherited from class com.atlassian.selenium.SeleniumTest
assertThat, client, config, recorder
 
Constructor Summary
StatsTestBase()
           
 
Method Summary
protected  void configGadget(String hint, String id, String statType, int refresh)
           
 
Methods inherited from class com.atlassian.jira.webtest.selenium.gadgets.BaseChartGadgetTest
_testAllPeriods, _testDailyPeriod, _testHourlyPeriod, _testMonthlyPeriod, _testQuarterlyPeriod, _testWeeklyPeriod, _testYearlyPeriod, assertDaysForPeriodValid, gotoDashboard
 
Methods inherited from class com.atlassian.jira.webtest.selenium.gadgets.GadgetTest
addColumnByName, addColumnByName, addGadget, addGadget, assertAutoComplete, assertDaysPreviouslyFieldPresent, assertFieldOptionLabelsPresent, assertFieldOptionValuePresent, assertFieldOptionValuesPresent, assertGadgetNotVisible, assertGadgetTitle, assertPeriodFieldPresent, assertRefreshIntervalFieldPresent, assertSelectFieldError, assertTextFieldError, clickConfigButton, clickRefreshButton, deleteColumnByValue, deleteColumnByValue, deleteGadget, getBaseUrl, loginAsAdmin, maximizeGadget, minimizeGadget, onSetUp, onTearDown, restoreGadgetData, selectByLabels, selectDashboardFrame, selectGadget, selectProjectOrFilterFromAutoComplete, setSelectField, setTextField, submitGadgetConfig, viewGadgetAsAnonymous, viewGadgetAsAnonymous, waitForGadgetConfiguration, waitForGadgetView
 
Methods inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
assertFalse, assertFalse, assertTrue, assertTrue, backgroundLogout, context, getAdministration, getBackdoor, getEnvironmentData, getNavigator, getSeleniumConfiguration, getUserPreferences, getWebUnitTest, getXsrfToken, globalPages, internalSetup, isBeforeJdk15, isKickAssEnabled, isUserAgentFirefox, log, restoreBlankInstance, restoreData, restoreData, restoreData, restoreDataWithPluginsReload, restoreDataWithReplacedTokens, restoreI18nData, restoreUnsetupJIRA, restoreViaBackdoor, restoreViaBackdoorAndGoToDashboard, runBare, runBareTestCase, selectMainWindow, setEnvironmentData, setSeleniumTestListener, suiteFor, timeouts, turnOffProfiling, turnOnProfiling, visibleByTimeoutWithDelay, waitFor, waitForContentUpdate, waitForRestore
 
Methods inherited from class com.atlassian.selenium.SeleniumTest
getRecorder, getSeleniumClient, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, 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
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Field Detail

RESOLUTION_CANNOT_REPRODUCE

protected static final String RESOLUTION_CANNOT_REPRODUCE
See Also:
Constant Field Values

RESOLUTION_INCOMPLETE

protected static final String RESOLUTION_INCOMPLETE
See Also:
Constant Field Values

RESOLUTION_DUPLICATE

protected static final String RESOLUTION_DUPLICATE
See Also:
Constant Field Values

RESOLUTION_WON_T_FIX

protected static final String RESOLUTION_WON_T_FIX
See Also:
Constant Field Values

RESOLUTION_FIXED

protected static final String RESOLUTION_FIXED
See Also:
Constant Field Values

STATUS_COLUMN

protected static final String STATUS_COLUMN
See Also:
Constant Field Values

RESOLUTION_COLUMN

protected static final String RESOLUTION_COLUMN
See Also:
Constant Field Values

REPORTER_COLUMN

protected static final String REPORTER_COLUMN
See Also:
Constant Field Values

VERSIONS_COLUMN

protected static final String VERSIONS_COLUMN
See Also:
Constant Field Values

MONKEY

protected static final String MONKEY
See Also:
Constant Field Values

PRIORITY_COLUMN

protected static final String PRIORITY_COLUMN
See Also:
Constant Field Values

PRIORITY_TRIVIAL

protected static final String PRIORITY_TRIVIAL
See Also:
Constant Field Values

PRIORITY_MINOR

protected static final String PRIORITY_MINOR
See Also:
Constant Field Values

PRIORITY_MAJOR

protected static final String PRIORITY_MAJOR
See Also:
Constant Field Values

PRIORITY_CRITICAL

protected static final String PRIORITY_CRITICAL
See Also:
Constant Field Values

PRIORITY_BLOCKER

protected static final String PRIORITY_BLOCKER
See Also:
Constant Field Values

NEW_VERSION_1

protected static final String NEW_VERSION_1
See Also:
Constant Field Values

NEW_VERSION_5

protected static final String NEW_VERSION_5
See Also:
Constant Field Values

NEW_VERSION_4

protected static final String NEW_VERSION_4
See Also:
Constant Field Values

FIX_VERSIONS_COLUMN

protected static final String FIX_VERSIONS_COLUMN
See Also:
Constant Field Values

TYPE_IMPROVEMENT

protected static final String TYPE_IMPROVEMENT
See Also:
Constant Field Values

TYPE_TASK

protected static final String TYPE_TASK
See Also:
Constant Field Values

TYPE_NEW_FEATURE

protected static final String TYPE_NEW_FEATURE
See Also:
Constant Field Values

TYPE_BUG

protected static final String TYPE_BUG
See Also:
Constant Field Values

ISSUETYPE_COLUMN

protected static final String ISSUETYPE_COLUMN
See Also:
Constant Field Values

COMPONENTS_COLUMN

protected static final String COMPONENTS_COLUMN
See Also:
Constant Field Values

NEW_COMPONENT_3

protected static final String NEW_COMPONENT_3
See Also:
Constant Field Values

NEW_COMPONENT_2

protected static final String NEW_COMPONENT_2
See Also:
Constant Field Values

NEW_COMPONENT_1

protected static final String NEW_COMPONENT_1
See Also:
Constant Field Values

BLARGH

protected static final String BLARGH
See Also:
Constant Field Values

HOMOSAPIEN

protected static final String HOMOSAPIEN
See Also:
Constant Field Values

MKY

protected static final String MKY
See Also:
Constant Field Values

HSP

protected static final String HSP
See Also:
Constant Field Values

ISSUE_TYPE_BUG

protected static final String ISSUE_TYPE_BUG
See Also:
Constant Field Values

ISSUE_TYPE_FEATURE

protected static final String ISSUE_TYPE_FEATURE
See Also:
Constant Field Values

ISSUE_TYPE_TASK

protected static final String ISSUE_TYPE_TASK
See Also:
Constant Field Values

ISSUE_TYPE_IMPROVEMENT

protected static final String ISSUE_TYPE_IMPROVEMENT
See Also:
Constant Field Values

FRED_USERNAME

protected static final String FRED_USERNAME
See Also:
Constant Field Values

FRED_NAME

protected static final String FRED_NAME
See Also:
Constant Field Values

ADMIN_NAME

protected static final String ADMIN_NAME
See Also:
Constant Field Values

JIRA_DEVELOPERS

protected static final String JIRA_DEVELOPERS
See Also:
Constant Field Values
Constructor Detail

StatsTestBase

public StatsTestBase()
Method Detail

configGadget

protected void configGadget(String hint,
                            String id,
                            String statType,
                            int refresh)


Copyright © 2002-2013 Atlassian. All Rights Reserved.