Class LicensingTestBase
java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
com.atlassian.crowd.acceptance.tests.applications.crowd.LicensingTestBase
- Direct Known Subclasses:
LicensesTest
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final long
final MockServerRule
protected static final com.fasterxml.jackson.databind.ObjectMapper
Fields inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
applinksClient, 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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
protected abstract org.mockserver.client.MockServerClient
protected void
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, expectState, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXML, setUp, waitForUrl, waitUntilAsyncFinished
-
Field Details
-
APPLINK_NAME
- See Also:
-
APPLINK_TYPE
- See Also:
-
APPLINK_RPC_PATH
- See Also:
-
JIRA_APPLICATION_ID
protected static final long JIRA_APPLICATION_ID- See Also:
-
OBJECT_MAPPER
protected static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER -
mockServerRule
-
-
Constructor Details
-
LicensingTestBase
public LicensingTestBase()
-
-
Method Details
-
setUpApplicationLinkAndSynchronise
protected void setUpApplicationLinkAndSynchronise() -
getLicensingStatus
-
getMockServerClient
protected abstract org.mockserver.client.MockServerClient getMockServerClient() -
createLicenseTierInfo
protected static com.atlassian.plugins.license.entity.LicenseTierInfoEntity createLicenseTierInfo(String applicationDisplayName, LocalDateTime expiryDate, ApplicationSubtype applicationSubtype, long licenseTier) -
createVersion
protected static com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity createVersion(long versionId, long maximumNumberOfUsers, long startedTime, long finishedTime)
-