|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.ThreadLocalWebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.AbstractNotificationsAcceptanceTest
public abstract class AbstractNotificationsAcceptanceTest
This is a bad way to share code between the various NotificationsAcceptanceTest. But it's faster to write than the right way. todo: Rewrite using delegation.
Field Summary | |
---|---|
protected UserProfile |
userProfile
|
Constructor Summary | |
---|---|
AbstractNotificationsAcceptanceTest()
|
Method Summary | |
---|---|
protected void |
assertStandardNotificationHeaders(javax.mail.internet.MimeMessage smtpMessage,
String toAddress,
String subject)
|
protected void |
assertStandardNotificationHeaders(javax.mail.internet.MimeMessage smtpMessage,
String toAddress,
String spaceTitle,
String pageTitle)
|
protected String |
getBody(javax.mail.internet.MimeMessage smtpMessage)
|
protected String |
getFirstRecipient(javax.mail.internet.MimeMessage smtpMessage)
|
protected String |
getPrefixedSubject(String subject)
|
protected javax.mail.internet.MimeMessage |
getReceivedMessage()
|
protected javax.mail.internet.MimeMessage[] |
getReceivedMessages()
|
protected String |
getSender(javax.mail.internet.MimeMessage smtpMessage)
|
protected void |
setDefaultNotificationOptionsForAdmin()
|
protected void |
setUp()
|
protected void |
tearDown()
Default tearDown method. |
protected void |
watchAsHtmlWithDiffs()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected UserProfile userProfile
Constructor Detail |
---|
public AbstractNotificationsAcceptanceTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractConfluenceAcceptanceTest
Exception
protected void setDefaultNotificationOptionsForAdmin()
protected void assertStandardNotificationHeaders(javax.mail.internet.MimeMessage smtpMessage, String toAddress, String spaceTitle, String pageTitle) throws javax.mail.MessagingException
javax.mail.MessagingException
protected void assertStandardNotificationHeaders(javax.mail.internet.MimeMessage smtpMessage, String toAddress, String subject) throws javax.mail.MessagingException
javax.mail.MessagingException
protected String getPrefixedSubject(String subject)
protected String getBody(javax.mail.internet.MimeMessage smtpMessage) throws Exception
Exception
protected String getFirstRecipient(javax.mail.internet.MimeMessage smtpMessage) throws javax.mail.MessagingException
javax.mail.MessagingException
protected String getSender(javax.mail.internet.MimeMessage smtpMessage) throws javax.mail.MessagingException
javax.mail.MessagingException
protected javax.mail.internet.MimeMessage getReceivedMessage() throws Exception
Exception
protected javax.mail.internet.MimeMessage[] getReceivedMessages() throws Exception
Exception
protected void tearDown() throws Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
Exception
protected void watchAsHtmlWithDiffs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |