com.atlassian.crowd.acceptance.tests.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.bamboo.BambooAcceptanceTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BambooGroupBrowserTest, BambooGroupMutationTest, BambooSingleSignOnTest, BambooUserBrowserTest, BambooUserMutationTest, SetupBambooTest

public class BambooAcceptanceTestCase
extends ApplicationAcceptanceTestCase


Field Summary
protected static String BAMBOO_ADMIN_EMAIL
           
protected static String BAMBOO_ADMIN_FIRSTNAME
           
protected static String BAMBOO_ADMIN_FULL_NAME
           
protected static String BAMBOO_ADMIN_LASTNAME
           
protected static String BAMBOO_ADMIN_PASSWORD
           
protected static String BAMBOO_ADMIN_USERNAME
           
protected static String BAMBOO_ADMINISTRATORS_GROUP
           
protected static String BAMBOO_USERS_GROUP
           
protected static 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  String getApplicationName()
           
protected  String getCurrentlyLoggedInBambooUserFullName()
           
protected  String getLocalTestPropertiesFileName()
           
protected  String getResourceBundleName()
           
protected  void gotoBrowseGroups()
           
protected  void gotoBrowseUsers()
           
protected  String loginToBamboo(String username, 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, 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, getElementAttributByXPath, getElementTextByXPath, getFormElementValue, getMessage, getPageSource, getPageText, getServerResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, 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
 
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 String BAMBOO_ADMIN_USERNAME
See Also:
Constant Field Values

BAMBOO_ADMIN_PASSWORD

protected static final String BAMBOO_ADMIN_PASSWORD
See Also:
Constant Field Values

BAMBOO_ADMIN_FIRSTNAME

protected static final String BAMBOO_ADMIN_FIRSTNAME
See Also:
Constant Field Values

BAMBOO_ADMIN_LASTNAME

protected static final String BAMBOO_ADMIN_LASTNAME
See Also:
Constant Field Values

BAMBOO_ADMIN_FULL_NAME

protected static final String BAMBOO_ADMIN_FULL_NAME
See Also:
Constant Field Values

BAMBOO_ADMIN_EMAIL

protected static final String BAMBOO_ADMIN_EMAIL
See Also:
Constant Field Values

BAMBOO_ADMINISTRATORS_GROUP

protected static final String BAMBOO_ADMINISTRATORS_GROUP
See Also:
Constant Field Values

BAMBOO_USERS_GROUP

protected static final String BAMBOO_USERS_GROUP
See Also:
Constant Field Values

UNLIMITED_LICENSE_KEY

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

BambooAcceptanceTestCase

public BambooAcceptanceTestCase()
Method Detail

getResourceBundleName

protected String getResourceBundleName()
Specified by:
getResourceBundleName in class ApplicationAcceptanceTestCase

getApplicationName

protected String getApplicationName()
Specified by:
getApplicationName in class ApplicationAcceptanceTestCase

getLocalTestPropertiesFileName

protected String getLocalTestPropertiesFileName()
Specified by:
getLocalTestPropertiesFileName in class ApplicationAcceptanceTestCase

gotoBrowseUsers

protected void gotoBrowseUsers()

gotoBrowseGroups

protected void gotoBrowseGroups()

loginToBamboo

protected String loginToBamboo(String username,
                               String password)

logoutFromBamboo

protected void logoutFromBamboo()

adminLoginToBamboo

protected void adminLoginToBamboo()

getCurrentlyLoggedInBambooUserFullName

protected String getCurrentlyLoggedInBambooUserFullName()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.