public abstract class AddonsImplTestBase<T extends Entity> extends ApiImplTestBaseWithCreateAndUpdate<T>
tester| Constructor and Description |
|---|
AddonsImplTestBase() |
createEntity, createPostsToCollectionResource, createReturnsNewEntity, createThrowsExceptionIfServerReturnsError, getCollectionUri, makeEntityFromServer, makeEntityToCreate, makeEntityWithUpdates, setUp, updateEntity, updateReturnsNewEntity, updateSendsPatchRequest, updateThrowsExceptionIfFinalQueryOfUpdatedEntityFails, updateThrowsExceptionIfOriginalEntityIsNotFromServer, updateThrowsExceptionIfServerReturnsErrorprotected static final String FAKE_ADDON_BY_KEY_PATH
protected static final String FAKE_ADDON_VERSIONS_PATH
protected static final String FAKE_TOKENS_PATH
protected static final String FAKE_LATEST_VERSION_PATH
protected static final String FAKE_PRICING_TEMPLATE
protected static final String FAKE_BANNERS_PATH
protected static final String FAKE_RECOMMENDATIONS_PATH
protected static final Links ADDONS_LINKS
protected static final Links ADDON_VERSIONS_LINKS
protected static final Links TOKENS_LINKS
protected static final Links ADDON_LINKS
protected static final Addon ADDON_REP
protected static final AddonSummary ADDON_SUMMARY_REP
protected static final AddonReference ADDON_REF_REP
protected static final AddonVersion ADDON_VERSION_REP
protected static final InternalModel.Addons ADDONS_REP
protected static final InternalModel.Addons ADDONS_REP_WITH_NEXT
protected static final InternalModel.Addons ADDONS_REP_WITH_PREV
protected static final InternalModel.AddonVersions ADDON_VERSIONS_REP
protected static final InternalModel.AddonReferences BANNERS_REP
protected static final InternalModel.AddonReferences RECOMMENDATIONS_REP
protected static final InternalModel.MinimalLinks TOKENS_REP
protected UriBuilder addonsApi()
protected UriBuilder addonsApiZeroLengthQuery()
protected UriBuilder addonByKeyUri(String key)
protected UriBuilder addonVersionZeroLengthQuery()
protected UriBuilder latestVersionUri(String key)
protected UriBuilder recommendationsUri()
protected UriBuilder tokensUri()
protected UriBuilder bannersApi()
protected void setupAddonsResource(UriBuilder addonsUri) throws Exception
Exceptionprotected void setupAddonsResource(UriBuilder addonsUri, InternalModel.Addons rep) throws Exception
Exceptionprotected void setupAddonBannersResource(UriBuilder addonsUri) throws Exception
Exceptionprotected void setupAddonBannersResource(UriBuilder addonsUri, InternalModel.AddonReferences rep) throws Exception
Exceptionprotected void setupAddonByKeyResource(UriBuilder uri) throws Exception
Exceptionprotected void setupLatestVersionResource(String addonKey, UriBuilder uri) throws Exception
Exceptionprotected void setupRecommendationsResource(String addonKey, UriBuilder uri) throws Exception
ExceptionCopyright © 2016 Atlassian. All rights reserved.