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.Exception
protected IFileHosting getFileHostingService() throws ServerFault
ServerFault
protected IAttachment getAttachmentService(SecurityContext context) throws ServerFault
ServerFault
public void tearDown() throws java.io.IOException
java.io.IOException
public void testDetachingAFile() throws java.lang.Exception
java.lang.Exception
public void testDetachingMultipleFilesWithSameFilename() throws java.lang.Exception
java.lang.Exception
public void testDetachingMultipleFilesWithSameFilenameWithoutExtension() throws java.lang.Exception
java.lang.Exception
public void testUnsharingAFileShouldDeleteFileInfoEntity() throws java.lang.Exception
java.lang.Exception
public void testUnsharingAFileShouldNotDeleteFile() throws java.lang.Exception
java.lang.Exception
Copyright © 2021. All Rights Reserved.