public abstract class ApplicationsImplTestBase<T extends Entity> extends ApiImplTestBaseWithCreateAndUpdate<T>
| Modifier and Type | Field and Description |
|---|---|
protected static Links |
APP_LINKS |
protected static Application |
APP_REP |
protected static ApplicationVersion |
APP_VER_REP |
protected static Links |
APPS_LINKS |
protected static InternalModel.Applications |
APPS_REP |
protected static String |
FAKE_APP_BY_KEY_PATH |
protected static String |
FAKE_APP_LATEST_PATH |
protected static String |
FAKE_APP_VER_PATH |
protected static String |
FAKE_APP_VERSIONS_PATH |
tester| Constructor and Description |
|---|
ApplicationsImplTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected UriBuilder |
appByKeyUri(ApplicationKey key) |
protected UriBuilder |
appsApi() |
protected UriBuilder |
appsApiZeroLengthQuery() |
protected UriBuilder |
latestVersionUri(ApplicationKey key) |
protected void |
setupAppByKeyResource(UriBuilder uri) |
protected void |
setupAppsResource(UriBuilder appsUri) |
protected void |
setupAppsResource(UriBuilder appsUri,
InternalModel.Applications rep) |
protected void |
setupAppVersionResource(ApplicationKey key,
UriBuilder uri) |
protected UriBuilder |
versionByBuildUri(ApplicationKey key,
int buildNumber) |
protected UriBuilder |
versionByNameUri(ApplicationKey key,
String name) |
createEntity, createPostsToCollectionResource, createReturnsNewEntity, createThrowsExceptionIfServerReturnsError, getCollectionUri, makeEntityFromServer, makeEntityToCreate, makeEntityWithUpdates, setUp, updateEntity, updateReturnsNewEntity, updateSendsPatchRequest, updateThrowsExceptionIfFinalQueryOfUpdatedEntityFails, updateThrowsExceptionIfOriginalEntityIsNotFromServer, updateThrowsExceptionIfServerReturnsErrorprotected static final String FAKE_APP_BY_KEY_PATH
protected static final String FAKE_APP_LATEST_PATH
protected static final String FAKE_APP_VER_PATH
protected static final String FAKE_APP_VERSIONS_PATH
protected static final Links APP_LINKS
protected static final Application APP_REP
protected static final ApplicationVersion APP_VER_REP
protected static final Links APPS_LINKS
protected static final InternalModel.Applications APPS_REP
protected UriBuilder appsApi()
protected UriBuilder appsApiZeroLengthQuery()
protected UriBuilder appByKeyUri(ApplicationKey key)
protected void setupAppsResource(UriBuilder appsUri) throws Exception
Exceptionprotected void setupAppsResource(UriBuilder appsUri, InternalModel.Applications rep) throws Exception
Exceptionprotected void setupAppByKeyResource(UriBuilder uri) throws Exception
Exceptionprotected UriBuilder latestVersionUri(ApplicationKey key)
protected UriBuilder versionByBuildUri(ApplicationKey key, int buildNumber)
protected UriBuilder versionByNameUri(ApplicationKey key, String name)
protected void setupAppVersionResource(ApplicationKey key, UriBuilder uri) throws Exception
ExceptionCopyright © 2016 Atlassian. All rights reserved.