public class ImportExportServiceTest
extends java.lang.Object
| Constructor and Description |
|---|
ImportExportServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
createStudyExportZipFile_shouldCallJsonAndZip_andReturnFile() |
void |
importStudy_newStudy_returnsExpectedJsonAndSetsSession() |
void |
importStudy_whenStudyExistsAndUserNotMember_forbidden() |
void |
importStudyConfirmed_createNewStudy_whenNotExisting_andRenameAssetsIfNeeded() |
void |
importStudyConfirmed_overwrite_existingStudy_forbidden() |
void |
importStudyConfirmed_overwriteExistingStudy_moveAssets_andUpdateWithoutDirName_whenKeepCurrentAssetsName() |
void |
importStudyConfirmed_throwsIfNoTempDirInSession() |
static void |
initStatics() |
void |
setup() |
static void |
tearDownStatics() |
public static void initStatics()
public static void tearDownStatics()
public void setup()
public void importStudy_newStudy_returnsExpectedJsonAndSetsSession()
throws java.lang.Exception
java.lang.Exceptionpublic void importStudy_whenStudyExistsAndUserNotMember_forbidden()
throws java.lang.Exception
java.lang.Exceptionpublic void createStudyExportZipFile_shouldCallJsonAndZip_andReturnFile()
throws java.lang.Exception
java.lang.Exceptionpublic void importStudyConfirmed_overwriteExistingStudy_moveAssets_andUpdateWithoutDirName_whenKeepCurrentAssetsName()
throws java.lang.Exception
java.lang.Exceptionpublic void importStudyConfirmed_createNewStudy_whenNotExisting_andRenameAssetsIfNeeded()
throws java.lang.Exception
java.lang.Exceptionpublic void importStudyConfirmed_throwsIfNoTempDirInSession()
throws java.lang.Exception
java.lang.Exceptionpublic void importStudyConfirmed_overwrite_existingStudy_forbidden()
throws java.lang.Exception
java.lang.Exception