com.atlassian.confluence.it.mail
Class MailHelper
java.lang.Object
com.atlassian.confluence.it.mail.MailHelper
public class MailHelper
- extends Object
Client side utility class to create mail imports for testing.
Field Summary |
protected org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final transient org.slf4j.Logger log
MailHelper
public MailHelper(ConfluenceRpc rpc,
net.sourceforge.jwebunit.junit.WebTester tester)
importMail
public void importMail(String filePath,
String spaceKey)
- Creates mails in the specified space. Mail import can be done with an Mbox file or single mail.
No explicit assertions are made by this method.
- Parameters:
filePath
- the file path to the mailboxspaceKey
- the space key to import into
createMail
public void createMail(File mail,
String spaceKey)
importMailAndAssertNoRunningTask
public void importMailAndAssertNoRunningTask(String filePath,
String spaceKey)
- Creates mails in the specified space and then checks if it
successfully moved to the No Long Running Task page.
Mail import can be done with an Mbox file or single mail.
- Parameters:
filePath
- the file path to the mailboxspaceKey
- the space key to import into
Copyright © 2003-2012 Atlassian. All Rights Reserved.