|
||||||||||
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(File attachment)
|
void |
attachFile(File attachment,
String comment)
Click the attach file link, attach a given file with a given comment and submit the attachment form. |
void |
attachFileWithName(String fileName,
InputStream in,
String comment)
Click the attach file link, attach a given file with a given comment and submit the attachment form. |
void |
createMail(File mail,
String spaceKey,
String spaceTitle)
Deprecated. since 5.2 Use MailArchivingHelper.importMail(java.io.File, String, String) |
static File |
generateAttachment(String filename,
String text)
|
static File |
generateLargeAttachment(String filename,
long bytes)
|
void |
importMail(String filePath,
String spaceKey,
String spaceTitle)
Deprecated. since 5.2 Use MailArchivingHelper.importMail(String, String, String) |
void |
importMailAndAssertNoRunningTask(String filePath,
String spaceKey,
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 File generateLargeAttachment(String filename, long bytes)
public static File generateAttachment(String filename, String text)
public void attachFile(File attachment)
public void attachFile(File attachment, @Nullable String comment)
attachment
- the file attachmentcomment
- the comment for the attachmentpublic void attachFileWithName(String fileName, InputStream in, String comment)
fileName
- the filename to attachin
- the stream to read the filecomment
- a comment for this attachment@Deprecated public void createMail(File mail, String spaceKey, String spaceTitle)
MailArchivingHelper.importMail(java.io.File, String, String)
@Deprecated public void importMail(String filePath, String spaceKey, String spaceTitle)
MailArchivingHelper.importMail(String, String, String)
@Deprecated public void importMailAndAssertNoRunningTask(String filePath, String spaceKey, String spaceTitle)
MailArchivingHelper.importMailAndAssertNoRunningTask(String, String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |