com.atlassian.crowd.acceptance.tests.applications.crowd
Class AddDirectoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sourceforge.jwebunit.junit.WebTestCase
              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.AddDirectoryTest
All Implemented Interfaces:
junit.framework.Test

public class AddDirectoryTest
extends CrowdAcceptanceTestCase

Test to look at adding multiple directory types Roles are disabled by default


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, DEVELOPER_LICENSE_KEY, EXPIRED_MAINTENANCE_KEY, HOST_PATH, logger, specProperties, UNLIMITED_LICENSE_KEY, URL_HOME, WORKGROUP_LICENSE_KEY
 
Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase
customTester, tester
 
Constructor Summary
AddDirectoryTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAddConnectorDirectoryTestSearch()
           
 void testAddConnectorDirectoryTestSearchInvalid()
           
 void testAddConnectorDirectoryWithAnonymousAccess()
           
 void testAddConnectorDirectoryWithBadDnShowsSpecificError()
           
 void testAddConnectorDirectoryWithoutAttributes()
           
 void testAddConnectorDirectoryWithPwdEncryption()
           
 void testAddConnectorDirectoryWithUsernameAndPassword()
           
 void testAddConnectorDirectoryWithUseUserMembershipAttribute()
           
 void testAddConnectorDirectoryWithUseUserMembershipAttributeForGroupMembership()
           
 void testAddConnectorSetDefaultValuesForConfigurationProperties()
           
 void testAddCustomDirectory()
           
 void testAddCustomDirectoryWithBadImplementationClass()
           
 void testAddCustomDirectoryWithoutAttributes()
           
 void testAddDelegatedDirectory()
           
 void testAddDelegatedDirectoryPageResultsEnabledForActiveDirectory()
           
 void testAddDelegatedDirectoryTestSearch()
           
 void testAddDelegatedDirectoryTestSearchInvalid()
           
 void testAddDelegatedDirectoryWithPagedResultsNotSpecified()
           
 void testAddDelegatedDirectoryWithPagedResultsSpecified()
           
 void testAddDelegatedDirectoryWithPwdEncryption()
           
 void testAddDelegatingDirectoryWithoutAttributes()
           
 void testAddInactiveConnectorDirectory()
          Tests that adding an inactive directory will not show any information about the synchronisation including the "Synchronise now" button.
 void testAddInactiveRemoteCrowdDirectory()
          Tests that adding an inactive directory will not show any information about the synchronisation including the "Synchronise now" button.
 void testAddInternalDirectory()
           
 void testAddInternalDirectoryHasAtlassianSecurityAsDefaultEncryption()
           
 void testAddInternalDirectoryWithoutName()
           
 void testAddRemoteCrowdDirectory_ManualConnectionTestShouldRetainPassword()
           
 void testAddRemoteCrowdDirectory_ShouldTestConnectionBeforeSaving()
           
 void testAddRemoteCrowdDirectoryWithVariousOptions()
           
 void testBaseDNMandatoryForAllDirectoriesExceptGenericLDAP()
           
 void testBaseDnMandatoryForAllDirectoriesExceptGenericLDAPForDelegatedAuthentication()
           
 void testBaseDNOptionalForGenericLDAP()
           
 void testBaseDNOptionalForGenericLDAPForDelegatedAuthentication()
           
 void testOnlyActiveDirectoryHasLocalUserStatusOption()
           
 void testTestConfigurationShouldPersistPassword()
           
 void testTestConfigurationShouldPersistPasswordForDelegatedDirectory()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdAcceptanceTestCase
_loginAdminUser, _loginAsUser, _logout, assertUnescapedKeyNotPresent, assertUnescapedKeyPresent, assertUserInTable, assertUserInTable, assertUserNotInTable, getBaseUrl, getCrowdApplicationPassword, getCrowdHome, getText, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAdministrationPage, gotoBackup, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLdapConnectionPool, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRemovePrincipal, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoSystemInfo, gotoTrustedProxies, gotoViewApplication, gotoViewGroup, gotoViewPrincipal, intendToModifyData, intendToModifyLdapData, log, restoreBaseSetup, restoreCrowdFromXML, submitLoginForm, submitLoginFormAsAdminUser
 
Methods inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase
addRequestHeader, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertKeyInElement, assertKeyPresent, assertKeyPresent, assertKeyPresent, assertKeyPresentOnce, assertLinkPresentWithKey, assertServerResponseContains, assertServerResponseDoesNotContain, assertSuccessPresent, assertTextPresent, assertWarningAndErrorNotPresent, assertWarningNotPresent, assertWarningPresent, clickLinkWithKey, getElementTextById, getPageText, isTextPresent, scrapeTable, scrapeTable, setRadioButton, setTester, waitFor, waitForElementById, waitForElementByXPath, waitForText, waitForText
 
Methods inherited from class net.sourceforge.jwebunit.junit.WebTestCase
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCommentNotPresent, assertCommentPresent, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHeaderEquals, assertHeaderMatches, assertHeaderNotPresent, assertHeaderPresent, assertHiddenFieldPresent, assertImagePresent, assertImagePresentPartial, assertImageValid, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLabeledFieldEquals, assertLabelMatches, assertLabelPresent, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithImage, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithText, assertMatch, assertMatch, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertNotMatch, assertNotMatch, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertResponseCode, assertResponseCodeBetween, assertSelectedOptionEquals, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertSelectOptionValuesPresent, 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, assertTitleEqualsKey, assertTitleMatch, assertTitleNotEquals, assertTitleNotSame, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getAllHeaders, getComments, getDialog, getElementAttributByXPath, getElementAttributeByXPath, getElementById, getElementByXPath, getElementsByXPath, getElementTextByXPath, getFieldsForLabel, getFormElementValue, getHeader, getImage, getLabeledFieldValue, getMessage, getMessage, getPageSource, getResponseHeaders, getServerResponse, getServeurResponse, getTable, getTestContext, getTester, getTestingEngine, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, reset, runBare, saveAs, selectOption, selectOption, selectOptionByValue, selectOptionByValue, selectOptions, selectOptions, selectOptionsByValues, selectOptionsByValues, setBaseUrl, setBaseUrl, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setHiddenField, setIgnoreFailingStatusCodes, setLabeledFormElementField, setScriptingEnabled, setTestContext, setTestingEngineKey, setTextField, setTimeout, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddDirectoryTest

public AddDirectoryTest()
Method Detail

setUp

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

tearDown

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

testAddInternalDirectory

public void testAddInternalDirectory()

testAddInternalDirectoryHasAtlassianSecurityAsDefaultEncryption

public void testAddInternalDirectoryHasAtlassianSecurityAsDefaultEncryption()

testAddRemoteCrowdDirectory_ShouldTestConnectionBeforeSaving

public void testAddRemoteCrowdDirectory_ShouldTestConnectionBeforeSaving()

testAddRemoteCrowdDirectory_ManualConnectionTestShouldRetainPassword

public void testAddRemoteCrowdDirectory_ManualConnectionTestShouldRetainPassword()

testAddInactiveRemoteCrowdDirectory

public void testAddInactiveRemoteCrowdDirectory()
Tests that adding an inactive directory will not show any information about the synchronisation including the "Synchronise now" button.


testAddRemoteCrowdDirectoryWithVariousOptions

public void testAddRemoteCrowdDirectoryWithVariousOptions()

testAddConnectorSetDefaultValuesForConfigurationProperties

public void testAddConnectorSetDefaultValuesForConfigurationProperties()

testAddConnectorDirectoryWithUsernameAndPassword

public void testAddConnectorDirectoryWithUsernameAndPassword()

testAddConnectorDirectoryWithAnonymousAccess

public void testAddConnectorDirectoryWithAnonymousAccess()

testTestConfigurationShouldPersistPassword

public void testTestConfigurationShouldPersistPassword()

testAddInactiveConnectorDirectory

public void testAddInactiveConnectorDirectory()
Tests that adding an inactive directory will not show any information about the synchronisation including the "Synchronise now" button.


testAddConnectorDirectoryWithPwdEncryption

public void testAddConnectorDirectoryWithPwdEncryption()

testAddInternalDirectoryWithoutName

public void testAddInternalDirectoryWithoutName()

testAddConnectorDirectoryWithoutAttributes

public void testAddConnectorDirectoryWithoutAttributes()

testAddConnectorDirectoryWithBadDnShowsSpecificError

public void testAddConnectorDirectoryWithBadDnShowsSpecificError()

testAddConnectorDirectoryWithUseUserMembershipAttribute

public void testAddConnectorDirectoryWithUseUserMembershipAttribute()

testAddConnectorDirectoryWithUseUserMembershipAttributeForGroupMembership

public void testAddConnectorDirectoryWithUseUserMembershipAttributeForGroupMembership()

testAddConnectorDirectoryTestSearch

public void testAddConnectorDirectoryTestSearch()

testAddConnectorDirectoryTestSearchInvalid

public void testAddConnectorDirectoryTestSearchInvalid()

testAddCustomDirectoryWithoutAttributes

public void testAddCustomDirectoryWithoutAttributes()

testAddCustomDirectoryWithBadImplementationClass

public void testAddCustomDirectoryWithBadImplementationClass()

testAddCustomDirectory

public void testAddCustomDirectory()

testAddDelegatedDirectory

public void testAddDelegatedDirectory()

testTestConfigurationShouldPersistPasswordForDelegatedDirectory

public void testTestConfigurationShouldPersistPasswordForDelegatedDirectory()

testAddDelegatedDirectoryWithPwdEncryption

public void testAddDelegatedDirectoryWithPwdEncryption()

testAddDelegatingDirectoryWithoutAttributes

public void testAddDelegatingDirectoryWithoutAttributes()

testAddDelegatedDirectoryTestSearch

public void testAddDelegatedDirectoryTestSearch()

testAddDelegatedDirectoryTestSearchInvalid

public void testAddDelegatedDirectoryTestSearchInvalid()

testAddDelegatedDirectoryPageResultsEnabledForActiveDirectory

public void testAddDelegatedDirectoryPageResultsEnabledForActiveDirectory()

testAddDelegatedDirectoryWithPagedResultsSpecified

public void testAddDelegatedDirectoryWithPagedResultsSpecified()

testAddDelegatedDirectoryWithPagedResultsNotSpecified

public void testAddDelegatedDirectoryWithPagedResultsNotSpecified()

testBaseDNMandatoryForAllDirectoriesExceptGenericLDAP

public void testBaseDNMandatoryForAllDirectoriesExceptGenericLDAP()

testBaseDnMandatoryForAllDirectoriesExceptGenericLDAPForDelegatedAuthentication

public void testBaseDnMandatoryForAllDirectoriesExceptGenericLDAPForDelegatedAuthentication()

testBaseDNOptionalForGenericLDAP

public void testBaseDNOptionalForGenericLDAP()

testBaseDNOptionalForGenericLDAPForDelegatedAuthentication

public void testBaseDNOptionalForGenericLDAPForDelegatedAuthentication()

testOnlyActiveDirectoryHasLocalUserStatusOption

public void testOnlyActiveDirectoryHasLocalUserStatusOption()


Copyright © 2014 Atlassian. All Rights Reserved.