|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.AttachmentsTester
public class AttachmentsTester
Constructor Summary | |
---|---|
AttachmentsTester(net.sourceforge.jwebunit.junit.WebTester webTester)
|
Method Summary | |
---|---|
void |
attachFile(java.io.File attachment)
|
void |
attachFile(java.io.File attachment,
java.lang.String comment)
Click the attach file link, attach a given file with a given comment and submit the attachment form. |
void |
attachFileWithName(java.lang.String fileName,
java.io.InputStream in,
java.lang.String comment)
Click the attach file link, attach a given file with a given comment and submit the attachment form. |
void |
createMail(java.io.File mail,
java.lang.String spaceKey,
java.lang.String spaceTitle)
Deprecated. since 5.2 Use MailArchivingHelper.importMail(java.io.File, String, String) |
static java.io.File |
generateAttachment(java.lang.String filename,
java.lang.String text)
|
static java.io.File |
generateLargeAttachment(java.lang.String filename,
long bytes)
|
void |
importMail(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
Deprecated. since 5.2 Use MailArchivingHelper.importMail(String, String, String) |
void |
importMailAndAssertNoRunningTask(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
Deprecated. since 5.2 Use MailArchivingHelper.importMailAndAssertNoRunningTask(String, String, String) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentsTester(net.sourceforge.jwebunit.junit.WebTester webTester)
Method Detail |
---|
public static java.io.File generateLargeAttachment(java.lang.String filename, long bytes)
public static java.io.File generateAttachment(java.lang.String filename, java.lang.String text)
public void attachFile(java.io.File attachment)
public void attachFile(java.io.File attachment, @Nullable java.lang.String comment)
attachment
- the file attachmentcomment
- the comment for the attachmentpublic void attachFileWithName(java.lang.String fileName, java.io.InputStream in, java.lang.String comment)
fileName
- the filename to attachin
- the stream to read the filecomment
- a comment for this attachment@Deprecated public void createMail(java.io.File mail, java.lang.String spaceKey, java.lang.String spaceTitle)
MailArchivingHelper.importMail(java.io.File, String, String)
@Deprecated public void importMail(java.lang.String filePath, java.lang.String spaceKey, java.lang.String spaceTitle)
MailArchivingHelper.importMail(String, String, String)
@Deprecated public void importMailAndAssertNoRunningTask(java.lang.String filePath, java.lang.String spaceKey, java.lang.String spaceTitle)
MailArchivingHelper.importMailAndAssertNoRunningTask(String, String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |