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 |
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, REMEMBER_ME_COOKIE, restAdminClient, SSO_COOKIE, TEST_USER_DISPLAYNAME, TEST_USER_NAME, TEST_USER_PW, testedProduct, testkitClient, webDriverRules
Constructor and Description |
---|
LicensingTestBase() |
Modifier and Type | Method and Description |
---|---|
protected static com.atlassian.plugins.license.entity.LicenseTierInfoEntity |
createLicenseTierInfo(String applicationDisplayName,
LocalDateTime expiryDate,
ApplicationSubtype applicationSubtype,
long licenseTier) |
protected static com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity |
createVersion(long versionId,
long maximumNumberOfUsers,
long startedTime,
long finishedTime) |
protected ApplicationLicensingStatus |
getLicensingStatus() |
protected abstract org.mockserver.client.MockServerClient |
getMockServerClient() |
protected void |
setUpApplicationLinkAndSynchronise() |
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, expectState, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyData, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, setUp, waitForUrl, waitUntilAsyncFinished
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 MockServerRule mockServerRule
protected void setUpApplicationLinkAndSynchronise()
protected ApplicationLicensingStatus getLicensingStatus()
protected abstract org.mockserver.client.MockServerClient getMockServerClient()
protected static com.atlassian.plugins.license.entity.LicenseTierInfoEntity createLicenseTierInfo(String applicationDisplayName, LocalDateTime expiryDate, ApplicationSubtype applicationSubtype, long licenseTier)
protected static com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity createVersion(long versionId, long maximumNumberOfUsers, long startedTime, long finishedTime)
Copyright © 2021 Atlassian. All rights reserved.