public abstract class LicensingTestBase extends CrowdWebDriverTest
Modifier and Type | Field and Description |
---|---|
protected static String |
APPLINK_NAME |
protected static String |
APPLINK_RPC_PATH |
protected static String |
APPLINK_TYPE |
protected static long |
JIRA_APPLICATION_ID |
org.mockserver.junit.MockServerRule |
mockServerRule |
protected static com.fasterxml.jackson.databind.ObjectMapper |
OBJECT_MAPPER |
BACKUP_RESOURCE, BATCHED_TEST_RULE, COOKIE_ABSENT, i18n, IMMUTABLE_USER_NAME, IMMUTABLE_USER_PW, JSESSIONID_COOKIE, log, logPageSourceRule, REMEMBER_ME_COOKIE, restAdminClient, retryRule, SSO_COOKIE, TEST_USER_NAME, TEST_USER_PW, testedProduct, testkitClient, testName, webDriverScreenshotRule, windowSizeRule
Constructor and Description |
---|
LicensingTestBase() |
Modifier and Type | Method and Description |
---|---|
protected static com.atlassian.plugins.entity.DirectoryInformationEntity |
createDirectoryInformation(long crowdDirectoryId,
long directoryId,
String directoryName,
boolean isRemoteCrowdDirectory) |
protected static com.atlassian.plugins.entity.LicenseTierInfoEntity |
createLicenseTierInfo(String applicationDisplayName,
LocalDateTime expiryDate,
ApplicationSubtype applicationSubtype,
long licenseTier) |
protected static com.atlassian.plugins.entity.LicensedUserInfoEntity |
createUser(String username,
String displayName,
LocalDateTime lastLoginDate,
long crowdDirectoryId,
long directoryId,
String applicationKey,
String email) |
protected static com.atlassian.plugins.entity.SynchronizableVersionInfoEntity |
createVersion(long versionId,
long maximumNumberOfUsers,
long startedTime,
long finishedTime) |
protected ApplicationLicensingStatus |
getLicensingStatus() |
protected abstract org.mockserver.client.MockServerClient |
getMockServerClient() |
protected void |
setUpApplicationLinkAndSynchronise() |
assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, getBaseUrl, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyData, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, setUp, waitForUrl
protected static final String APPLINK_NAME
protected static final String APPLINK_TYPE
protected static final String APPLINK_RPC_PATH
protected static final long JIRA_APPLICATION_ID
protected static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
public final org.mockserver.junit.MockServerRule mockServerRule
protected void setUpApplicationLinkAndSynchronise()
protected ApplicationLicensingStatus getLicensingStatus()
protected abstract org.mockserver.client.MockServerClient getMockServerClient()
protected static com.atlassian.plugins.entity.LicenseTierInfoEntity createLicenseTierInfo(String applicationDisplayName, LocalDateTime expiryDate, ApplicationSubtype applicationSubtype, long licenseTier)
protected static com.atlassian.plugins.entity.DirectoryInformationEntity createDirectoryInformation(long crowdDirectoryId, long directoryId, String directoryName, boolean isRemoteCrowdDirectory)
protected static com.atlassian.plugins.entity.SynchronizableVersionInfoEntity createVersion(long versionId, long maximumNumberOfUsers, long startedTime, long finishedTime)
protected static com.atlassian.plugins.entity.LicensedUserInfoEntity createUser(String username, String displayName, LocalDateTime lastLoginDate, long crowdDirectoryId, long directoryId, String applicationKey, String email)
Copyright © 2020 Atlassian. All rights reserved.