public class StudyServiceIntegrationTest extends JatosTest
admin, apiToken, application, jpaApi, TEST_RESOURCES_POTATO_COMPASS_JZIP| Constructor and Description |
|---|
StudyServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAddAndRemoveAllUserMember()
StudyService.addAllUserMembers(): adding all users to the members of a study
StudyService.removeAllUserMembers(): remove all users from the members of a study
|
void |
checkBindToStudyWithoutDirName()
StudyService.bindToStudyWithoutDirName(): Update properties of study with
properties of updatedStudy (excluding study's dir name).
|
void |
checkChangeComponentPosition()
StudyService.changeComponentPosition(): change the position of a
component within the study (hint: the first position is 1 and not 0)
|
void |
checkChangeUserMember()
StudyService.changeUserMember(): adding or deletion of the users to the members of a study
|
void |
checkChangeUserMemberAtLeastOne()
StudyService.changeUserMember(): study must have at least one member user
|
void |
checkChangeUserMemberDouble()
StudyService.changeUserMember(): adding or deletion of the same user
twice shouldn't change the outcome
|
void |
checkClone()
StudyService.clone(): clones a study but does not persist.
|
void |
checkCreateAndPersistStudyFromEntity() |
void |
checkCreateAndPersistStudyFromProperties() |
void |
checkGetStudyFromIdOrUuid() |
void |
checkGetStudyFromIdOrUuidNotFound() |
void |
checkRemove()
StudyService.remove()
|
void |
checkRenameStudyAssetsDir()
StudyService.renameStudyAssetsDir()
|
void |
checkUpdateStudy() |
createApiToken, createUser, dropDatabase, getAdmin, getStudy, importAndGetExampleStudy, importExampleStudy, removeAllLogs, removeAllResultUploads, removeAllStudies, removeAllStudyAssets, removeAllStudyLogs, removeUser, startApp, stopApppublic void checkClone()
public void checkChangeUserMember()
public void checkAddAndRemoveAllUserMember()
public void checkChangeUserMemberDouble()
public void checkChangeUserMemberAtLeastOne()
public void checkChangeComponentPosition()
public void checkBindToStudyWithoutDirName()
public void checkRenameStudyAssetsDir()
public void checkRemove()
public void checkCreateAndPersistStudyFromProperties()
public void checkCreateAndPersistStudyFromEntity()
public void checkUpdateStudy()
public void checkGetStudyFromIdOrUuid()
public void checkGetStudyFromIdOrUuidNotFound()