com.atlassian.confluence.it.api
Class TestAttachmentFactory
java.lang.Object
com.atlassian.confluence.it.api.TestAttachmentFactory
public class TestAttachmentFactory
- extends java.lang.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 java.util.List<Content> addAttachments(int numFiles)
throws java.io.IOException,
ServiceException
- Throws:
java.io.IOException
ServiceException
addAttachments
public PageResponse<Content> addAttachments(int numFiles,
javax.ws.rs.core.MediaType contentType)
throws java.io.IOException,
ServiceException
- Throws:
java.io.IOException
ServiceException
makeUploads
public java.util.List<AttachmentUpload> makeUploads(int numFiles,
javax.ws.rs.core.MediaType contentType)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2003-2014 Atlassian. All Rights Reserved.