com.atlassian.crowd.acceptance.tests.applications.crowd.legacy
Class BaseLegacyXmlRestoreTest

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.applications.crowd.CrowdAcceptanceTestCase
                  extended by com.atlassian.crowd.acceptance.tests.applications.crowd.legacy.BaseLegacyXmlRestoreTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
Crowd10XmlRestoreTest, Crowd11XmlRestoreTest, Crowd12XmlRestoreTest, Crowd13XmlRestoreTest, Crowd14XmlRestoreTest, Crowd15XmlRestoreTest, Crowd16XmlRestoreTest, Crowd20XmlRestoreTest

public abstract class BaseLegacyXmlRestoreTest
extends CrowdAcceptanceTestCase


Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase
ADMIN_EMAIL, ADMIN_FULL_NAME, ADMIN_GROUP, ADMIN_PW, ADMIN_USER, CONSOLE_PORT, CONTEXT_PATH, DEVELOPER_LICENSE_KEY, EXPIRED_MAINTENANCE_KEY, HOST, HOST_PATH, logger, specProperties, UNLIMITED_LICENSE_KEY, URL_HOME, WAR_PATH, WORKGROUP_LICENSE_KEY
 
Fields inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
tester
 
Constructor Summary
BaseLegacyXmlRestoreTest()
           
 
Method Summary
protected  java.lang.String backupAndRetrieveXPath(java.lang.String expr)
           
abstract  java.lang.String getLegacyXmlFileName()
           
 void setUp()
           
 void tearDown()
           
 void testBrowseApplications()
           
 void testBrowseDirectories()
           
 void testBrowseGroups()
           
 void testBrowseUsers()
           
 void testConsoleAdminLoginSuccessfull()
           
 void testDisplayNameUpdated()
          Ensures that display names are not blank after an upgrade.
 void testGeneralOptions()
           
 void testLastNameUpdated()
          Ensures that last names are not blank after an upgrade.
 void testLicenseScreen()
           
 void testMailConfiguration()
           
 void testMailTemplate()
           
 void testPasswordUpgraded()
          Ensures that passwords are lazily updated to the Atlassian Security form after an upgrade.
 void testSessionConfig()
           
 void testViewCrowdApplication()
           
 void testViewDemoApplication()
           
 void testViewGroup()
           
 void testViewInternalDirectory()
           
 void testViewLDAPDirectory()
           
 void testViewUser()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase
_getTestProperty, _loginAdminUser, _loginAsUser, _logout, addRole, assertUserInTable, assertUserInTable, assertUserNotInTable, getBaseUrl, getCrowdApplicationPassword, getCrowdContext, getCrowdHome, getText, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAddRole, gotoBackup, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoBrowseRoles, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLdapConnectionPool, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRemovePrincipal, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoSystemInfo, gotoTrustedProxies, gotoViewApplication, gotoViewGroup, gotoViewPrincipal, gotoViewRole, log, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXMLWithoutReloggingIn, restoreCrowdFromXMLWithoutReloggingIn
 
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, 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, 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
 

Constructor Detail

BaseLegacyXmlRestoreTest

public BaseLegacyXmlRestoreTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class CrowdAcceptanceTestCase
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class CrowdAcceptanceTestCase
Throws:
java.lang.Exception

getLegacyXmlFileName

public abstract java.lang.String getLegacyXmlFileName()

testConsoleAdminLoginSuccessfull

public void testConsoleAdminLoginSuccessfull()

testBrowseDirectories

public void testBrowseDirectories()

testViewInternalDirectory

public void testViewInternalDirectory()

testViewLDAPDirectory

public void testViewLDAPDirectory()

testBrowseApplications

public void testBrowseApplications()

testViewCrowdApplication

public void testViewCrowdApplication()

testViewDemoApplication

public void testViewDemoApplication()

testBrowseUsers

public void testBrowseUsers()

testViewUser

public void testViewUser()

testBrowseGroups

public void testBrowseGroups()

testViewGroup

public void testViewGroup()

testGeneralOptions

public void testGeneralOptions()

testLicenseScreen

public void testLicenseScreen()

testMailConfiguration

public void testMailConfiguration()

testMailTemplate

public void testMailTemplate()

testSessionConfig

public void testSessionConfig()

testDisplayNameUpdated

public void testDisplayNameUpdated()
                            throws java.lang.Exception
Ensures that display names are not blank after an upgrade.

Throws:
java.lang.Exception

testLastNameUpdated

public void testLastNameUpdated()
                         throws java.lang.Exception
Ensures that last names are not blank after an upgrade.

Throws:
java.lang.Exception

testPasswordUpgraded

public void testPasswordUpgraded()
                          throws java.lang.Exception
Ensures that passwords are lazily updated to the Atlassian Security form after an upgrade.

Throws:
java.lang.Exception

backupAndRetrieveXPath

protected java.lang.String backupAndRetrieveXPath(java.lang.String expr)
                                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 Atlassian. All Rights Reserved.