|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jwebunit.junit.WebTestCase
com.atlassian.confluence.AbstractAtlassianWebTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.NotificationContentsAcceptanceTest
public class NotificationContentsAcceptanceTest
Tests the contents and headers of email notifications
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
---|
tester |
Constructor Summary | |
---|---|
NotificationContentsAcceptanceTest()
|
Method Summary | |
---|---|
static void |
assertPortAvailable(int port)
Ensures the specified TCP port is available to open a socket. |
protected void |
setUp()
Default setUp method. |
protected void |
tearDown()
Default tearDown method. |
void |
testAddCommentLinksHiddenToUnpermittedUsersOnPageEditNotifications()
|
void |
testAddCommentLinksVisibleToPermittedUsersOnPageEditNotifications()
|
void |
testBaseUrlVariableRenderedInHtmlChangeDigest()
|
void |
testDailyDigestIsNotSentWhenThereAreNoVisibleChanges()
|
void |
testEditSpaceNotificationI18n()
|
void |
testEmptyTextChangeDigest()
|
void |
testHtmlAttachmentRemovalNotification()
Tests that when an attachment is removed, the notification generated contains the appropriate names. |
void |
testHtmlBlogRemovalNotification()
Tests that when a blogpost is removed, the notification generated contains the appropriate names. |
void |
testHtmlChangeDigestWithUsernameLinks()
|
void |
testHtmlCommentNotification()
|
void |
testHtmlCommentRemovalNotification()
Tests that when a comment is removed, the notification generated contains the appropriate names. |
void |
testHtmlPageRemovalByWebNotification()
Tests that when a page is removed, the notification generated contains the appropriate names. |
void |
testPasswordResetEmailNotification()
|
void |
testTextAttachmentRemovalNotification()
Tests that when an attachment is removed, the notification generated contains the appropriate names. |
void |
testTextBlogCreationNotification()
Tests notification on blog post creation. |
void |
testTextBlogRemovalByAnonymousNotification()
Tests that when a blog post is removed by an the anonymous user, the notification generated contains the appropriate names. |
void |
testTextCommentRemovalNotification()
Tests that when a comment is removed, the notification generated contains the appropriate names. |
void |
testTextPageRemovalByRpcNotification()
Tests that when a page is removed by RPC, the notification generated contains the appropriate names. |
Methods inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
---|
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementPresent, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertImagePresent, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithText, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextPresent, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributByXPath, getElementTextByXPath, getFormElementValue, getImage, getMessage, getMessage, getPageSource, getServeurResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, reset, runBare, saveAs, selectOption, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setScriptingEnabled, setTestContext, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox |
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 |
Constructor Detail |
---|
public NotificationContentsAcceptanceTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
AbstractConfluenceAcceptanceTest
setUp
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
public static void assertPortAvailable(int port) throws junit.framework.AssertionFailedError
port
- the port to check
junit.framework.AssertionFailedError
- if the port can't be opened successfullyprotected void tearDown() throws java.lang.Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
public void testEmptyTextChangeDigest() throws java.lang.Exception
java.lang.Exception
public void testBaseUrlVariableRenderedInHtmlChangeDigest() throws java.lang.Exception
java.lang.Exception
public void testDailyDigestIsNotSentWhenThereAreNoVisibleChanges() throws java.lang.Exception
java.lang.Exception
public void testHtmlChangeDigestWithUsernameLinks() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testAddCommentLinksHiddenToUnpermittedUsersOnPageEditNotifications() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testAddCommentLinksVisibleToPermittedUsersOnPageEditNotifications() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testEditSpaceNotificationI18n() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testPasswordResetEmailNotification() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testHtmlCommentNotification() throws java.lang.Exception
java.lang.Exception
public void testHtmlCommentRemovalNotification() throws java.lang.Exception
java.lang.Exception
public void testTextCommentRemovalNotification() throws java.lang.Exception
java.lang.Exception
public void testHtmlPageRemovalByWebNotification() throws java.lang.Exception
java.lang.Exception
public void testTextPageRemovalByRpcNotification() throws java.lang.Exception
java.lang.Exception
public void testHtmlBlogRemovalNotification() throws java.lang.Exception
java.lang.Exception
public void testTextBlogRemovalByAnonymousNotification() throws java.lang.Exception
java.lang.Exception
public void testTextBlogCreationNotification() throws java.lang.Exception
java.lang.Exception
public void testHtmlAttachmentRemovalNotification() throws java.lang.Exception
java.lang.Exception
public void testTextAttachmentRemovalNotification() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |