com.atlassian.confluence.it.api
Class TestAttachmentFactory
java.lang.Object
com.atlassian.confluence.it.api.TestAttachmentFactory
public class TestAttachmentFactory
- extends Object
Assists with creation of Attachments for acceptance tests.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAttachmentFactory
public TestAttachmentFactory(AttachmentService service)
addAttachments
public List<Content> addAttachments(int numFiles)
throws IOException,
ServiceException
- Throws:
IOException
ServiceException
addAttachment
public Content addAttachment()
throws IOException,
ServiceException
- Throws:
IOException
ServiceException
addAttachments
public PageResponse<Content> addAttachments(int numFiles,
javax.ws.rs.core.MediaType contentType)
throws IOException,
ServiceException
- Throws:
IOException
ServiceException
makeUploads
public List<AttachmentUpload> makeUploads(int numFiles,
javax.ws.rs.core.MediaType contentType)
throws IOException
- Throws:
IOException
Copyright © 2003–2015 Atlassian. All rights reserved.