Package com.atlassian.confluence.it.mail
Class MailHelper
- java.lang.Object
-
- com.atlassian.confluence.it.mail.MailHelper
-
@Deprecated public class MailHelper extends Object
Deprecated.Client side utility class to create mail imports for testing.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
Deprecated.
-
Constructor Summary
Constructors Constructor Description MailHelper(ConfluenceRpc rpc, net.sourceforge.jwebunit.junit.WebTester tester)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
createMail(File mail, String spaceKey)
Deprecated.void
importMail(String filePath, String spaceKey)
Deprecated.Creates mails in the specified space.void
importMailAndAssertNoRunningTask(String filePath, String spaceKey)
Deprecated.Creates mails in the specified space and then checks if it successfully moved to the No Long Running Task page.
-
-
-
Constructor Detail
-
MailHelper
public MailHelper(ConfluenceRpc rpc, net.sourceforge.jwebunit.junit.WebTester tester)
Deprecated.
-
-
Method Detail
-
importMail
public void importMail(String filePath, String spaceKey)
Deprecated.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
-
importMailAndAssertNoRunningTask
public void importMailAndAssertNoRunningTask(String filePath, String spaceKey)
Deprecated.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
-
-