public class AttachmentServiceTests
extends java.lang.Object
| Constructor and Description | 
|---|
AttachmentServiceTests()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected IAttachment | 
getAttachmentService(SecurityContext context)  | 
protected IFileHosting | 
getFileHostingService()  | 
void | 
setup()  | 
void | 
tearDown()  | 
void | 
testDetachingAFile()  | 
void | 
testDetachingMultipleFilesWithSameFilename()  | 
void | 
testDetachingMultipleFilesWithSameFilenameWithoutExtension()  | 
void | 
testUnsharingAFileShouldDeleteFileInfoEntity()  | 
void | 
testUnsharingAFileShouldNotDeleteFile()  | 
public void setup()
           throws java.lang.Exception
java.lang.Exceptionprotected IFileHosting getFileHostingService() throws ServerFault
ServerFaultprotected IAttachment getAttachmentService(SecurityContext context) throws ServerFault
ServerFaultpublic void tearDown()
              throws java.io.IOException
java.io.IOExceptionpublic void testDetachingAFile()
                        throws java.lang.Exception
java.lang.Exceptionpublic void testDetachingMultipleFilesWithSameFilename()
                                                throws java.lang.Exception
java.lang.Exceptionpublic void testDetachingMultipleFilesWithSameFilenameWithoutExtension()
                                                                throws java.lang.Exception
java.lang.Exceptionpublic void testUnsharingAFileShouldDeleteFileInfoEntity()
                                                  throws java.lang.Exception
java.lang.Exceptionpublic void testUnsharingAFileShouldNotDeleteFile()
                                           throws java.lang.Exception
java.lang.ExceptionCopyright © 2021. All Rights Reserved.