com.atlassian.confluence.it.mail
Class MailArchivingHelper
java.lang.Object
com.atlassian.confluence.it.mail.MailArchivingHelper
public class MailArchivingHelper
- extends java.lang.Object
Provides helper functions for testing the Mail Archiving plugin. Takes a 1-2s to initialise, so don't do it too
lightly.
Method Summary |
void |
deleteExistingMail(Space space)
|
static java.lang.String |
getMailImportUrl(java.lang.String spaceKey)
|
void |
goToAddMailAccount(Space space)
|
void |
gotoListMailAccountsPage(java.lang.String spaceKey)
|
void |
gotoMailArchivePage(Space space)
|
void |
gotoMailArchivePage(java.lang.String spaceKey,
java.lang.String spaceTitle)
|
void |
importMail(java.io.File mail,
java.lang.String spaceKey,
java.lang.String spaceTitle)
|
void |
importMail(java.lang.String filePath,
Space space)
|
void |
importMail(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
|
void |
importMailAndAssertNoRunningTask(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
|
void |
importMailFromServer(java.io.File mail,
java.lang.String spaceKey,
java.lang.String spaceTitle)
|
void |
importMailFromServer(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
|
static MailArchivingHelper |
init(ConfluenceRpc rpc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public static MailArchivingHelper init(ConfluenceRpc rpc)
gotoMailArchivePage
public void gotoMailArchivePage(Space space)
gotoMailArchivePage
public void gotoMailArchivePage(java.lang.String spaceKey,
java.lang.String spaceTitle)
deleteExistingMail
public void deleteExistingMail(Space space)
throws java.lang.Exception
- Throws:
java.lang.Exception
goToAddMailAccount
public void goToAddMailAccount(Space space)
gotoListMailAccountsPage
public void gotoListMailAccountsPage(java.lang.String spaceKey)
importMail
public void importMail(java.io.File mail,
java.lang.String spaceKey,
java.lang.String spaceTitle)
importMailFromServer
public void importMailFromServer(java.io.File mail,
java.lang.String spaceKey,
java.lang.String spaceTitle)
importMail
public void importMail(java.lang.String filePath,
Space space)
importMailFromServer
public void importMailFromServer(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
importMail
public void importMail(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
getMailImportUrl
public static java.lang.String getMailImportUrl(java.lang.String spaceKey)
importMailAndAssertNoRunningTask
public void importMailAndAssertNoRunningTask(java.lang.String filePath,
java.lang.String spaceKey,
java.lang.String spaceTitle)
Copyright © 2003-2013 Atlassian. All Rights Reserved.