|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.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
|
| Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
|---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
| 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 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 |
| 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 AbstractConfluenceAcceptanceTestExceptionprotected 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.MessagingExceptionprotected 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 javax.mail.internet.MimeMessage getReceivedMessage()
throws Exception
Exception
protected void tearDown()
throws Exception
AbstractConfluenceAcceptanceTestAbstractConfluenceAcceptanceTest.filesToDelete list.
tearDown in class AbstractConfluenceAcceptanceTestExceptionprotected void watchAsHtmlWithDiffs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||