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.Exception
protected IFileHosting getFileHostingService(SecurityContext context) 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 testDetachingDedup() 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 © 2023. All Rights Reserved.