public class AttachmentServiceTests
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected static java.lang.String | 
domainName  | 
| Constructor and Description | 
|---|
AttachmentServiceTests()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected IAttachment | 
getAttachmentService(SecurityContext context)  | 
protected IFileHosting | 
getFileHostingService(SecurityContext context)  | 
void | 
setup()  | 
void | 
tearDown()  | 
void | 
testDetachingAFile()  | 
void | 
testDetachingDedup()  | 
void | 
testDetachingMultipleFilesWithSameFilename()  | 
void | 
testDetachingMultipleFilesWithSameFilenameWithoutExtension()  | 
void | 
testUnsharingAFileShouldDeleteFileInfoEntity()  | 
void | 
testUnsharingAFileShouldNotDeleteFile()  | 
protected static final java.lang.String domainName
public void setup()
           throws java.lang.Exception
java.lang.Exceptionprotected IFileHosting getFileHostingService(SecurityContext context) 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 testDetachingDedup()
                        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 © 2023. All Rights Reserved.