public abstract class CrowdEntityQueryParserTest extends CrowdAcceptanceTestCase
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN |
static String |
ALICE |
static String |
BOB |
static String |
CONF_ADMIN_GROUP |
static String |
CONF_USER_GROUP |
static String |
CONFADMIN |
static String |
CROWD_ADMIN_GROUP |
protected static CrowdEntityQueryParser |
queryParser |
static String |
SHIHAB |
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
Constructor and Description |
---|
CrowdEntityQueryParserTest() |
_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, tearDown
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
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
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
protected static CrowdEntityQueryParser queryParser
public static final String ADMIN
public static final String ALICE
public static final String BOB
public static final String CONFADMIN
public static final String SHIHAB
public static final String CROWD_ADMIN_GROUP
public static final String CONF_USER_GROUP
public static final String CONF_ADMIN_GROUP
public void setUp() throws Exception
setUp
in class CrowdAcceptanceTestCase
Exception
protected abstract boolean hasBeenSetUpOnce()
protected void setUpOnce() throws Exception
Exception
public void testSearchAllUsers() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsername_manyMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsername_oneMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsername_noMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchEmail_oneMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchEmail_manyMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchEmail_noMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchFullname_oneMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchFullname_manyMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchFullname_noMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsernameAndEmailAndFullname_oneMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsernameAndEmailAndFullname_manyMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsernameAndEmailAndFullname_noMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsernameOrEmailOrFullname_oneMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsernameOrEmailOrFullname_manyMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchUsernameOrEmailOrFullname_noMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchGroups_allGroups() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchGroups_oneMatch() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchGroups_manyMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testSearchGroups_noMatches() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
protected void assertNoResults(com.atlassian.user.search.SearchResult result)
protected void assertResultContains(com.atlassian.user.search.SearchResult result, String name)
protected void assertResultContains(com.atlassian.user.search.SearchResult result, String... names)
protected void assertResultConsistsOf(com.atlassian.user.search.SearchResult result, String... names)
Copyright © 2013 Atlassian. All Rights Reserved.