public abstract class ApplicationsImplVersionsTest extends ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion> implements ApplicationsImplTestBase
testerAPP_LINKS, APP_REP, APP_VER_REP, APPS_LINKS, APPS_REP, FAKE_APP_BY_KEY_PATH, FAKE_APP_LATEST_PATH, FAKE_APP_VER_PATH, FAKE_APP_VERSIONS_PATH| Constructor and Description |
|---|
ApplicationsImplVersionsTest() |
createPostsToCollectionResource, createReturnsNewEntity, createThrowsExceptionIfServerReturnsError, setUp, transformEntityUriAfterCreate, updateQueriesNewEntityWithNoCaching, updateReturnsNewEntity, updateSendsPatchRequest, updateThrowsExceptionIfFinalQueryOfUpdatedEntityFails, updateThrowsExceptionIfOriginalEntityIsNotFromServer, updateThrowsExceptionIfServerReturnsErrorpublic void getVersionUsesApplicationsResource()
throws Exception
Exceptionpublic void getLatestVersionUsesLatestVersionResource()
throws Exception
Exceptionpublic void getVersionByBuildUsesVersionByBuildResource()
throws Exception
Exceptionpublic void getVersionByNameUsesVersionByNameResource()
throws Exception
Exceptionprotected URI getCollectionUri()
getCollectionUri in class ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion>protected ApplicationVersion makeEntityToCreate()
makeEntityToCreate in class ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion>protected ApplicationVersion makeEntityFromServer()
makeEntityFromServer in class ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion>protected ApplicationVersion makeEntityWithUpdates(ApplicationVersion from)
makeEntityWithUpdates in class ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion>protected ApplicationVersion createEntity(ApplicationVersion entity) throws Exception
createEntity in class ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion>Exceptionprotected ApplicationVersion updateEntity(ApplicationVersion original, ApplicationVersion updated) throws MpacException
updateEntity in class ApiImplTestBaseWithCreateAndUpdate<ApplicationVersion>MpacExceptionprotected 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.