com.atlassian.crowd.acceptance.tests.console
Class ViewDirectoryTest

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.console.CrowdAcceptanceTestCase
                  extended by com.atlassian.crowd.acceptance.tests.console.ViewDirectoryTest
All Implemented Interfaces:
junit.framework.Test

public class ViewDirectoryTest
extends CrowdAcceptanceTestCase

Tests to look at updating Crowd directories


Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.console.CrowdAcceptanceTestCase
ADMIN_EMAIL, ADMIN_FULL_NAME, ADMIN_GROUP, ADMIN_PW, ADMIN_USER, CONSOLE_PORT, CONTEXT_PATH, 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
ViewDirectoryTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testUpdateConnectorConfigurationRolesDisabled()
           
 void testUpdateConnectorDirectoryConfigurationScreen()
           
 void testUpdateConnectorDirectoryConfigurationScreenError()
           
 void testUpdateConnectorDirectoryConnectionScreen()
           
 void testUpdateConnectorDirectoryConnectionScreenError()
           
 void testUpdateConnectorDirectoryConnectionScreenWithPwdEncryption()
           
 void testUpdateConnectorDirectoryGeneralScreen()
           
 void testUpdateConnectorDirectoryGeneralScreenError()
           
 void testUpdateConnectorDirectoryGeneralScreenWithDuplicateDirectoryName()
           
 void testUpdateConnectorDirectoryPermissionScreen()
           
 void testUpdateCustomDirectoryAttributesAddMultipleValuesForAttribute()
           
 void testUpdateCustomDirectoryAttributesAddNewAttribute()
           
 void testUpdateCustomDirectoryAttributesRemovingAttribute()
           
 void testUpdateCustomDirectoryAttributesWithError()
           
 void testUpdateCustomDirectoryGeneralScreen()
           
 void testUpdateCustomDirectoryGeneralScreenError()
           
 void testUpdateCustomDirectoryGeneralScreenWithDuplicateDirectoryName()
           
 void testUpdateCustomDirectoryPermissionScreen()
           
 void testUpdateDelegatedDirectoryConfigurationScreen()
           
 void testUpdateDelegatedDirectoryConfigurationScreenError()
           
 void testUpdateDelegatedDirectoryConnectionScreen()
           
 void testUpdateDelegatedDirectoryConnectionScreenError()
           
 void testUpdateDelegatedDirectoryConnectionScreenWithPwdEncryption()
           
 void testUpdateDelegatedDirectoryGeneralScreen()
           
 void testUpdateDelegatedDirectoryGeneralScreenError()
           
 void testUpdateDelegatedDirectoryGeneralScreenWithDuplicateDirectoryName()
           
 void testUpdateDelegatedDirectoryPermissionScreen()
           
 void testUpdateInternalDirectoryConfiguration()
           
 void testUpdateInternalDirectoryConfigurationScreenErrors()
           
 void testUpdateInternalDirectoryGeneralScreen()
           
 void testUpdateInternalDirectoryGeneralScreenError()
           
 void testUpdateInternalDirectoryGeneralScreenWithDuplicateDirectoryName()
           
 void testUpdateInternalDirectoryPermissions()
           
 void testUpdatePagedResultsOnConnectorDirectoryWithInvalidAmount()
           
 void testUpdatePagedResultsOnConnectorDirectoryWithValidAmount()
           
 void testViewConnectorDirectoryFlushLoadedCache()
           
 void testViewConnectorDirectoryHasCacheInitialisedNotLoaded()
           
 void testViewConnectorDirectoryHasCacheLoaded()
           
 void testViewConnectorDirectoryHasCacheNotInitialised()
           
 void testViewConnectorDirectoryHasNoCache()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.console.CrowdAcceptanceTestCase
_getTestProperty, _loginAdminUser, _logout, addRole, getBaseUrl, getCrowdContext, getCrowdHome, getText, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAddRole, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoBrowseRoles, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoTrustedProxies, gotoViewApplication, gotoViewGroup, gotoViewPrincipal, gotoViewRole, log, restoreBaseSetup, restoreCrowdFromXML
 
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, getServerResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, 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
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewDirectoryTest

public ViewDirectoryTest()
Method Detail

setUp

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

testUpdateInternalDirectoryGeneralScreen

public void testUpdateInternalDirectoryGeneralScreen()

testUpdateInternalDirectoryConfiguration

public void testUpdateInternalDirectoryConfiguration()

testUpdateInternalDirectoryPermissions

public void testUpdateInternalDirectoryPermissions()

testUpdateInternalDirectoryGeneralScreenError

public void testUpdateInternalDirectoryGeneralScreenError()

testUpdateInternalDirectoryGeneralScreenWithDuplicateDirectoryName

public void testUpdateInternalDirectoryGeneralScreenWithDuplicateDirectoryName()

testUpdateInternalDirectoryConfigurationScreenErrors

public void testUpdateInternalDirectoryConfigurationScreenErrors()

testUpdateConnectorDirectoryGeneralScreen

public void testUpdateConnectorDirectoryGeneralScreen()

testViewConnectorDirectoryHasNoCache

public void testViewConnectorDirectoryHasNoCache()

testViewConnectorDirectoryHasCacheNotInitialised

public void testViewConnectorDirectoryHasCacheNotInitialised()

testViewConnectorDirectoryHasCacheInitialisedNotLoaded

public void testViewConnectorDirectoryHasCacheInitialisedNotLoaded()

testViewConnectorDirectoryHasCacheLoaded

public void testViewConnectorDirectoryHasCacheLoaded()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testViewConnectorDirectoryFlushLoadedCache

public void testViewConnectorDirectoryFlushLoadedCache()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateConnectorDirectoryGeneralScreenError

public void testUpdateConnectorDirectoryGeneralScreenError()

testUpdateConnectorDirectoryGeneralScreenWithDuplicateDirectoryName

public void testUpdateConnectorDirectoryGeneralScreenWithDuplicateDirectoryName()

testUpdateConnectorDirectoryConnectionScreen

public void testUpdateConnectorDirectoryConnectionScreen()

testUpdateConnectorDirectoryConnectionScreenWithPwdEncryption

public void testUpdateConnectorDirectoryConnectionScreenWithPwdEncryption()

testUpdateConnectorDirectoryConnectionScreenError

public void testUpdateConnectorDirectoryConnectionScreenError()

testUpdateConnectorDirectoryConfigurationScreen

public void testUpdateConnectorDirectoryConfigurationScreen()

testUpdateConnectorDirectoryConfigurationScreenError

public void testUpdateConnectorDirectoryConfigurationScreenError()

testUpdateConnectorConfigurationRolesDisabled

public void testUpdateConnectorConfigurationRolesDisabled()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateConnectorDirectoryPermissionScreen

public void testUpdateConnectorDirectoryPermissionScreen()

testUpdateDelegatedDirectoryGeneralScreen

public void testUpdateDelegatedDirectoryGeneralScreen()

testUpdateDelegatedDirectoryGeneralScreenError

public void testUpdateDelegatedDirectoryGeneralScreenError()

testUpdateDelegatedDirectoryGeneralScreenWithDuplicateDirectoryName

public void testUpdateDelegatedDirectoryGeneralScreenWithDuplicateDirectoryName()

testUpdateDelegatedDirectoryConnectionScreen

public void testUpdateDelegatedDirectoryConnectionScreen()

testUpdateDelegatedDirectoryConnectionScreenWithPwdEncryption

public void testUpdateDelegatedDirectoryConnectionScreenWithPwdEncryption()

testUpdateDelegatedDirectoryConnectionScreenError

public void testUpdateDelegatedDirectoryConnectionScreenError()

testUpdateDelegatedDirectoryConfigurationScreen

public void testUpdateDelegatedDirectoryConfigurationScreen()

testUpdateDelegatedDirectoryConfigurationScreenError

public void testUpdateDelegatedDirectoryConfigurationScreenError()

testUpdateDelegatedDirectoryPermissionScreen

public void testUpdateDelegatedDirectoryPermissionScreen()

testUpdateCustomDirectoryGeneralScreen

public void testUpdateCustomDirectoryGeneralScreen()

testUpdateCustomDirectoryGeneralScreenError

public void testUpdateCustomDirectoryGeneralScreenError()

testUpdateCustomDirectoryGeneralScreenWithDuplicateDirectoryName

public void testUpdateCustomDirectoryGeneralScreenWithDuplicateDirectoryName()

testUpdateCustomDirectoryAttributesAddNewAttribute

public void testUpdateCustomDirectoryAttributesAddNewAttribute()

testUpdateCustomDirectoryAttributesAddMultipleValuesForAttribute

public void testUpdateCustomDirectoryAttributesAddMultipleValuesForAttribute()

testUpdateCustomDirectoryAttributesWithError

public void testUpdateCustomDirectoryAttributesWithError()

testUpdateCustomDirectoryAttributesRemovingAttribute

public void testUpdateCustomDirectoryAttributesRemovingAttribute()

testUpdateCustomDirectoryPermissionScreen

public void testUpdateCustomDirectoryPermissionScreen()

testUpdatePagedResultsOnConnectorDirectoryWithInvalidAmount

public void testUpdatePagedResultsOnConnectorDirectoryWithInvalidAmount()

testUpdatePagedResultsOnConnectorDirectoryWithValidAmount

public void testUpdatePagedResultsOnConnectorDirectoryWithValidAmount()

tearDown

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.