com.atlassian.crowd.acceptance.tests.applications.bamboo
Class BambooAcceptanceTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
              extended by com.atlassian.crowd.acceptance.tests.ApplicationAcceptanceTestCase
                  extended by com.atlassian.crowd.acceptance.tests.applications.bamboo.BambooAcceptanceTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BambooGroupBrowserTest, BambooGroupMutationTest, BambooMixedCaseGroupTest, BambooMixedCaseUserTest, BambooSingleSignOnTest, BambooUserBrowserTest, BambooUserMutationTest, SetupBambooTest

public class BambooAcceptanceTestCase
extends ApplicationAcceptanceTestCase


Field Summary
protected static java.lang.String BAMBOO_ADMIN_EMAIL
           
protected static java.lang.String BAMBOO_ADMIN_FIRSTNAME
           
protected static java.lang.String BAMBOO_ADMIN_FULL_NAME
           
protected static java.lang.String BAMBOO_ADMIN_LASTNAME
           
protected static java.lang.String BAMBOO_ADMIN_PASSWORD
           
protected static java.lang.String BAMBOO_ADMIN_USERNAME
           
protected static java.lang.String BAMBOO_ADMINISTRATORS_GROUP
           
protected static java.lang.String BAMBOO_MIXEDCASE_EMAIL
           
protected static java.lang.String BAMBOO_MIXEDCASE_FULLNAME
           
protected static java.lang.String BAMBOO_MIXEDCASE_GROUP
           
protected static java.lang.String BAMBOO_MIXEDCASE_PASSWORD
           
protected static java.lang.String BAMBOO_MIXEDCASE_USERNAME
           
protected static java.lang.String BAMBOO_USERS_GROUP
           
protected static java.lang.String UNLIMITED_LICENSE_KEY
           
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.ApplicationAcceptanceTestCase
ADMIN_PW, baseUrl, context, CROWD_ADMIN_EMAIL_ADDRESS, CROWD_ADMIN_FULLNAME, CROWD_ADMIN_USER, CROWD_ADMINISTRATORS_GROUP, crowdBaseUrl, crowdConsole, crowdContext, crowdPort, crowdResourceBundle, path, port, rootUrl, specProperties
 
Fields inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
logger, tester
 
Constructor Summary
BambooAcceptanceTestCase()
           
 
Method Summary
protected  void adminLoginToBamboo()
           
protected  java.lang.String getApplicationName()
           
protected  java.lang.String getCurrentlyLoggedInBambooUserFullName()
           
protected  java.lang.String getLocalTestPropertiesFileName()
           
protected  java.lang.String getResourceBundleName()
           
protected  void gotoBrowseGroups()
           
protected  void gotoBrowseUsers()
           
protected  java.lang.String loginToBamboo(java.lang.String username, java.lang.String password)
           
protected  void logoutFromBamboo()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.ApplicationAcceptanceTestCase
getCrowdHome, getCurrentlyLoggedInCrowdUserFullName, getTestProperty, loginToCrowd, loginToCrowd, logoutFromCrowd, restoreBaseSetup, restoreCrowdFromXML, setUp, useApp, useCrowd, verifyGroupDoesNotExistInCrowd, verifyGroupExistsInCrowd, verifyUserDoesNotExistInCrowd, verifyUserExistsInCrowd
 
Methods inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
addRequestHeader, assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertErrorPresentWithText, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithImage, assertLinkPresentWithKey, assertLinkPresentWithText, assertLinkPresentWithText, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertServerResponseContains, assertServerResponseDoesNotContain, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTitleEquals, assertTitleEqualsKey, assertTitleMatch, assertWarningAndErrorNotPresent, assertWarningNotPresent, assertWarningPresent, assertWarningPresentWithKey, assertWarningPresentWithText, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithKey, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributeByXPath, getElementTextById, getElementTextByXPath, getFormElementValue, getMessage, getPageSource, getPageText, getServerResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, isTextPresent, log, reset, runBare, saveAs, selectOption, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setRadioButton, setScriptingEnabled, setTestContext, setTester, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, tearDown, uncheckCheckbox, uncheckCheckbox, waitForText, waitForText
 
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
 

Field Detail

BAMBOO_ADMIN_USERNAME

protected static final java.lang.String BAMBOO_ADMIN_USERNAME
See Also:
Constant Field Values

BAMBOO_ADMIN_PASSWORD

protected static final java.lang.String BAMBOO_ADMIN_PASSWORD
See Also:
Constant Field Values

BAMBOO_ADMIN_FIRSTNAME

protected static final java.lang.String BAMBOO_ADMIN_FIRSTNAME
See Also:
Constant Field Values

BAMBOO_ADMIN_LASTNAME

protected static final java.lang.String BAMBOO_ADMIN_LASTNAME
See Also:
Constant Field Values

BAMBOO_ADMIN_FULL_NAME

protected static final java.lang.String BAMBOO_ADMIN_FULL_NAME
See Also:
Constant Field Values

BAMBOO_ADMIN_EMAIL

protected static final java.lang.String BAMBOO_ADMIN_EMAIL
See Also:
Constant Field Values

BAMBOO_ADMINISTRATORS_GROUP

protected static final java.lang.String BAMBOO_ADMINISTRATORS_GROUP
See Also:
Constant Field Values

BAMBOO_USERS_GROUP

protected static final java.lang.String BAMBOO_USERS_GROUP
See Also:
Constant Field Values

UNLIMITED_LICENSE_KEY

protected static final java.lang.String UNLIMITED_LICENSE_KEY
See Also:
Constant Field Values

BAMBOO_MIXEDCASE_USERNAME

protected static final java.lang.String BAMBOO_MIXEDCASE_USERNAME
See Also:
Constant Field Values

BAMBOO_MIXEDCASE_PASSWORD

protected static final java.lang.String BAMBOO_MIXEDCASE_PASSWORD
See Also:
Constant Field Values

BAMBOO_MIXEDCASE_EMAIL

protected static final java.lang.String BAMBOO_MIXEDCASE_EMAIL
See Also:
Constant Field Values

BAMBOO_MIXEDCASE_FULLNAME

protected static final java.lang.String BAMBOO_MIXEDCASE_FULLNAME
See Also:
Constant Field Values

BAMBOO_MIXEDCASE_GROUP

protected static final java.lang.String BAMBOO_MIXEDCASE_GROUP
See Also:
Constant Field Values
Constructor Detail

BambooAcceptanceTestCase

public BambooAcceptanceTestCase()
Method Detail

getResourceBundleName

protected java.lang.String getResourceBundleName()
Specified by:
getResourceBundleName in class ApplicationAcceptanceTestCase

getApplicationName

protected java.lang.String getApplicationName()
Specified by:
getApplicationName in class ApplicationAcceptanceTestCase

getLocalTestPropertiesFileName

protected java.lang.String getLocalTestPropertiesFileName()
Specified by:
getLocalTestPropertiesFileName in class ApplicationAcceptanceTestCase

gotoBrowseUsers

protected void gotoBrowseUsers()

gotoBrowseGroups

protected void gotoBrowseGroups()

loginToBamboo

protected java.lang.String loginToBamboo(java.lang.String username,
                                         java.lang.String password)

logoutFromBamboo

protected void logoutFromBamboo()

adminLoginToBamboo

protected void adminLoginToBamboo()

getCurrentlyLoggedInBambooUserFullName

protected java.lang.String getCurrentlyLoggedInBambooUserFullName()


Copyright © 2010 Atlassian. All Rights Reserved.